Forum Discussion
Derek_21893
Nimbostratus
Aug 06, 2009Discovery of failover peer using iControl
Hi,
I'd like to be able to discover a failover peer for an active-active or active-standby pair of LTMs using iControl. From what I can tell there is no good way to do this currently. ...
Alok_3817
Nimbostratus
Apr 08, 2010I think, this can be easily achieved
use the iControl API
Step 1: Connect to a box using iControl
Step 2: get_failover_state , It will respond 1 for Active and 0 for the Standby
Step 3: get_peer_address, It will give you the IP address for Peer
Step 4: Connect to the IP address that ou just got , using iControl
Step 5: get_failover_state, you will get the response
If the response got from step 2 and step 5 are "1" then it is Active Active config, if not, its active standby.
You could chose to add the "is_redundant" before the script gets into all the computation. I think this is logically consistant.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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