option httpchk

2011-10-31 Thread Christophe Rahier
Hi, In my config file, I check my servers with option httpchk HEAD /checkCF.cfm HTTP/1.0 When the response is not 2xx or 3xx, would it possible to test an other url? Thanks for your help. Regards, Christophe

Re: option httpchk

2011-10-31 Thread Baptiste
Hi, no :) cheers On Mon, Oct 31, 2011 at 12:15 PM, Christophe Rahier christo...@qualifio.com wrote: Hi, In my config file, I check my servers with option httpchk HEAD /checkCF.cfm HTTP/1.0 When the response is not 2xx or 3xx, would it possible to test an other url? Thanks for your

Re: option httpchk

2011-10-31 Thread Christophe Rahier
Hi, What a pity, this could be very useful! Indeed, as Haproxy detects that there is no response, it may perform an another action :-) Christophe Le 31/10/11 13:27, « Baptiste » bed...@gmail.com a écrit : Hi, no :) cheers On Mon, Oct 31, 2011 at 12:15 PM, Christophe Rahier

Re: option httpchk

2011-10-31 Thread Baptiste
euh, if there is no response, HAProxy can log it Then, you can then detect it and take the decision you want :) Don't ask HAProxy to reload your webservices, it's a bad idea. On Mon, Oct 31, 2011 at 1:48 PM, Christophe Rahier christo...@qualifio.com wrote: Hi, What a pity, this could be very

Re: option httpchk

2011-10-31 Thread Christophe Rahier
I'm agree with you but how can I know that HAProxy detects an error ? Christophe Le 31/10/11 15:30, « Baptiste » bed...@gmail.com a écrit : euh, if there is no response, HAProxy can log it Then, you can then detect it and take the decision you want :) Don't ask HAProxy to reload your

Re: option httpchk

2011-10-31 Thread Aleksandar Lazic
Hi, On 31.10.2011 13:48, Christophe Rahier wrote: Hi, What a pity, this could be very useful! Indeed, as Haproxy detects that there is no response, it may perform an another action :-) How about a backup setup?! http://haproxy.1wt.eu/download/1.4/doc/configuration.txt 5. Server and

Re: option httpchk

2011-10-31 Thread Christophe Rahier
Hi, Oups, sorry, I didn't see it! Too many things to do in the same time and of course not enough time, I'm lost :-) Christophe Le 31/10/11 15:36, « Aleksandar Lazic » al-hapr...@none.at a écrit : Hi, On 31.10.2011 13:48, Christophe Rahier wrote: Hi, What a pity, this could be very

Starting proxy [name]: cannot bind socket

2011-10-31 Thread Ricardo F
Hello,    I install haproxy 1.4 in a Debian Squeeze system, with a  2.6.32-5-amd64   kernel. The configuration is this: ##global        maxconn 5000        log 127.0.0.1 local5 info err        stats socket /var/run/haproxy.sock mode 0600 level admin        pidfile /var/run/haproxy.pid

Re: Starting proxy [name]: cannot bind socket

2011-10-31 Thread Cyril Bonté
Hi Ricardo, Le lundi 31 octobre 2011 17:23:13, Ricardo F a écrit : Hello, I can start and stop haproxy withouth problem, but when i reload its configuration, it print the following: # /usr/local/sbin/haproxy -f /etc/haproxy/haproxy.conf -p /var/run/haproxy.pid -st $(/var/run/haproxy.pid)

Starting proxy [name]: cannot bind socket‏

2011-10-31 Thread Ricardo F
Sorry, i send the previous mail in wrong format. Hello, I install haproxy 1.4 in a Debian Squeeze system, with a 2.6.32-5-amd64 kernel. The configuration is this:##globalmaxconn 5000log 127.0.0.1 local5 info errstats socket /var/run/haproxy.sock mode 0600

Re: Starting proxy [name]: cannot bind socket

2011-10-31 Thread Cyril Bonté
I reintroduce the mailing list to my answer (please use reply all ;-) ) Le lundi 31 octobre 2011 17:45:58, Ricardo F a écrit : Hello Cyril, Thanks for your reply. If i put the cat, the terminal wait for.. ¿I don't know?. Look this: # ps auxf | grep hapr root 6327 0.0 0.0 7544 844

RE: Starting proxy [name]: cannot bind socket

2011-10-31 Thread Ricardo F
Ok, thanks. This is the problem, in one of my test, I put the -D at the end, and it fails, but the correct form is this: # haproxy -D -f /etc/haproxy/haproxy.conf -p /var/run/haproxy.pid -st 6351 Thanks for all, Regards. From: cyril.bo...@free.fr To: ri...@hotmail.com Subject: Re: Starting

Re: tracking maxconn between several haproxy server definitions - which correspond to same real web server

2011-10-31 Thread Cyril Bonté
Hi, Le Lundi 31 Octobre 2011 17:21:02 Piavlo a écrit : I have been using *capture cookie* and *appsession *in one haproxy configuration for sticky sessions. The problem is that then haproxy restarted/reload or domain is migrated to failover server the sticky data is lost. Today I realised

HAProxy on OpenWRT

2011-10-31 Thread Gene
I see here that OpenWRT has an HAProxy package available for it: http://haproxy.1wt.eu/contrib.html Because of this I'm considering using the RouterStation Pro to run HAProxy: http://www.ubnt.com/wiki/RouterStation_Pro Has anyone done this? If so, wow is the performance? I'm currently using

Re: tracking maxconn between several haproxy server definitions - which correspond to same real web server

2011-10-31 Thread Baptiste
Hi, If cookie insert is not an option, then in 1.5-dev7, you can perform cookie persistence learning the application cookie and store it in a stick table. It's like appsession, unless it will survive a reload and you can share it between HAProxy boxes. :) cheers On Mon, Oct 31, 2011 at 7:40 PM,