Forum Discussion
Lee_Sutcliffe
Nov 08, 2017Nacreous
iRules don't execute on pool members going down, they are event driven based on traffic traversing the device. However you can check the status of the pool in CLIENT_ACCEPTED (TCP handshake would need to be completed before the pool members are checked) such as using
active_members
to see see if the number of active members has changed or below a threshold.
when CLIENT_ACCEPTED {
if { [active_members http_pool] >= 2 } {
pool http_pool
}
}
Are you able to elaborate anymore on your requirement?