Forum Discussion
Deb_Allen_18
Jun 09, 2005Historic F5 Account
finding ACTIVE unit
Hi guys -
My customer has an iControl app which, in 4.x, hit the floating self-IP to manage node status on the Active unit only (for maintenance).
We have upgraded to v9 and ported the iControl app, but there is no longer a floating IP for the admin interface and apparently the floating self-IPs cannot be used for admin anymore (I have opened a Support case on that to confirm).
We're thinking that we'll work around that change by adding a test for failover status after connecting to the first unit, and if it's Standby, drop and connect to the Active peer instead.
I'm not at all familiar with the v9 API, but I'm sure there must be a pretty simple way to test failover status. Can somebody provide a hint on the call(s) we'd need to use?
Or is there a better approach?
thx
/deb
- Not sure what to advise on the floating ip running on the admin port. As far as I can tell, that isn't possible but I could be wrong. You might try asking product support on that one.
enum FailoverState { FAILOVER_STATE_STANDBY = 0, FAILOVER_STATE_ACTIVE = 1 }; FailoverState System::Failover::get_failover_state();
- Craig_Hammer_10
Nimbostratus
Has anyone done a similar solution with v.9 in an active/active failover setup? If everything is working well, both devices will show ACTIVE, so I would need to perform a 2nd check to determine which Unit ID the Virtual Server or it's VLAN are assigned to?
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