Re: Sessions when a server doesn't answer anymore

2013-03-26 Thread Christophe Rahier
Hi Baptiste, Thanks for your help and your analyse. I will test the cookie, I first need to read the documentation :-) Best regards, Christophe On 26/03/13 15:37, "Baptiste" wrote: >> backend Managers >> mode http >> server Manager01 192.168.0.60:80 check on-marked-down >>shutdown-sess

Re: Sessions when a server doesn't answer anymore

2013-03-26 Thread Baptiste
> 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.cf

Re: Sessions when a server doesn't answer anymore

2013-03-26 Thread Christophe Rahier
Hi Baptiste, Here's my config file: global daemon maxconn 1 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 retries2 timeout client 90s timeout serve

Re: Sessions when a server doesn't answer anymore

2013-03-26 Thread Christophe Rahier
rg>" mailto:haproxy@formilux.org>> Subject: Re: Sessions when a server doesn't answer anymore 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

Re: Sessions when a server doesn't answer anymore

2013-03-26 Thread Baptiste
On Tue, Mar 26, 2013 at 11:16 AM, Chris Sarginson wrote: > On 26/03/2013 10:11, Baptiste wrote: >> >> Hi Christophe, >> >> This issue should not happen. >> Please share your backend configuration here. >> >> Baptiste > > Could this not occur in an instance where cookies were being used for the > p

Re: Sessions when a server doesn't answer anymore

2013-03-26 Thread Chris Sarginson
On 26/03/2013 10:11, Baptiste wrote: Hi Christophe, This issue should not happen. Please share your backend configuration here. Baptiste Could this not occur in an instance where cookies were being used for the primary server, but sessions are not being shared? Server 1 fails, client moved t

Re: Sessions when a server doesn't answer anymore

2013-03-26 Thread Baptiste
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 wrote: > You would probably need to look at something like this: > > http://technet.microsoft.com/en-us/library/cc753897(v=ws.10).aspx > > Stori

Re: Sessions when a server doesn't answer anymore

2013-03-26 Thread Chris Sarginson
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 cl

Sessions when a server doesn't answer anymore

2013-03-26 Thread Christophe Rahier
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) ne