Yes ...

Is it possible to improve my config?



Le 08/09/11 15:50, « Baptiste » <bed...@gmail.com> a écrit :

>I can't see anything weird here.
>are the backend status "OK" on the haproxy http stat page?
>
>cheers
>
>On Thu, Sep 8, 2011 at 2:28 PM, Christophe Rahier
><christo...@qualifio.com> wrote:
>> Hi,
>>
>> Here's my config. Webservers are IIS.
>>
>> global
>> log 192.168.0.2 local0
>> log 127.0.0.1 local1 notice
>> maxconn     10240
>> defaults
>> log    global
>> option dontlognull
>> retries    2
>> clitimeout  50000
>> srvtimeout  50000
>> contimeout  50000
>> timeout server 60s
>>
>> listen WebPlayer-Farm 192.168.0.2:80
>> mode http
>> option httplog
>> balance source
>> #balance leastconn
>> option forwardfor
>> stats enable
>> option http-server-close
>> server Player1 192.168.0.10:80 check
>> server Player2 192.168.0.11:80 check
>> server Player3 192.168.0.12:80 check
>> server Player4 192.168.0.13:80 check
>>
>> listen WebPlayer-Farm-SSL 192.168.0.2:443
>> mode tcp
>> option ssl-hello-chk
>> balance source
>> server Player1 192.168.0.10:443 check
>> server Player2 192.168.0.11:443 check
>> server Player3 192.168.0.12:443 check
>> server Player4 192.168.0.13:443 check
>>
>> listen  Manager-Farm    192.168.0.2:81
>> mode http
>> option httplog
>> balance source
>> option forwardfor
>> stats enable
>> option http-server-close
>> server  Manager1 192.168.0.60:80 check
>> server  Manager2 192.168.0.61:80 check
>>
>> listen Manager-Farm-SSL 192.168.0.2:444
>> mode tcp
>> option ssl-hello-chk
>> balance source
>> server Manager1 192.168.0.60:443 check
>> server Manager2 192.168.0.61:443 check
>>
>> listen  info 192.168.0.2:90
>> mode http
>> balance source
>> stats uri /
>>
>>
>>
>> Thanks for your help!
>>
>> Christophe
>>
>>
>>
>>
>> Le 08/09/11 14:16, « Baptiste » <bed...@gmail.com> a écrit :
>>
>>>Hello,
>>>
>>>you server might be very slow or your server timeout in your conf
>>>might be too low.
>>>
>>>If you can copy/paste your conf and tell us which version you're using
>>>and the underlying OS.
>>>
>>>cheers
>>>
>>>
>>>On Thu, Sep 8, 2011 at 1:35 PM, Christophe Rahier
>>><christo...@qualifio.com> wrote:
>>>> Hi,
>>>> I've a question about this error :
>>>>
>>>> 504 Gateway Time-out
>>>>
>>>> The server didn't respond in time.
>>>>
>>>> What could I check in my config ? I created 2 LB with a virtual IP and
>>>>all
>>>> request are coming from the firewall to this IP.
>>>> I think it's possible, if needed, I can copy my configuration file.
>>>> Thanks for your help, I'm lost.
>>>> Regards, Christophe
>>>
>>>
>>
>>
>>
>
>



Reply via email to