Posted 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