On Thu, Feb 11, 2016 at 01:42:18PM -0800, Maciej Katafiasz wrote: > On 9 February 2016 at 23:24, Willy Tarreau <w...@1wt.eu> wrote: > > I've got this request about 10 years ago, I wanted to implement a server > > option called "expect-down", then some users suggested that it could also > > be convenient to have a "start-down" option which would not mark the > > servers up by default and which would automatically imply this. And in > > the end, nothing was done. > > > > I think that now that we have the ability to keep the servers state upon > > reload, these features might be obsolete. Upon reload, you keep the > > previous state and there's no alert. I'm not certain it's that convenient > > in the case of a new server being deployed though. > > I was not aware that HAProxy kept the state across reloads; that's > handy. Is there anything that needs to be done to have that?
You have to use the "load-server-state-from-file" directive in your backends, please have a look at the doc, there are a few things to be aware of. Willy