Re: Sharing stick stable with 2 instances

2013-04-22 Thread Baptiste
There are pros and cons about source IP persistence and source IP hashing load-balancing. This is fun cause this morning, I thought it should deserve an article on my company's blog! I'll write it today and paste the link here. Hopefully it will help you. Baptiste On Fri, Apr 19, 2013 at 8:53

Re: Sharing stick stable with 2 instances

2013-04-22 Thread Baptiste
Hop, here it is: http://blog.exceliance.fr/2013/04/22/client-ip-persistence-or-source-ip-hash-load-balancing/ On Mon, Apr 22, 2013 at 8:45 AM, Baptiste bed...@gmail.com wrote: There are pros and cons about source IP persistence and source IP hashing load-balancing. This is fun cause this

Re: Sharing stick stable with 2 instances

2013-04-22 Thread Daniel Schultze
Thanks :) On Mon, Apr 22, 2013 at 12:50 AM, Baptiste bed...@gmail.com wrote: Hop, here it is: http://blog.exceliance.fr/2013/04/22/client-ip-persistence-or-source-ip-hash-load-balancing/ On Mon, Apr 22, 2013 at 8:45 AM, Baptiste bed...@gmail.com wrote: There are pros and cons about

Re: Sharing stick stable with 2 instances

2013-04-22 Thread Les Stroud
Is it possible, with this approach to ‘edit’ the stick table? For instance, there are certain conditions where I need to move a group of clients to another server. I’d love to be able to issue a command that updates this hashtable based on a range of ipaddresses (or some other header

Re: Sharing stick stable with 2 instances

2013-04-22 Thread Baptiste
Hi Les, You may want to try set table statement on HAProxy's socket. Baptiste On Mon, Apr 22, 2013 at 8:38 PM, Les Stroud l...@lesstroud.com wrote: Is it possible, with this approach to ‘edit’ the stick table? For instance, there are certain conditions where I need to move a group of

RE: Sharing stick stable with 2 instances

2013-04-19 Thread Lukas Tribus
Hi Dan, Is there a feature in 1.4 to share a sticky table between two or more  instances of haproxy. Not in 1.4. There is a feature available in 1.5 (-dev) to do this [1]. Regards, Lukas [1] http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#3.5

RE: Sharing stick stable with 2 instances

2013-04-19 Thread Lukas Tribus
Hi Daniel, kindly CC the mailing-list, there are a lot of other people who may be able to help you better than myself. Would it be possible to use balance source? Is the algorithm deterministic? If the backend configuration with servers is exactly the same, balance source may work in that

Re: Sharing stick stable with 2 instances

2013-04-19 Thread Daniel Schultze
Would it be possible to use balance source as a crude form of sharing an IP stick table? On Fri, Apr 19, 2013 at 2:25 AM, Lukas Tribus luky...@hotmail.com wrote: Hi Dan, Is there a feature in 1.4 to share a sticky table between two or more instances of haproxy. Not in 1.4. There is a

Sharing stick stable with 2 instances

2013-04-18 Thread Daniel Schultze
Is there a feature in 1.4 to share a sticky table between two or more instances of haproxy. In my situation these instances will run on different servers but point to the same backend. -Dan