Jan 27, 2010
Server Monitor Flapping
I was wondering if there was something one could do to remove a member out of a pool after a repeated up/down state in a certain period of time?
Thanks!
when HTTP_RESPONSE {
Check if response code is a 503
if { [HTTP::status] == 503 } {
Mark current server down
LB::down
}
}
when LB_FAILED {
Mark current server down
LB::down
}
For info on the LB_FAILED event, you can check the wiki page:
http://devcentral.f5.com/wiki/default.aspx/iRules/lb_failed
Aaron