You can't. The socket admin interface allows you to only disable existing
servers and then re-enable them, but you can't add a completely new server.

However you can reload haproxy so that it minimises and on some platforms
eliminates dropping any existing connections. Probably your init script
already does this with the reload-command.

For example this blog post tells about this
https://medium.com/@Drew_Stokes/actual-zero-downtime-with-haproxy-18318578fde6
but I've also hear that on modern linux kernels even the iptables syn trick
isn't needed, but I can't confirm.

On Mon, Sep 15, 2014 at 3:02 AM, Zebra <[email protected]> wrote:

> Hi,all
>
>   How can I add one new server without stop the haproxy process?
>
>   Looking forward to your reply!
>
>
> Thanks,
> Zebra
>

Reply via email to