Forum Discussion
Glenn_32974
Oct 14, 2010Nimbostratus
Hey 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!