Forum Discussion
LTM load balancing source server to destination server primary/backup
Hi There,
Within F5, what would be the best solution ( or does anyone have any similar scenarios) for the below requirements?
Two source servers ( X, Y) need to target one VIP ( A) which contains two servers ( B, C).
X needs to hit A, then be directed to B unless this is marked down in which it will then go to C.
Y needs to hit A, then be directed to C unless this is marked down in which it will then go to B.
Thanks in advance!
3 Replies
- Vitaliy_Savrans
Nacreous
Hi,
you can reach this:
- Create 3 pools: 1 - for all unspecified connection, 2 - pool for X with priority group activation server B with higher priority, 2 - pool for Y with priority group activation server C with higher priority.
- Define pool_1 as default for VIP.
-
Use irule for redirection servers X,Y to pools:
when HTTP_REQUEST { if { [IP::addr [IP::client_addr] equals X_ip] } { pool pool_X } else if { [IP::addr [IP::client_addr] equals Y_ip] } { pool pool_Y } }
- Vitaliy_Savrans
Nacreous
Condition for priority group activation is "Less than 1"
- Sam_Doherty_179
Nimbostratus
Thanks for your feedback. This was my draft design I came up with, I just wanted to make sure there were no simpler options - thanks!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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