On Fri, Feb 5, 2010 at 7:50 PM, Greg Gard <[email protected]> wrote:
> hi,
>
> i would like to be able to pause traffic for a minute or so whilst i
> reload rails servers to use a different database. i have three
> different webservers and can probably write a script to nolb one
> server, reboot with new backend then turn that on while at the same
> time turn the remaing servers to nolb. the problem is that due to
> healtchecks not being queued in 1.13.20, i have turned their frequency
> down to like 30sec so i may have some data go to the old backend
> before the server gets marked down. i can make it work most likely, i
> was just wondering if there was a clean way to just "pause" all
> traffic so that all requests are queued for say a minute while i do
> what i need to and then resume traffic.
>
> is there a way to do this?
make the server fail the health check.

if you health check is a static file, remove it.

...expand on that for dynamic health checks.

>
> great work willy and friends. haproxy brings home the bacon every day...gg
>
> --
> greg gard, psyd
> www.carepaths.com
>
>

Reply via email to