On Mon, 16 Feb 2015 12:41:06 +0100, Klavs Klavsen <[email protected]> wrote:

> As I understand anycast and ECMP (and I only know guys who use it and 
> know what they are doing ;) - it needs to be two different routes (ie. 
> routers) that are active/active.. ie. multiple location.. but I guess 
> one could do it in the same datacenter as well..
> 

our setup(1 DC):

* active-active ECMP
* 4 loadbalancers + bird OSPF
* 2 routers + OSPF
* IPs are on loopback interface, added and removed when haproxy service
starts/stops
* OSPF distributes routes to these IPs to routers
* routers route by source IP so same IP always lands on same
loadbalancer

works pretty well ;) you just have to make sure that when you stop
haproxy (maintenance etc) you also down IPs that haproxy used so routers
stop sending traffic to that node


-- 
Mariusz Gronczewski, Administrator

Efigence S. A.
ul. WoĊ‚oska 9a, 02-583 Warszawa
T: [+48] 22 380 13 13
F: [+48] 22 380 13 14
E: [email protected]
<mailto:[email protected]>

Attachment: pgp3K_kxBeTVs.pgp
Description: OpenPGP digital signature

Reply via email to