Re: External script

2010-04-11 Thread Hank A. Paulson
and one backup webserver. When the first webserver fail and the failover is done to the backup webserver I need HAProxy to run a external script... My conf: listen x.x.x.x:80 mode http balance roundrobin option ssl-hello-chk server web1 192.168.1.10 check

External script

2010-04-10 Thread Gullin, Daniel
Hi, I´m wondering if it´s possible to let HAProxy *execute* a external script when a failover is done in a active/passive configuration ? For example I use one active and one backup server and I want to *execute a script when the active server fail and HAProxy is doning a failover to the backup

Re: External script

2010-04-10 Thread Bernhard Krieger
Hi, you can use keepalived to install a active/passive loadbalancer. Look at this howto. http://www.howtoforge.com/haproxy_loadbalancer_debian_etch_p2 regards Bernhard Am 10.04.2010 11:39, schrieb Gullin, Daniel: Hi, I´m wondering if it´s possible to let HAProxy /execute/ a external script

Re: External script

2010-04-10 Thread Gullin, Daniel
Yes I know, but mean that I got active/backup on the webfarm. I have one webserver that is active and one backup webserver. When the first webserver fail and the failover is done to the backup webserver I need HAProxy to run a external script... My conf: listen x.x.x.x:80 mode http