28-Nov-2012 03:02
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 server
The idea is that i want when master server is back , all coming connections needs to be sent to master ( even if it was sent to backup ) .
This is UDP traffic
28-Nov-2012 03:05
28-Nov-2012 03:20
when CLIENT_DATA {
if { [active_members main_pool] != 0 } {
pool main_pool
}
else {
pool backup_pool
}
}
28-Nov-2012 03:25
sol3605: Configuring the BIG-IP system to load balance UDP packets individually
http://support.f5.com/kb/en-us/solutions/public/3000/600/sol3605.html
28-Nov-2012 03:32
Hi nitass , do you mean that LB Datagram option will instruct F5 not create connection table for UDP ?
28-Nov-2012 03:37
28-Nov-2012 03:39
if you do not want bigip to create connection entry, you can set idle timeout immediate in udp profile but you have to create another virtual server to handle return packet.
28-Nov-2012 03:49
CLIENT_DATA is triggered with each UDP segment , does this mean each UDP packet receive from the connecting user ?
28-Nov-2012 03:50
11-Jul-2013 20:22
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
11-Jul-2013 20:55
ID420176 - UDP irule command pool in client_data will be no effect even in datagram_LB mode
11-Jul-2013 22:45
i c. thx very much!