How ho auto nick name change in every auto scale VM on azure

Dear All,

Please help me how to change NICKNAME in /etc/jitsi/videobridge/sip-communicator.properties, when autoscale work and new VM created on Azure.

Thanks

Not tested on Azure but I use the followings

/etc/systemd/system/jvb-config.service
/usr/local/sbin/jvb-config

jvb.log (2.8 MB)

I used in Azure, Nick name changed but some proble in connection when auto scal audio video stoped .

Please find the attached JVB logs

JVB can’t connect to prosody. Probably there is a configuration issue

can you explane the correct configuration.

If this JVB is not on the same server with JMS (and the prosody service), it can’t connect to prosody using localhost. Needed the prosody’s IP…

yes this JVB not on the same machine , where i put Prosody’s ip in JVB configuration

My JVB configuration

org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=192.168.0.9
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=20.193.153.45
org.jitsi.videobridge.DISABLE_TCP_HARVESTER=true
org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc
org.jitsi.videobridge.xmpp.user.shard.HOSTNAME=192.168.0.4
org.jitsi.videobridge.xmpp.user.shard.DOMAIN=auth.video.mashvirtual.info
org.jitsi.videobridge.xmpp.user.shard.USERNAME=jvb
org.jitsi.videobridge.xmpp.user.shard.PASSWORD=Nd8Nw2mv
org.jitsi.videobridge.xmpp.user.shard.MUC_JIDS=JvbBrewery@internal.auth.video.mashvirtual.info
org.jitsi.videobridge.xmpp.user.shard.MUC_NICKNAME=8df9df0c
org.jitsi.videobridge.xmpp.user.shard.DISABLE_CERTIFICATE_VERIFICATION=true
org.jitsi.videobridge.octo.BIND_ADDRESS=192.168.0.9
org.jitsi.videobridge.octo.PUBLIC_ADDRESS=20.193.153.45
org.jitsi.videobridge.octo.BIND_PORT=4096
org.jitsi.videobridge.REGION=region1

IIRC, JVB_HOSTNAME in /etc/jitsi/videobridge/config

it’s already there

Jitsi Videobridge settings

sets the XMPP domain (default: none)

JVB_HOSTNAME=video.mashvirtual.info

sets the hostname of the XMPP server (default: domain if set, localhost otherwise)

JVB_HOST=

sets the port of the XMPP server (default: 5275)

JVB_PORT=5347

sets the shared secret used to authenticate to the XMPP server

JVB_SECRET=B6Nw2mvN

extra options to pass to the JVB daemon

JVB_OPTS="–apis=,"

adds java system props that are passed to jvb (default are for home and logging config file)

JAVA_SYS_PROPS="-Dconfig.file=/etc/jitsi/videobridge/jvb.conf -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=videobridge -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/videobridge/logging.properties"

Does JVB resolv it correctly?

Sir, Yes it’s resolved.

Could you clarify what happened

Dear Sir,

When new vmss created , taking arround 5-7 minute comming audio and video , i have checked all configuration comming in new vm.

org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=192.168.0.11
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=20.193.153.45
org.jitsi.videobridge.DISABLE_TCP_HARVESTER=true
org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc
org.jitsi.videobridge.xmpp.user.shard.HOSTNAME=192.168.0.4
org.jitsi.videobridge.xmpp.user.shard.DOMAIN=auth.video.mashvirtual.info
org.jitsi.videobridge.xmpp.user.shard.USERNAME=jvb
org.jitsi.videobridge.xmpp.user.shard.PASSWORD=B6Nw2mvN
org.jitsi.videobridge.xmpp.user.shard.MUC_JIDS=JvbBrewery@internal.auth.video.m$
org.jitsi.videobridge.xmpp.user.shard.MUC_NICKNAME=c3cbe308-33b9-4cf7-9b04-9a6e$
org.jitsi.videobridge.xmpp.user.shard.DISABLE_CERTIFICATE_VERIFICATION=true
org.jitsi.videobridge.octo.BIND_ADDRESS=192.168.0.11
org.jitsi.videobridge.octo.PUBLIC_ADDRESS=20.193.153.45
org.jitsi.videobridge.octo.BIND_PORT=4096
org.jitsi.videobridge.REGION=region1

above configuration in new vm also find the screenshots

i think multiple jvb not handled by JVM, Kindly help to resolve this issue , guide me how to add autoscealed multipal jvb in JVM

Is this line static, same for each JVB or is it updated for each JVB according to its network setting?

Sir, PUBLIC_ADDRESS=20.193.153.45 updating according to JVB network