On Wed, Jul 3, 2013 at 10:11 PM, S Ahmed <[email protected]> wrote:
> Hi,
>
> Say I have 3 backend servers running my website.
>
> I want to update the servers, but do it in a way where I don't have any
> downtime.
>
> So say I have 3 new backend servers that I start and have the updated code
> on it, how can I update the haproxy config file without having any downtime?
>
> Is this possible?

Do you want to bring in 3 new server, or upgrade the existing servers ?

Depending on what version of haproxy you are running and how haproxy
is configured, you could do a slow stop on one server till all
sessions have completed, then upgrade it and enable it again, then
repeat on the other servers, you could also change the config adding
new servers and reload (rather than restart) haproxy.

Cheers

Arne

Reply via email to