Video Server#

Before installing this Role on the Carbonio CE infrastructure, make sure that you installed the Mailstore & Provisioning, because this role is required by the Carbonio VideoServer.

Install Packages#

Warning

In case you install this Role on a Node which does not feature the Mesh and Directory Role, make sure the service-discover-agent package is installed as well.

# apt install carbonio-videoserver-ce

Then, install the packages.

# dnf install carbonio-videoserver-ce
Janus configuration

Starting from 25.3 release, the /etc/janus/janus.jcfg configuration file will be updated automatically to include the Carbonio VideoServer public IP address (i.e., the one that will accept incoming connections to the Carbonio VideoServer) using a curl call.

Different IPs for outgoing and incoming traffic

This might be incorrect in case the Node setup has different IP addresses for incoming and outgoing traffic, for example:

  • the incoming traffic to the Carbonio VideoServer node is routed using IP address 203.0.113.102

  • the outgoing traffic from the Node to the Internet is routed through IP address 203.0.113.105

In cases like this one, the curl call would return the latter IP (i.e., 105), but the actual IP in the configuration file should be the former (102).

Therefore, after the installation, make sure that the correct public IP address is present in the file: the line containing the nat_1_1_mapping variable should be:

nat_1_1_mapping = "203.0.113.102"

Finally, enable and start the service with the commands

# systemctl enable carbonio-videoserver.service
# systemctl start  carbonio-videoserver.service

Bootstrap Carbonio CE#

Execute:

# carbonio-bootstrap

The bootstrap command will execute a number of tasks and will set up the node. At the end, you will be prompted with a menu and, if you already configured all, you only need to click y for confirmation.

On RHEL 9 only, restart the node to ensure that Carbonio CE service management come under the control of systemd:

# reboot

Join Carbonio Mesh#

Carbonio Mesh will install as an agent, that connects and communicates with the server. The configuration for the agent is created by launching command

# service-discover setup-wizard

This command will:

  • ask for the IP address and netmask of the current Node

  • ask for the Carbonio Mesh secret, which is stored in file /var/lib/service-discover/password on the Directory Leader Node (i.e., the node on which the Mesh server is installed)

    In case the password is lost or the credential file becomes corrupted and unusable, you can reset them using the procedure detailed in section Carbonio Mesh Credentials.

Pending setups#

To complete Carbonio Mesh installation, run

# pending-setups -a

Hint

The secret is stored in file /var/lib/service-discover/password, which is accessible only by the root user.

The command will ask for the password stored in the /var/lib/service-discover/password on the Directory Leader Node (i.e., the node on which the Mesh server is installed).