Create cluster manually (from single-server installation)

Sometimes it is the case that a single server installation, where all IQ4docs components are installed on one computer, must be extended to a form cluster. In the following we will talk about this installation as the first cluster node (server1).

For fail-safe operation, MongoDB and RabbitMQ should be installed on at least 3 servers. The use of an odd number of servers here is mandatory – using more than 3 servers is not essential but will increase the overall performance to some extent. With an even number of servers, if a connection is broken, there is no guarantee in every case that the remaining parts will be able to decide, based on a majority of nodes, whether the role of the primary node can be delegated. This then requires manual intervention and contradicts the overall concept.

After the setup, restart all computers involved.