Set up Multiple Carbonio Mesh Servers

Within a Carbonio Multi-Server installation, it is possible to install multiple Carbonio Mesh servers, provided they are in odd numbers, e.g., 1, 3, 5 (or even more), because they can always find a quorum and avoid deadlocks.

Requirements

In order to setup additional Carbonio Mesh servers, you need:

  • having installed and configured package service-discover-server on one node (see Section SRV2: MTA, Proxy, and User Management)

  • the /etc/zextras/service-discover/cluster-credentials.tar.gpg file created in the set up of the first instance of service-discovery

Moreover, as mentioned before, make sure to install an odd number of Carbonio Mesh servers.

Installation

Instructions to install multiple Carbonio Mesh servers are the same for each new server installed, simply repeat the following procedure on each of them.

  1. Install the software package.

    # apt install service-discover-server
    
    # dnf install service-discover-server
    
  2. Copy the /etc/zextras/service-discover/cluster-credentials.tar.gpg file from the first Carbonio Mesh server

  3. Launch the setup:

    # service-discover setup-wizard
    

Repeat all the steps above on another node of the Multi-Server.