Forum Discussion

Vinoth_96603's avatar
Vinoth_96603
Icon for Nimbostratus rankNimbostratus
Jun 02, 2010

How to capture server startup or shutdown event?

Hi,

 

 

I need to capture the startup or shutdown event happening in the servers connected to BIG-IP v10.x. Using the iControl::GlobalLB and iControl::LocalLB interfaces, I'm getting the statistical information for all WideIp, Pool, PoolMember, Server, etc. Along with the statistical information, is it possible to get the startup and shudown events happening in the servers? If so, which interface or methods I need to use to capture that information. Could someone please help me out with it?

 

 

Note:

 

I'm getting the statistical information for all WideIp, Pool, etc., using a Java application. Along with statistical information, I need to capture the startup and shutdown events using the Java application.

 

2 Replies

  • you cannot really capture the actual shutdown or startup of your SERVERS using BIG-IP. You can set up monitors (for example ICMP ping or HTTP GET) which will periodically check the CONNECTIVITY between the BIG-IP and the nodes/servers. I.e. if a server suddenly stops responding to a ping command it could be because of many reasons, one of them is that it has been shut down, crashed, disconnected from the network either logically (somebody changed the firewall rules) or physically( somebody pulled the network cable out of the socket)

     

     

    Assign a monitor to your Nodes (servers) and then periodically query the monitor status using LocalLB::NodeAddress->get_monitor_status.

     

     

     

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    However... There usually is one... With control you can registervfor events to be sent to you via the control interface. If the events youbrequire are simply when the bigip detects the servers going up/down because of the monitors you can capture these via the management events interface of icontrol.