Forum Discussion
David_Trott
Nimbostratus
Jul 20, 2010iControl HA using a virutal server on the management interface
Hey,
We run pairs of LTM's for HA purposes we are working on an automation system to re-configure them via iControl.
However we need to connect to the active LTM when we push new configurations.
Is it possible to create a Virtual Server configuration such that whichever node is active will be the active pool member of the VS.
Hence we don't need to create any special handling in our iControl code (we just connect to the VS).
Thanks,
David
2 Replies
- hoolio
Cirrostratus
Hi David,
Most LTM implementations use at least one floating self IP address for handling traffic routing through LTM. Only the active LTM unit will answer for floating self IP addresses. You might be able to use the floating self IP address (or one of them if you have multiple) to ensure you're always connecting to the active unit.
Aaron - samstep
Cirrocumulus
I can only add that in case if you do decide to do it in iControl it is not that difficult to determine the active unit in the HA pair. Simply call System.Failover.get_failover_state() method. If it returns 1 (or FAILOVER_STATE_ACTIVE) the unit is Active
http://devcentral.f5.com/wiki/default.aspx/iControl/System__Failover__get_failover_state.html
Sam
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