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
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
Much appreciated. This is what I had in my mind but just wanted to cement it and your example is perfect.
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