Hi Joshua, Keepalived doesn't communicate with haproxy. It keeps track of processes, interfaces, etc.
Generally you use vrrp_script option in keepalived configuration to keep track of processes (are they running? In your case haproxy) and if the process is not running, reduce prio by X which causes a failover. Read about vrrp_script in keepalived configuration. That's what you want to use. .pelle On Tue, Apr 16, 2013 at 11:07 AM, Joshua Chee <chee...@gmail.com> wrote: > In that case what is haproxy for? I thought it is suppose to be a load > balancer and keepalived is a heartbeat to detect the balancer? > On 16 Apr 2013 17:05, "Lukas Tribus" <luky...@hotmail.com> wrote: > >> Hi, >> >> you probably need to set the transparent keyword on the bind line, if >> you want to bind to a possible non-existing ip address. See docs [1]. >> >> >> > how will keepalived communicate with haproxy? >> >> It doesn't communicate with haproxy afaik. Why should it? >> >> >> >> Cheers, >> Lukas >> >> [1] http://cbonte.github.io/haproxy-dconv/configuration-1.4.html#bind >> > >