Hello Andrejas,

On Wed, Feb 29, 2012 at 10:36:27AM +0100, Andrejas Pawe? wrote:
> Hello,
> 
> I'm using haproxy 1.4.15. I noticed one problem, after reload  haproxy  it
> doesn't preserve states of servers. So, servers which was DOWN, after reload
> are UP  and haproxy send them requests until health check  set them DOWN. Is
> it possible in configuration set server in DOWN state and after positive
> health check it can be activated? Or maybe is it possible after reload  to
> save state of servers?

Right now there is no such possibility. It was planned to have the ability
to set their initial state from the command line but that hasn't been done
yet.

One thing you can do in the mean time is to use a shorter interval or
better a short "fastinter" interval, which is used only during transitions.

Alternatively, you could mark the servers "disabled" in the config and
have to connect to the stats socket to enable them, but I find this a
bit dangerous.

Regards
Willy


Reply via email to