> -----Message d'origine-----
> De : Static Void [mailto:[email protected]]
> Envoyé : mardi 13 avril 2010 16:25
> À : [email protected]; [email protected]
> Objet : Question on healtchecks
> 
> I have an active-passive HAProxy setup using keepalived, similar to
> this:
> http://www.howtoforge.com/setting-up-a-high-availability-load-balancer-
> with-haproxy-keepalived-on-debian-lenny
> 
> My question is, is there any way to have the healtchecks performed on
> only the active HAProxy? Currently both the active and passive HAProxys
> ping my servers every 3 seconds at (almost) the same time. I have
> enabled the spread-check option with a value of 5 but it seems to make
> little difference.
> 
> Is there anything I can do to remedy this problem? Thanks!

Hi,

With keepalived you have the option to run a script on certain events 
(transition from master to backup, from backup to master, ...). So why not just 
fire up haproxy on the backup machine when it becomes master ?

Emmanuel

Reply via email to