Forum Discussion
SW_159148
Nimbostratus
Oct 29, 2014Balancing two Front End to two Back End servers
I have a configuration with two front end servers(Front1 & Front2) that communicate to virtual servers that load balances across two backend servers(Back1 & Back2) for a non-stand TCP ports, SQL, and...
Jason_40733
Cirrocumulus
Oct 29, 2014For option 1, if you create two pools with priority group activation you'll get a simple iRule with low overhead.
Pool1 primary back1, secondary back2
Pool2 primary back2, secondary back1
Then in the iRule just split by IP of the incoming client to pool1/pool2.
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals "10.10.10.1"] } {
pool pool1
} elseif { [class match [IP::client_addr] equals "10.10.10.2"] } {
pool pool2
} else {
drop
}
}
Something like that might work. Option 2 I'm not as familiar with catching the change in status using an iRule. Probably could be done easily.. I just haven't done it.
Jason
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
