On Tue, Nov 06, 2012 at 10:24:38PM +0800, Igor wrote:
> Is there any way to keep server's state like MAINT and stick-tables,
> it's very helpful to keep these info when reload the server.

Server state is not yet retained, this was discussed long ago, at least
we'd like to have the ability to pass a flag to haproxy pointing to a
file which contains a dump of the last state. It would be very convenient
for scripts :
  1) dump old process > file
  2) start new process --with-state=file

stick-tables are maintained if you're only interested in server stickiness,
what is lost is counters, rates, etc... everything related to anti-ddos or
anti-abuse. They are much harder to synchronize and would require a significant
protocol extension.

But to synchronize your servers, you need to have a "peers" section, I'm
sure there's an example in the documentation.

Hoping this helps,
Willy


Reply via email to