Forum Discussion
How to control pool selection in VS when you have more than one pool?
i have found a way to do this....thank you again for all your help...
when CLIENT_ACCEPTED { set first-octet [expr {[getfield [IP::client_addr] "." 1]}] if { [$first-octet <=128] { set DC_LOCATION 1} elseif { set DC_LOCATION 2} if { $::DC_LOCATION == 1 } and ([active_members pool_1] >= 1){ pool pool_1 persist source_addr } elseif { $::DC_LOCATION == 2 } and ([active_members pool_2] >= 1) pool pool_2 persist source_addr } elseif { ([active_members pool_1] >= 1) pool pool_1 persist source_addr } elseif { ([active_members pool_2] >= 1) pool pool_2 persist source_addr } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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