Haproxy and shard selection

Hello,

Let’s say i would configure two jitsi shards behind a haproxy. Now lets say I’d like to do maintenance
on shard0 and shut it down gracefully. How would I stop haproxy to route new connections to shard0 and only start new conferences on shard1 while still maintaining connections already established on shard0 until all conferences on it end.

BR,
V.

You can set the server in drain mode in haproxy.

2 Likes

Thank you very much. It’s all right there :grin: