Forum Discussion
hooleylist
May 18, 2011Cirrostratus
Something like this?
when CLIENT_ACCEPTED {
if {[active_members [LB::server pool]] < 1}{
TCP::respond "my service down message"
}
}
And here are the related wiki pages:
http://devcentral.f5.com/wiki/default.aspx/iRules/active_members
http://devcentral.f5.com/wiki/default.aspx/iRules/lb__server
http://devcentral.f5.com/wiki/default.aspx/iRules/tcp__respond
Aaron