Forum Discussion
Glenn_32974
Nimbostratus
Oct 13, 2010How 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?
- Ben_95489
Nimbostratus
Hey Glenn, - hoolio
Cirrostratus
You can also check whether a pool has any active members using [active_members $pool_name]: - Glenn_32974
Nimbostratus
Hey Ben
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects