Re: take servers out of the pool

From: Fabien Germain <fabien.germain#gmail.com>
Date: Wed, 19 Aug 2009 23:14:24 +0200


Hi,

On Wed, Aug 19, 2009 at 6:12 PM, Matt <mattmoran76#gmail.com> wrote:

> I'm currently using a config below. I'd like to be able to drop a
> server out of the pool for maintenance, at the moment I am removing
> srv1 from the config file and restarting haproxy with the -sf (reload)
> option. Is there a better way I can tell haproxy to stop sending
> requests to a server without restarting the binary? Does haproxy
> watch the config file and act on certain changes?
>

Have a look at section 4 ("Soft-stop for application maintenance") of the Architecture Guide, you'll get answers : http://haproxy.1wt.eu/download/1.3/doc/architecture.txt

Fabien

-- 

Jonathan Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>
- "May you live every day of your life."
Received on 2009/08/19 23:14

This archive was generated by hypermail 2.2.0 : 2009/08/19 23:30 CEST