Forum Discussion
Active/Passive VIP - 2 different DC's
- Apr 19, 2017
Suppose you have 2 group Servers. DC1 Servers & DC2 Server. On Priority Group Activation
Commom_pool_DC Method: Load Balancing Method & Priority Group Activation (1) Available Member
1) x.x.x.x:xx Priority 10
2) x.x.x.y:xx Priority 10 3) x.x.x.y:xx Priority 104) a.a.a.a:pp Priority 20 5) a.a.a.a:pp Priority 20 6) a.a.a.a:pp Priority 20
If minimum available member will be lesser then 1 then traffic will move to other DC servers. Assign to VIP.
Other option to create two VIP with respect to DC. Apply iRule to VIP-1
when HTTP_REQUEST { if { [active_members [LB::server pool]] == 0 } { HTTP::redirect "http://VIP2.com" } }
Paste if any problem
You can configure through multiple ways.
If you have LTM only then, either use Priority Group activation or iRule to move traffic if Primary VIP fail over.
etc...
- Donster_297784Apr 19, 2017Nimbostratus
Thank you Jhass. Could you give me an example if you don't mind?
Totally agree with the logic and solution just an example of the iRule.
Cheers
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