Hi Baptiste,

Here's my config file:

global
 daemon
 maxconn 10000
 stats socket /var/run/haproxy.sock level admin mode 600
 stats timeout 1m
 log 127.0.0.1 local5 info

defaults
 log global
 option tcplog
 option dontlog-normal
 #option dontlognull
 retries    2
 timeout client 90s
 timeout server 250s
 timeout connect 30s
 timeout http-keep-alive 30s

frontend  Managers-Farm
 mode http
 option forwardfor
 option httplog
 option http-server-close
 reqadd X-Forwarded-Proto:\ https
 bind 192.168.0.3:443 ssl crt /etc/haproxy/keyHA.pem ciphers
RC4:HIGH:!aNULL:!MD5
 bind 192.168.0.3:80
 default_backend Managers

backend Managers
 mode http
 server  Manager01 192.168.0.60:80 check on-marked-down shutdown-sessions
 server  Manager02 192.168.0.61:80 check on-marked-down shutdown-sessions
 server  Manager03 192.168.0.62:80 check on-marked-down shutdown-sessions
 option httpchk HEAD /cfadmin/ping.cfm HTTP/1.0
 stats enable
 balance source

listen  info 192.168.0.3:91
 mode http
 balance source
 stats uri /


Thanks for your help.

Christophe



On 26/03/13 11:11, "Baptiste" <bed...@gmail.com> wrote:

>Hi Christophe,
>
>This issue should not happen.
>Please share your backend configuration here.
>
>Baptiste
>
>
>On Tue, Mar 26, 2013 at 10:43 AM, Chris Sarginson <ch...@sargy.co.uk>
>wrote:
>> You would probably need to look at something like this:
>>
>> http://technet.microsoft.com/en-us/library/cc753897(v=ws.10).aspx
>>
>> Storing sessions from IIS in an SQL db will allow them to be accessible
>>from
>> any of your servers.
>>
>> Chris
>>
>>
>> On 26/03/2013 09:16, Christophe Rahier wrote:
>>
>> Hi,
>>
>> I try to be clear with my question :-)
>>
>> Our haproxy is in front of 3 IIS web servers.
>>
>> When a server is down, haproxy doesn't send any traffic to this server,
>>it's
>> ok. Users needs to log again in our application.
>>
>> When this server comes alive, users who previously logged (via this
>>server)
>> need to log again in our application as if haproxy closed their current
>> session and wants to reconnect them to this server.
>>
>> How can I avoid this?
>>
>> Thanks for your help.
>>
>> Regards,
>>
>> Christophe



Reply via email to