Yeah, I mean server of course. Thank for the link

On Tue, Aug 4, 2020, 5:28 PM Jarno Huuskonen <[email protected]> wrote:

> Hi,
>
> On Tue, 2020-08-04 at 16:54 +0500, Илья Шипицин wrote:
> > for example, I'm running tcp balancing with several backend.
> > is it possible to mark first backend for "established" connections ?
>
> You want to set whole backend (and not just one server) to
> drain(established
> only) ?
>
> > i.e. all connections that established, still go to marked backend. no new
> > connection are established (once I see there are no more connections, I
> > can turn it off).
>
> With servers it should be possible:
>
> https://cbonte.github.io/haproxy-dconv/2.2/configuration.html#4-http-check%20disable-on-404
> or setting server weight to 0 or state to drain:
> https://cbonte.github.io/haproxy-dconv/2.2/management.html#9.3-set%20server
>
> Maybe you could set all servers in backend to weight 0/drain or use
> somekind of acl+use_backend ?
>
> Can you show a short/sanitized example config about your tcp backends ?
>
> -Jarno
>
> --
> Jarno Huuskonen
>

Reply via email to