Need assistance on adding additional VideoBridges to Jitsi Meet

Hi everyone, I need a guide on how to add additional videobridges to a default installation of jitsi meet server.
Unfortunately, there is no helpful guide in scale up documentation in here:

Meanwhile, video tutorials are out of date:

I would appreciate if someone can tell me the required configurations in this regard

What exactly is the difficulty you are facing?

The additional JVB is basically the same as the one that is configured by default on the same machine as Jitsi Meet, with the only difference that it connects to the IP address of the Meet machine (and not to localhost) and also it has a different nickname.

Apart from these two things, I think there are no other changes. You can install JVB on the second machine, then compare its config files to the ones of the internal JVB on the Meet machine, and change these two things (IP to connect to and nickname). Of course, the Meet machine has to allow connections to 5222 tcp from the new JVB machine.

P.S.: And of you are asking specifically for the scaling - there are a lot of different scenarios and setups, depending on lot of things - your network setup and whether you are in the cloud, etc. If you have issues with the scaling, please specify what you are using and what breaks

First of all, I really appreciate your kind consideration.
I am planning to have one JMS with 3 JVBs (all in the same vLAN).

  • I’ve installed first JVB and set the domain as JMS hostname during the installation
  • configured “sip-communicator.properties” based on same configuration in JMS; However, I’ve changed these:
    org.jitsi.videobridge.xmpp.user.shard.DISABLE_CERTIFICATE_VERIFICATION=true
    org.jitsi.videobridge.xmpp.user.shard.USERNAME=vb1
    org.jitsi.videobridge.xmpp.user.shard.PASSWORD (same as JMS)

currently I have “tcp 0 0 meet.dkserv:xmpp-client vb1.******:41458 ESTABLISHED” on JMS :slight_smile:

on JVB:
tail /var/log/jitsi/jvb.log
JVB 2022-12-25 12:14:38.531 SEVERE: [21] HealthChecker.run#175: Health check failed in PT0.000095S:
java.lang.Exception: Address discovery through STUN failed
at org.jitsi.videobridge.health.JvbHealthChecker.check(JvbHealthChecker.kt:39)
at org.jitsi.videobridge.health.JvbHealthChecker.access$check(JvbHealthChecker.kt:25)
at org.jitsi.videobridge.health.JvbHealthChecker$healthChecker$1.invoke(JvbHealthChecker.kt:31)
at org.jitsi.videobridge.health.JvbHealthChecker$healthChecker$1.invoke(JvbHealthChecker.kt:31)
at org.jitsi.health.HealthChecker.run(HealthChecker.kt:144)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)

Despite disabling videobridge service on JMS, I can run a meeting even while JVB server is down!!!
in JMS:
systemctl status jitsi-videobridge2
● jitsi-videobridge2.service - Jitsi Videobridge
Loaded: loaded (/lib/systemd/system/jitsi-videobridge2.service; disabled; vendor preset: enabled)
Active: inactive (dead)

These are my questions:

  • how it’s really possible?
  • should I change any other configurations?

Meanwhile, I can provide other logs if you want.

Thank you in advance

Did you test a three-party meeting?