HA Proxy and Disaster Recovery - Only access server if others are down?
Posted
by ben2004uk
on Server Fault
See other posts from Server Fault
or by ben2004uk
Published on 2010-04-04T00:40:03Z
Indexed on
2010/04/04
0:43 UTC
Read the original article
Hit count: 372
haproxy
Why I expect this is not the best way to solve the problem, I got thinking tonight.
I'm thinking about geo-locating servers. Given we have a load balancer + two servers to handle traffic in NA (North America) and one server in the EU.
If the two US servers die, is it possible to get HAProxy to direct traffic automatically to the EU one.
However, I don't want to use a roundrobin approach for the EU - just the two US ones. The EU should only be hit when the other two are down.
Does anyone know how to configure HAProxy to do this?
Thanks
Ben
© Server Fault or respective owner