Fwd: Need help to configure HA Proxy

From: Mohamed Yusuf - IT <yusuf#mobile-worx.com>
Date: Sat, 1 Nov 2008 11:39:52 +0530


Hi,

Waiting for your valuable replay

-- 

Thanks & Regards


Mohamed Yusuf A.L.
Sr. System Administrator
Mobile-Worx Pvt Ltd.,
http://www.mobile-worx.com
ob : +(91) 94 8686 7286
Skype : visityusuf
"Move Forward with Positive Approach"

---------- Forwarded message ----------
From: Mohamed Yusuf - IT <yusuf#mobile-worx.com>
Date: 2008/10/22
Subject: Need help to configure HA Proxy
To: hsteam#mediagrif.com


Hi,

I have installed HA-Proxy version 1.3.15.2 in Linux 64 bit CentOS. Do I need
to update anything to support check inter?




-- 

Thanks & Regards


Mohamed Yusuf A.L.
Sr. System Administrator
Mobile-Worx Pvt Ltd.,
http://www.mobile-worx.com
ob : +(91) 94 8686 7286
Skype : visityusuf
"Move Forward with Positive Approach"

-- 

Thanks & Regards


Mohamed Yusuf A.L.
Sr. System Administrator
Mobile-Worx Pvt Ltd.,
http://www.mobile-worx.com
ob : +(91) 94 8686 7286
Skype : visityusuf
"Move Forward with Positive Approach"



2008/10/21 Schramm, Andreas <Andreas.Schramm#peterpays.com>


> So the problem is in the check and haproxy has the opinion, the server is
> not running?!
>
> Propably you have got to define a more precise check?
> Something like option httpchk GET /path/page.php HTTP/1.0
> Or is the given page password protected? Then haproxy needs to know the
> password / username to connect & check.
>
> ------------------------------
> *From:* Mohamed Yusuf - IT [mailto:yusuf#mobile-worx.com]
> *Sent:* Tuesday, October 21, 2008 2:11 PM
> *To:* Schramm, Andreas
> *Subject:* Re: Need help to configure HA Proxy
>
> Hi Andreas,
>
> Yes , I have checked. Ruby on Rails - Mongrel is running in 7000 port and
> HA Proxy is connecting without check inter option in haproxy.cfg.
>
>
>
> --
>
> Thanks & Regards
>
>
> Mohamed Yusuf A.L.
> Sr. System Administrator
> Mobile-Worx Pvt Ltd.,
> http://www.mobile-worx.com
> ob : +(91) 94 8686 7286
> Skype : visityusuf
> "Move Forward with Positive Approach"
>
>
> 2008/10/21 Schramm, Andreas <Andreas.Schramm#peterpays.com>
>
>> Did you check, if the given server (localhost in your example) is indeed
>> listening on the given port (7000)?
>> What says netstat -ln? An other idea could be, to tcpdump -i lo port 7000
>> -> is there any output? That would be a sign, that haproxy is working
>> correctly.
>>
>> 503 is no error I have ever seen presented by haproxy itself, but often by
>> (not running) backend servers.
>>
>> Greets,
>> Andreas
>>
>> ------------------------------
>> *From:* Mohamed Yusuf - IT [mailto:yusuf#mobile-worx.com]
>> *Sent:* Tuesday, October 21, 2008 1:25 PM
>> *To:* Schramm, Andreas
>> *Subject:* Re: Need help to configure HA Proxy
>>
>> Hi Andreas,
>>
>> Thanks for you help.
>>
>> I'm getting below error after giving check inter option
>>
>> Command : server s7 127.0.0.1:7000 check inter 20000 rise 2 fall 2
>> cookie first
>>
>> *Error*
>>
>> 503 Service UnavailableNo server is available to handle this request.
>>
>>
>> Please help me to solve this issue.
>>
>>
>>
>> 2008/10/21 Schramm, Andreas <Andreas.Schramm#peterpays.com>
>>
>>> Hi Yusuf!
>>>
>>> Just add a "check inter 20000" behind your server definition in your
>>> haproxy.cfg.
>>> Should look like this:
>>>
>>> server name_of_the_machine 127.0.0.1:80 <http://127.0.0.1/> check inter
>>> 20000 rise 2 fall 2 cookie first
>>>
>>> Greetings,
>>> Andreas
>>>
>>> ------------------------------
>>> *From:* Mohamed Yusuf - IT [mailto:yusuf#mobile-worx.com]
>>> *Sent:* Tuesday, October 21, 2008 1:05 PM
>>> *To:* Schramm, Andreas
>>> *Subject:* Need help to configure HA Proxy
>>>
>>> Hi,
>>>
>>> This is Yusuf. I have problem to configure HA Proxy.
>>>
>>> I have configured HA Proxy for ruby on rails. It is working without *"Check
>>> inter 20000"* option.
>>>
>>> How to configure HA Proxy with check inter option
>>>
>>> Please help me solve this issue
>>>
>>>
>>> --
>>>
>>> Thanks & Regards
>>>
>>>
>>> Mohamed Yusuf A.L.
>>> Sr. System Administrator
>>> Mobile-Worx Pvt Ltd.,
>>> http://www.mobile-worx.com
>>> mob : +(91) 94 8686 7286
>>> Skype : visityusuf
>>> "Move Forward with Positive Approach"
>>>
>>>
>>
>>
Received on 2008/11/01 07:09

This archive was generated by hypermail 2.2.0 : 2008/11/01 07:15 CET