On Fri, Oct 14, 2011 at 6:32 PM, Mathieu Simon
<[email protected]> wrote:
> Hello,
>
> here my question.
>
> I'm trying to stop gracefully a backend server using HATop.
> The disable command give me a 504 status code for pending request on this
> backend server.
>
> Does it exist a workaround in config file to finish the pending request ?
> (like a force-persist?)
>
> My current cluster is in active/passive mode with one active and the ohter
> in backup
> So no problem for disable the backup with no traffic.
>
> I could easily do a workaround by hot reconfigure haproxy and set the active
> to backup.
> But I prefer to touch only the config file when I need to add a new server
> for example.
>
> I know already the way to do what I want with iptables but I'm looking for
> solution simpler like HATop could do.
>
> I hope my question is clear enough :)
>
> Thanks in advance!
>
> Mathieu Simon.
>
>
>
>

Hi,
You should try to turn the weight of the server to 0.

Cheers

Reply via email to