Hi Jeff, The thing is that if I don't include the health check, the load balancer works fine and each server receives equal distribution. I have no idea why the servers would be reported as "down" but still work when unchecked.
Thanks, Thomas Allen Web Developer, ASCE 703.295.6355 -----Original Message----- From: Jeffrey 'jf' Lim [mailto:jfs.wo...@gmail.com] Sent: Wednesday, March 04, 2009 8:11 PM To: Allen, Thomas Cc: haproxy@formilux.org Subject: Re: "option httpchk" is reporting servers as down when they're not well, looks like ur servers are actually down then. Do a curl from your haproxy machine to both servers. What do you get? -jf -- In the meantime, here is your PSA: "It's so hard to write a graphics driver that open-sourcing it would not help." -- Andrew Fear, Software Product Manager, NVIDIA Corporation http://kerneltrap.org/node/7228 On Wed, Mar 4, 2009 at 9:40 PM, Allen, Thomas <tal...@asce.org> wrote: > Never mind, I got it going. My stats page simply says that both servers are > down. What else should I be looking for? > > Thomas Allen > Web Developer, ASCE > 703.295.6355 > > -----Original Message----- > From: Jeffrey 'jf' Lim [mailto:jfs.wo...@gmail.com] > Sent: Wednesday, March 04, 2009 2:22 AM > To: Allen, Thomas > Cc: haproxy@formilux.org > Subject: Re: "option httpchk" is reporting servers as down when they're not > > - Show quoted text - > On Wed, Mar 4, 2009 at 4:05 AM, Allen, Thomas <tal...@asce.org> wrote: >> Hi, >> >> I like the idea of having HAProxy check server health, but for some reason, >> it reports all of my servers as down. Here's my full config: >> >> listen http_proxy :80 >> mode http >> balance roundrobin >> option httpchk >> server webA {IP} cookie A check >> server webB {IP} cookie B check >> >> I tried "option httpchk /index.php" just to be sure, and got the same >> result. If I remove the httpchk option, HAProxy has no problem proxying >> these servers. What am I doing wrong? >> > > what's listed under "Status" for these servers when viewing your > haproxy status page? > > -jf > > -- > In the meantime, here is your PSA: > "It's so hard to write a graphics driver that open-sourcing it would not > help." > -- Andrew Fear, Software Product Manager, NVIDIA Corporation > http://kerneltrap.org/node/7228 >