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 } }
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…
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.