Set up Multiple service-discover Servers

Within a Carbonio CE Multi-Server installation, it is possible to install multiple service-discover 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 service-discover servers, you need:

  • having installed and configured package service-discover-server on one node (see Section SRV2: Directory Server and DB connection)

  • 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 service-discover servers.

Installation

Instructions to install multiple service-discover servers are the same for each new server installed, simply repeat the following procedure on each new server.

  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 service-discover server

  3. Launch the setup:

    # service-discover setup-wizard
    

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