Forum Discussion

David_Trott's avatar
David_Trott
Icon for Nimbostratus rankNimbostratus
Jul 20, 2010

iControl 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

  • 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
  • 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