Drain mode for videobridge?

Sometimes we have to restart our multiple videobridges because there was some change in the configuration. But we don’t want to disturb the ongoing sessions so we have to wait for appropriate time (in the middle of the night) or some rare occasion when there isn’t any conference active on the videobridge service.

Is there some possibility to block/stop videobridge from serving new conferences while waiting the ongoing conferences to end? Or would this be a new feature?

This script would have been installed on your system at /usr/share/jitsi-videobridge/graceful_shutdown.sh.

The script will put videobridge in graceful shutdown mode (it will no longer be allocated new conferences) , then waits for all active conferences to end (plus a 1 minute delay) then stops the videobridge service.

If you don’t want all that and simply want to put videobridge in shutdown mode, you can simply call the /colibri/shutdown endpoint to trigger it. See the script for details.

1 Like

Just what I was looking for! Thank you!

You’re very welcome. Glad I could help.