Forum Discussion
Richard_D
Sep 10, 2021Altostratus
Specify node based on Client IP, but what if that node is down?
I been trying to figure this out and unable to find an exact answer. I have multiple unknown clients connecting to a virtual address. I also have 2 known clients connecting to the same address. I wan...
iaine
Sep 14, 2021Nacreous
Hi
You could use LB::status for this. So before you send the client to the node, check to see if it is up. If it is then send to the node otherwise do something else. Something like...
if {[IP::addr [IP::client_addr] equals 172.1.1.1] } {
if {[LB::status node 1.1.1.1] eq "up"} {
node 1.1.1.1 60006 } else {
#Do something
}
}
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