Forum Discussion
Dazzla_20011
Feb 25, 2011Nimbostratus
i-rule to force traffic to one Pool Member unless it fails
Hi,
I've a pool containing two bluecoat proxies which are load balanced using Dynamic Raio (member) and source ip persistence of 10 hours. I have a requirement to force traffic going to a pa...
hooleylist
Mar 01, 2011Cirrostratus
Here is a slightly more efficient version with a few typos fixed:
when CLIENT_ACCEPTED {
Check to see if the IP matches an one in a group and that the member is up. before sending it directly to that member.
if { [class match [IP::client_addr] equals "ServerGroup" ] }{
if { [LB::status pool Pool1 member 10.1.2.3 80] ne "down" } {
pool Pool1 member 10.1.2.3 80
Exit this event from this rule
return
} elseif {[LB::status pool Pool1 member 10.1.2.4 80] ne "down" } {
pool Pool1 member 10.1.2.4 80
Exit this event from this rule
return
}
}
Default to load balancing all users
pool Pool1
}
Aaron
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