Forum Discussion

Sunit_Tailor_84's avatar
Sunit_Tailor_84
Icon for Nimbostratus rankNimbostratus
Oct 11, 2006

JAVA API Variable to check BigIP is Active or Standby

Hi,

 

I would like to put a logic in my program which will key off using status of BigIP device (Active or Standby). I am using JAVA API. I would appreciate if you let me know how to query this status of BigIP device.

 

 

Thanks,
  • Hello,

     

     

    I do not have a JAVA code example to share, but the System.Failover interface has a get_failover_state method which will return a '1' if the device is active, and a '0' if it is standby.

     

     

    Hope this helps,

     

    Scott H.