Forum Discussion
khtchan00_50916
Nimbostratus
May 22, 2008How can I get the Failover State by iControl API ?
I want to use the method "get_failover_stateResponse" to get the appliance's HA status, but don't know how to get the result. The return value is always "1".
Don_MacVittie_1
May 22, 2008Historic F5 Account
Hi khtchan,
One means it is the active box. It will always be 1 if this is a standalone BIG-IP, and will be one if this is the primary and has not failed over. If it is the secondary before failover or the primary after failover, you should be getting zero back.
If that is not the case, then I would start by checking the is_redundant() call to make certain the BIG-IP knows it's part of a pair, and then checking get_failover_mode to see which mode it thinks it's running in. If is_redundant returns false or get_failover_mode returns ACTIVE, then there is something else going on.
Hope that helps!
Don.
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