Glenn_32974
Oct 13, 2010Nimbostratus
How to check pool availability whit-in an irule
This might be a simple question for you all but I was wondering if there's a way to re-direct traffic to a different pool in case Pool used with-in an irule declaration happens to be down?
Can you check for pool availability within the irule?
let say I have the following irule that directs traffic based on client ip address
What happenss in the event Pool_Global is down?
When CLIENT_ACCEPTED{
if {[IP::addr [IP::client_addr] eq "10.44.17.9" {
use pool Pool_Global
if pool Pool_Global is down...
use pool Pool_other
}
}
makes sense?