Re: Check backend servers

2012-02-12 Thread Sebastian Fohler
Thank you for all your help. I've fixed the problem now in configuring the backends to just answer with a index.php file as default, for every unspecific request. That seems to solve the problem for now. Greets Sebastian On 10.02.2012 14:12, Graeme Donaldson wrote: On 10 February 2012 14:50,

Re: Check backend servers

2012-02-10 Thread Baptiste
On Fri, Feb 10, 2012 at 4:00 PM, Graeme Donaldson wrote: > On 10 February 2012 16:57, Baptiste wrote: >> >> Configure it like that: >> option                  httpchk HEAD /index.php HTTP/1.0\r\nHost:\ >> www.domain.com >> ==> please note the backslashes ( \ ) before the spaces. >> > You should u

Re: Check backend servers

2012-02-10 Thread Graeme Donaldson
On 10 February 2012 16:57, Baptiste wrote: > Configure it like that: > option httpchk HEAD /index.php HTTP/1.0\r\nHost:\ > www.domain.com > ==> please note the backslashes ( \ ) before the spaces. > > You should use HTTP/1.1 if you're sending a Host: header. Graeme.

Re: Check backend servers

2012-02-10 Thread Baptiste
Hi, First, I can tell you which realm you have to use. You're the only one to know ;) You can use the hostname your clients use. Configure it like that: option httpchk HEAD /index.php HTTP/1.0\r\nHost:\ www.domain.com ==> please note the backslashes ( \ ) before the spaces. chee

Re: Check backend servers

2012-02-10 Thread Sebastian Fohler
so I could use: adserver.dev.local/www/admin/index.php as uri part? Regards Sebastian On 10.02.2012 15:13, Baptiste wrote: option httpchk -- Sebastian Fohler Far-Galaxy Networks Web: http://www.far-galaxy.de Tel.: +49 (0)173 8796211 E-Mail: i...@far-galaxy.de

Re: Check backend servers

2012-02-10 Thread Sebastian Fohler
This is my backend definition: listen adserver.dev.adworxs.net bind192.168.10.70:80 modehttp log global option dontlognull option httpclose option

Re: Check backend servers

2012-02-10 Thread Baptiste
It uses the configured server IP and the URL provided by 'option httpchk'. cheers On Fri, Feb 10, 2012 at 1:48 PM, Sebastian Fohler wrote: > What URL does haproxy use exactly to check the service? > Is it the realm + the url part or something else? > Just to be sure to test the correct option. >

Re: Re: Check backend servers

2012-02-10 Thread Graeme Donaldson
On 10 February 2012 14:50, Sebastian Fohler wrote: > > What URL does haproxy use exactly to check the service? > Is it the realm + the url part or something else? > Just to be sure to test the correct option. > > Hi Sebastian If you are just using the "check" option for the backends, then the he

Fwd: Re: Check backend servers

2012-02-10 Thread Sebastian Fohler
What URL does haproxy use exactly to check the service? Is it the realm + the url part or something else? Just to be sure to test the correct option. Best regards Sebastian On 10.02.2012 09:56, Baptiste wrote: Hi, Maybe you're server require a Host header in the health check. Have you trie

Re: Check backend servers

2012-02-10 Thread Baptiste
Hi, Maybe you're server require a Host header in the health check. Have you tried running the check using wget or curl on the server IP address? cheers On Fri, Feb 10, 2012 at 9:00 AM, Sebastian Fohler wrote: > Hi > > Is there some way to check the backendservers manually? > I'm always get thi

Re: How to check backend servers thru Haproxy?

2011-05-29 Thread Baptiste
Hi Guillaume The text after "cookie" keyword is the cookie value and there is no relation between the server name and the cookie value. You can put there whatever text you want. ie server srv1 1.1.1.1:80 cookie blahblahblah When browsing your website, if HAproxy decides to associate your browser

Re: How to check backend servers thru Haproxy?

2011-05-27 Thread Guillaume Bourque
Hi Willy, should those two lines server srv1 1.1.1.1:80 cookie s1 server srv2 1.1.1.2:80 cookie s2 be server srv1 1.1.1.1:80 cookie srv1 server srv2 1.1.1.2:80 cookie srv2 Not sure but since I can't test right now i thought to ask

Re: How to check backend servers thru Haproxy?

2011-05-19 Thread Willy Tarreau
Hello Jean-Michel, On Wed, May 18, 2011 at 12:28:20AM +0100, Mouny Jean michel wrote: > Hello, > I have following configuration installed:    > > >                    +--   > backend 1 > > Internet  Reverse Proxy with Haproxy | >

How to check backend servers thru Haproxy?

2011-05-17 Thread Mouny Jean michel
Hello, I have following configuration installed:                       +--   backend 1 Internet  Reverse Proxy with Haproxy |                            +--  backend 2 For each backend, I