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...
Steve_Brown_882
Feb 26, 2011Historic F5 Account
Hi the way I read your problem you could continue to use 1 virtual server and just apply an irule similar to the one below. This would send your servers to one specific proxy unless it was down and continue load balance all of your users.
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" ] and [[LB::status pool Pool1 member 10.1.2.3 80] ne "down" }] {
pool Pool1 member 10.1.2.3 80]
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.
} elseif [class match [IP::client_addr] equals "ServerGroup" ] and [[LB::status pool Pool1 member 10.1.2.4 80] ne "down" }] {
pool Pool1 member 10.1.2.4 80]
Default to load balancing all users
} else {
pool Pool1
}
}
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