Re: Stickiness lost after failover

2013-04-08 Thread sol myr
...@gmail.com To: sol myr solmy...@yahoo.com Sent: Sunday, April 7, 2013 5:16 PM Subject: Re: Stickiness lost after failover Hi, You're missing a peers section in your HAProxy configuration and on your stick-table description. Baptiste On Sun, Apr 7, 2013 at 3:34 PM, sol myr solmy...@yahoo.com wrote

Stickiness lost after failover

2013-04-03 Thread sol myr
Hi, We set up HAProxy with stickiness (appsession), and usually it works great. But unfortunately, after failover it seems to stop sticking and just do round robin. We got the problem on both 1.4 and 1.5. The details - it's a backend of 3 Tomcat servers, with stickiness based on myCookie.

Re: Stickiness lost after failover

2013-04-03 Thread Baptiste
Hi, Better using stick tables with store-response and store-request to replace your appsession configuration. that way, you can reload your haproxy without loosing persistence information. It also allows you to have a cluster of HAProxy sharing the same persistence information. Baptiste On

Re: Stickiness lost after failover

2013-04-03 Thread David Coulson
On 4/3/13 5:36 AM, Baptiste wrote: Better using stick tables with store-response and store-request to replace your appsession configuration. Is there a configuration example of this method somewhere? Google didn't turn up much for me. David

Re: Stickiness lost after failover

2013-04-03 Thread Thomas Heil
Hi David, On 03.04.2013 13:10, David Coulson wrote: On 4/3/13 5:36 AM, Baptiste wrote: Better using stick tables with store-response and store-request to replace your appsession configuration. Is there a configuration example of this method somewhere? Google didn't turn up much for me.

Re: Stickiness lost after failover

2013-04-03 Thread Baptiste
I'm planning to write an article on exceliance's blog about it, because the question is ask very often. Baptiste On Wed, Apr 3, 2013 at 2:45 PM, Thomas Heil h...@terminal-consulting.dewrote: Hi David, On 03.04.2013 13:10, David Coulson wrote: On 4/3/13 5:36 AM, Baptiste wrote: Better

Re: Stickiness lost after failover

2013-04-03 Thread sol myr
Subject: Re: Stickiness lost after failover I'm planning to write an article on exceliance's blog about it, because the question is ask very often. Baptiste On Wed, Apr 3, 2013 at 2:45 PM, Thomas Heil h...@terminal-consulting.de wrote: Hi David, On 03.04.2013 13:10, David Coulson wrote