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?
C...
Glenn_32974
Nimbostratus
Oct 14, 2010Hey Ben
Thanks a lot for pointing the right direction. In consequence I was able to achieved pool member availability within the irule
when CLIENT_ACCEPTED {
switch [IP::client_addr] {
"10.44.17.12" {
if {[LB::status node 190.144.35.15] eq "up"}{
rateclass Factura_Digital
snatpool Factura_Electronica_aivmso_Telmex
use pool Pool_Telmex
log local0. "IP address : [IP::client_addr] - aivmso going out via [LB::server addr] Telmex!!! "
} else {
rateclass Factura_Digital
snatpool Factura_Electronica_aivmso_Global
use pool Pool_Global
log local0. "IP address: [IP::client_addr] - aivmso going out via [LB::server addr] Global !!!"
}
}
be safe!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
