Forum Discussion
blwavg_10621
Nimbostratus
Jan 19, 2014Client Select iRule Failing to Compile
I am trying to have a source address go to a specific member if the node is up, if not then just be sent to the pool. I came up with this but ran into errors. Any ideas?
set $pool test_pool
set $m...
nathe
Cirrocumulus
Jan 19, 2014Try this instead:
when CLIENT_ACCEPTED {
set pool test_pool
if {[IP::addr [IP::client_addr] equals 10.10.2.20]}{
if {[LB::status pool $pool member 198.168.192.168 443] eq "up"}{
pool $pool member 192.168.192.168 443
} else {
pool $pool
}
}
}
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