Re: Configuration API?

2011-02-07 Thread Willy Tarreau
Hi Joel, On Mon, Feb 07, 2011 at 01:10:53PM -0800, Joel Krauska wrote: > On 2/7/11 1:01 PM, Willy Tarreau wrote: > >On Mon, Feb 07, 2011 at 09:45:21AM +0100, Bedis 9 wrote: > >>>Do you have an example of what purpose it would serve ? I'm asking > >>>because it's not very easy to implement with tab

Re: Configuration API?

2011-02-07 Thread Joel Krauska
On 2/7/11 1:01 PM, Willy Tarreau wrote: On Mon, Feb 07, 2011 at 09:45:21AM +0100, Bedis 9 wrote: Do you have an example of what purpose it would serve ? I'm asking because it's not very easy to implement with table-based algorithms, since the size of the table is determined by the GCD of all act

Re: Configuration API?

2011-02-07 Thread Willy Tarreau
On Mon, Feb 07, 2011 at 09:45:21AM +0100, Bedis 9 wrote: > > Do you have an example of what purpose it would serve ? I'm asking > > because it's not very easy to implement with table-based algorithms, > > since the size of the table is determined by the GCD of all active > > servers' weights. Thus

Re: Configuration API?

2011-02-07 Thread Bedis 9
> Do you have an example of what purpose it would serve ? I'm asking > because it's not very easy to implement with table-based algorithms, > since the size of the table is determined by the GCD of all active > servers' weights. Thus adding a new server will change the size of > the table. > > It's

Re: Configuration API?

2011-02-06 Thread Willy Tarreau
On Sun, Feb 06, 2011 at 10:30:03PM -0800, carlo flores wrote: > Your last suggestion is what are suits call auto-scaling, and the idea of > doing that with HAProxy is really appealing and would be a big plus for us. > > > As a test tomorrow with 1.4.10/stable idea, let's say a pool of 10 servers

Re: Configuration API?

2011-02-06 Thread carlo flores
Your last suggestion is what are suits call auto-scaling, and the idea of doing that with HAProxy is really appealing and would be a big plus for us. As a test tomorrow with 1.4.10/stable idea, let's say a pool of 10 servers had two servers with zero weight, and a script watching the unix socket

Re: Configuration API?

2011-02-06 Thread Willy Tarreau
Hi Joel, On Fri, Feb 04, 2011 at 03:04:40PM -0800, Joel Krauska wrote: > Awesome - This is a great start. > > Putting a server in backup or primary mode would be a nice addition. Do you have an example of what purpose it would serve ? I'm asking because it's not very easy to implement with table

Re: Configuration API?

2011-02-04 Thread Amol
Try using Hatop...this will do all the things from your list http://feurix.org/projects/hatop/ I am using it, and learning more about it now.. --- On Fri, 2/4/11, Joel Krauska wrote: From: Joel Krauska Subject: Re: Configuration API? To: "John Marrett" Cc: haproxy@formilux.org Da

Re: Configuration API?

2011-02-04 Thread Joel Krauska
nds" http://haproxy.1wt.eu/download/1.4/doc/configuration.txt -JohnF On 11-02-04 03:40 PM, Joel Krauska wrote: Has there ever been effort in building out a configuration API for HAProxy? It would be nice to be able to tweak configs externally to do things. (simpler things now, but obviously bein

Re: Configuration API?

2011-02-04 Thread carlo flores
Fri, Feb 4, 2011 at 12:46 PM, John Marrett wrote: > Check out section "9.2. Unix Socket commands" > > http://haproxy.1wt.eu/download/1.4/doc/configuration.txt > > -JohnF > > > On 11-02-04 03:40 PM, Joel Krauska wrote: > >> Has there ever been effort in buil

Re: Configuration API?

2011-02-04 Thread John Marrett
Check out section "9.2. Unix Socket commands" http://haproxy.1wt.eu/download/1.4/doc/configuration.txt -JohnF On 11-02-04 03:40 PM, Joel Krauska wrote: Has there ever been effort in building out a configuration API for HAProxy? It would be nice to be able to tweak configs extern

Configuration API?

2011-02-04 Thread Joel Krauska
Has there ever been effort in building out a configuration API for HAProxy? It would be nice to be able to tweak configs externally to do things. (simpler things now, but obviously being able to tweak /ANY/ config parameter might be nice down the road) My wish list: - put a server in backup