How can I force all frontend traffic to be temporarily queued/buffered by HAProxy?

2014-07-17 Thread Abe Voelker
My use case is that I have a non-backwards compatible database migration to run, so there is a brief period of time where I do not want any requests to be serviced by frontends. So I would like HAProxy to temporarily queue all traffic while the database migration runs, buffering it until I bring

Re: How can I force all frontend traffic to be temporarily queued/buffered by HAProxy?

2014-07-17 Thread Abe Voelker
Apologies, I had a copy/paste error in the disable server command I provided at the end. The actual command I'm using is this: echo disable server nodes/web01 | sudo socat stdio /run/haproxy/admin.sock On Thu, Jul 17, 2014 at 8:49 AM, Abe Voelker a...@abevoelker.com wrote: My use case is

Re: How can I force all frontend traffic to be temporarily queued/buffered by HAProxy?

2014-07-17 Thread Jonathan Matthews
On 17 Jul 2014 14:50, Abe Voelker a...@abevoelker.com wrote: So basically I'm wondering if there is a way to expire these pre-existing sessions or connections or somehow force them to behave like a new one so that they will queue up in HAProxy? I believe 1.5 has the on-marked-down