On 18.04.2015 11:00, Igor Cicimov wrote:
> On 18/04/2015 2:18 AM, "Dennis Jacobfeuerborn" <denni...@conversis.de>
> wrote:
>>
>> Yes, you add a peer section:
>>
>> peers haproxy-peers
>>     peer haproxy1 127.0.0.1:1024
>>
>> (haproxy1 must the the hostname of the local system)
>>
>> and then you add a reference to that peer section in you stick table
>> definition for example:
>>
>> stick-table type ip size 100k expire 20m peers haproxy-peers
>>
>> On a reload the new process will then sync the stick table from the old
>> process.
>>
> What about restart?

That depends how a restart/reload is implemented on your end.

Usually a restart is supposed to be a clean fresh start of the
application so you don't really want to copy data from the old process.

Regards,
  Dennis


Reply via email to