Forum Discussion
Oliver_Grist_68
Sep 21, 2011Nimbostratus
f5 failover pair determine which is active and passive
Hi all,
I have managed to pull a variety of details using the API to basically replicate the "Network Map" view from the GUI.
I have done this with a hardcoded username, password and IP.
For testing this worked great, but now how do I determine which F5 is active and which is passive (from our failover pair). I am sure this is possible, what am I overlooking?
Ties into this question: http://devcentral-sea.f5.com/Community/GroupDetails/tabid/1082223/asg/39/aft/7552/showtab/groupforums/Default.aspx
thanks,
Oli
- Jonathan_ScholiCirrostratusYou can do this with System.Failover.get_failover_state. There is some example code here:
- Oliver_Grist_68NimbostratusBrilliant thanks. Exactly what I needed.
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