Hello,
I have following scenario: 4 pool members - 3 of them with priority 2 and 1 with priority 1. I want all traffic to go to higher priority group and with an iRule, I want to forward traffic from one specific source IP to lower priority group member. As I cannot this test in advance I’d like to ask if it will work before I’ll start with implementation .
iRule would be:
when CLIENT_ACCEPTED {
if { [LB::status pool $poolname member $ip $port] eq "up"} {
if { [IP::addr [IP::client_addr] equals 192.168.1.1] } {
pool $poolname member $ip $port
}
}
}
that should work fine my only concern is if F5 won’t have problem to send the traffic to lower priority group member when there are available members in higher priority group.
Thanks