Forum Discussion
Except member in the pool for load balance
- Nov 18, 2019
If you have to test something, do not put that member as part of original pool.
But rather, create another pool for testing and use datagroup for whitelisting your IP, so that only you can access it.
Other should be landing to the original pool where 3 members alone are put.
when CLIENT_ACCEPTED { if { [class match [IP::client_addr] equals your_DGL] } { pool testing_pool_name } else { pool original_pool } }
,
If you dont want that particular member to load balance, why do you still need it on the pool. Any reason.
Why not delete it or keep it in disabled state.
Thank you for answer
because i have to use member 1 to test other systems but with the same URL.
And connect to only the IP group
- jaikumar_f5Nov 18, 2019
Noctilucent
If you have to test something, do not put that member as part of original pool.
But rather, create another pool for testing and use datagroup for whitelisting your IP, so that only you can access it.
Other should be landing to the original pool where 3 members alone are put.
when CLIENT_ACCEPTED { if { [class match [IP::client_addr] equals your_DGL] } { pool testing_pool_name } else { pool original_pool } } - newDemNov 19, 2019
Nimbostratus
Thank you for example
I want to know it can be done? if in same pool. i try tested according your script it work thank you again.
I try this script as below, but function else it will select only 1 member to connect, not distributing traffic to other member
when CLIENT_ACCEPTED { if { [IP::addr [IP::client_addr] equals 10.1.1.x/24] } { pool my_pool member 192.168.1.1 80 } else { [pool my_pool member 192.168.1.2 80] or [pool my_pool member 192.168.1.3 80] or [pool my_pool member 192.168.1.4 80] } }
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
