Forum Discussion
SSHSSH_97332
Nimbostratus
Nov 28, 2012IRule for UDP Traffic
i have pool with 2 memebrs , priority group activation is enabled
one server is master & one is backup
if master went down , monitor marks it down & traffic is sent to the other backup ser...
Cityforest_1627
Nimbostratus
Jul 11, 2013Posted By What Lies Beneath on 11/28/2012 04:20 AM
If you create two separate pools and place one member in each, this will work just fine providing you assign the 'main' pool as the default pool for the VS and disable the slow ramp time and priority group activation for each pool;
when CLIENT_DATA { if { [active_members main_pool] != 0 } { pool main_pool } else { pool backup_pool } }
Hi steve,
We made a simple test. It seemed that the "pool" command could not work in CLIENT_DATA event, it can only work in CLIENT_ACCEPT event.
Below is irule for testing. The test was made in BIG-IP with version 11.3. Any suggestions? thx!
when CLIENT_ACCEPTED {
log local0. "CLIENT_ACCEPTED: from [IP::client_addr]:[UDP::client_port] to vip [IP::local_addr]:[UDP::local_port]" pool Pool1 } when CLIENT_DATA { log local0. "CLIENT_DATA: from [IP::client_addr]:[UDP::client_port] to vip [IP::local_addr]:[UDP::local_port]" pool Pool2 }All traffics were sent to Pool1
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