Re: CLUSTERIP

From: Holger Just <haproxy#meine-er.de>
Date: Mon, 08 Jun 2009 20:02:30 +0200


On 08.06.2009 19:34 Uhr, Infos E-Blokos wrote:
> is there any example to use HAPROXY with CLUSTERIP and KEEPALIVED OR
> HEARTBEAT ?
Hey,

have a look at

http://www.howtoforge.com/high-availability-load-balancer-haproxy-heartbeat-debian-etch

The article is not very new, but the principles still apply. Basically, just set up two identical servers each with HAproxy. Then configure a virtual IP with heartbeat. By appending

net.ipv4.ip_nonlocal_bind=1

to your /etc/sysctl.conf, the Linux boxes are able to bind to the virtual IP even if it is not currently assigned to a cluster node.

Finally, send all of your load balanced traffic to the virtual IP.

Regards,
Holger Received on 2009/06/08 20:02

This archive was generated by hypermail 2.2.0 : 2009/06/08 20:15 CEST