Forum Discussion
Mohit_Rathee
Nimbostratus
Feb 22, 2019Default Pool Selection if irule selected pool is down.
We have a applied a irule to VS who selects a pool X with a single node X based on HTTP header.
My question is that if node X is down which in turn make the pool down ,will the traffic will be direc...
Andy_McGrath
Cumulonimbus
Feb 23, 2019If you select a pool and it is down, has no members, you will trigger a LB_FAIL event. There is no intelligence in the pool command.
You need to use the active_members command.
when CLIENT_ACCEPTED {
if { ([IP::addr [IP::client_addr]/24 equals 10.10.1.1]) && ([active_members Pool_X] > 0)} {
pool Pool_X
}
}
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