Re: how do people have multiple haproxy servers?

2012-01-05 Thread Baptiste
Hi, You can use Keepalive and VRRP. And you can cross VRRP VIPs with DNS resolution :) It depends just what kind of configuration you have in your haproxy. If you could give us more figures, we could help you more deeply. cheers On Thu, Jan 5, 2012 at 4:56 AM, S Ahmed sahmed1...@gmail.com

Balance based on Source IP in the same backend?

2012-01-05 Thread Kyle Brandt
Is it possible to balance different source IPs differently in the same backend? I know I can redirect to different backends based on the source IP and then balance there, but this invalidates a lot of the counters (i.e. SrvConn) since the same server is shared in multiple backends. I tried an acl

Re: Balance based on Source IP in the same backend?

2012-01-05 Thread Willy Tarreau
Hi Kyle, On Thu, Jan 05, 2012 at 10:06:30AM -0500, Kyle Brandt wrote: Is it possible to balance different source IPs differently in the same backend? I know I can redirect to different backends based on the source IP and then balance there, but this invalidates a lot of the counters (i.e.

Re: redirect to backend server during initial tcp handshake

2012-01-05 Thread Willy Tarreau
On Wed, Jan 04, 2012 at 03:53:59PM -0500, S Ahmed wrote: In my situation clients will be sending 1K of data, and I believe I can do this with a http get request safely since the limit is I think 4k. It depends if your goal is to maintain low latency or to spread the load better. For

Re: how do people have multiple haproxy servers?

2012-01-05 Thread Willy Tarreau
On Wed, Jan 04, 2012 at 10:56:40PM -0500, S Ahmed wrote: I see, thanks! what's the more fancy way? :) The most common other approach involves BGP connectivity to multiple peers, which also offers clients the (theorically) shortest path, but this is more suited for geographically split

Re: Need Help

2012-01-05 Thread Willy Tarreau
On Wed, Jan 04, 2012 at 07:39:23PM +0530, Ravi Ranjan wrote: Hi, Thanks for your guidance. I am using stunnel too, but still its failing. failing is not a useful term to describe your issues ! What are you observing ? Are you sure that your servers *really* send the Location header you're