For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

marlon_frank_11's avatar
marlon_frank_11
Icon for Nimbostratus rankNimbostratus
Sep 26, 2014

how to mark a pool down based on nodes's availability

hi, just trying to create an irule to monitor my nodes availability where if I have any pool member with less than 2 nodes up and running I mark the whole pool as down (GTM would redirect requests to the other datacenter with the same pool / nodes configured). 3) iRule1->VS1: when HTTP_REQUEST { if { ([active_members pool1] < 2) } { mark pool down } }

 

Any ideas?

 

4 Replies

  • the reason being is simply because once single node has listeners on many different ports such as http, https and ftp however I don't want to allow them to server client. I would rather mark the pool down and then GTM would divert traffic to our another datacenter...
  • Hi Marlon,

     

    You could do this without an iRule like this.

     

    Create monitors for your back end servers. You'd need to set the Alias address to the real address of the servers rather than *All Addresses in each monitor.

     

    Assign all of the monitors to your pool

     

    Set the Availability Requirmeent to be At Least 3.

     

    Stewart.