sticky sessions based on request param

2010-09-08 Thread Karl Baum
I am a beginner to haproxy meaning that i have never used it or any other load balancer before, but i wanted to get an idea of something was possible. I would like to have sticky sessions based on only the value of a http request parameter such that if two different clients with the same reques

Re[2]: HEADSUP: Freebsd port net/haproxy-devel to update from v1.3.25 to v1.5-dev1

2010-09-08 Thread Ross West
(Ugh, sorry Willy for the direct email.) And to close out the thread: The new version is now live with version v1.5-dev2 (port version : v1.5.d2) in the ports tree. Do a portsnap update to see it and install it. WT> That's not expected since the version is hard-coded in the "VERSION" file. WT> Ei

HAPROXY & pool of keep-alive connections to backend

2010-09-08 Thread Maciej Bednarz
Hello, I have a problem with haproxy configuration. First let me explain my scenario. I have two hardware servers: Server A runs a HAPROXY 1.4 and is accessible by HTTP clients Server B runs two instances of HTTP backend software (two sockets) and is only accessible by HAPROXY When now "thous

Re: sticky-table for basic QoS on name-based virtualhosts?

2010-09-08 Thread Willy Tarreau
On Tue, Sep 07, 2010 at 09:53:32PM +0200, Cyril Bonté wrote: > Hi Willy, > > Le mercredi 1 septembre 2010 08:05:52, Willy Tarreau a écrit : > > (...) > > > ps: I guess the doc should say "queue(backend) " instead of > > > that? > : > > > queue(frontend) > > > > > > Returns the total nu

Re: Using ratelimit as shown on serverfault.com

2010-09-08 Thread Matt
Okay, think I found it: - acl source_is_abuser src_get_gpc0(http) gt 0 + acl source_is_abuser sc1_get_gpc0(http) gt 0 On 8 September 2010 17:56, Matt wrote: > Hi guys, > > I'm trying out the rate limit feature in 1.5-dev2.  My config is > below.  It appears to work in the sense that after the li

Using ratelimit as shown on serverfault.com

2010-09-08 Thread Matt
Hi guys, I'm trying out the rate limit feature in 1.5-dev2. My config is below. It appears to work in the sense that after the limit the connection is dropped, but I actually want the connection to go to the error backend, rather than the webserver backend and get dropped. I'm guessing my logic

RE: HAProxy Logging in AIX5.3

2010-09-08 Thread Turlapati, Sreenivasa
Hi, Could someone guide me how to configure rules in haproxy.cfg file Is there any way I can tell HAProxy that You keep on checking the health of the back-end server for the configured time and if one of my back-end server(s) stop responding, use this script/command to shutdown the server(s) an