Forum Discussion
Mike_Thompson_9
Nimbostratus
Mar 30, 2007Active Passive Member Problem
For some reason, when I call the get_failover_state method from the System module, I am getting the same result for each device.
I always get FAILOVER_STATE_STANDBY. However, if I login in ...
Mar 30, 2007
Obvious question first: are you sure you are updating the URL to each server and all requests aren't going through a shared management address? You can tell this by looking at the apache logs (/var/log/http/access_log) on each server.
If that isn't the case then here's some background:
The implementation for this method does a database lookup for the following key: "failover.bigipunitmask". If the db key does not exist -or- the value is 0 (or access to the db fails), the returned value from the method will be FAILOVER_STATE_STANDBY, otherwise it will return FAILOVER_STATE_ACTIVE.
If you have access to your BIG-IP, you can run the following command to from the CLI to get that db key
$ b db failover.bigipunitmask
If you find that the values are different for your separate systems, but the iControl interface is still returning FAILOVER_STATE_STANDBY, you'll likely need to open a support ticket with Product Support to find out what is going on. If the dbkey for each system is 0 or non-existant, then something is amiss with your configuration.
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
