ArangoSync Master

    At least 2 instances must be deployed in each datacenter. One instance will be the “leader”, the other will be an inactive slave. When the leader is gone for a short while, one of the other instances will take over.

    With clusters of a significant size, the sync master will require a significant set of resources. Therefore it is recommended to deploy the sync masters on their own servers, equipped with sufficient CPU power and memory capacity.

    The sync master needs a TLS server certificate and a If you want the service to create a TLS certificate & client authentication certificate, for authenticating with ArangoSync Masters in another datacenter, for every start, add this to the Service section.

    1. ExecStartPre=/usr/bin/sh -c "mkdir -p ${CERTIFICATEDIR}"
    2. --cacert=${CERTIFICATEDIR}/tls-ca.crt \
    3. --host=${PUBLICIP} \
    4. --host=${PRIVATEIP} \

    The ArangoSync Master must be reachable on a TCP port ${MASTERPORT} (used with --server.port option). This port must be reachable from inside the datacenter (by sync workers and operations) and from inside of the other datacenter (by sync masters in the other datacenter).

    Since the sync masters can be CPU intensive when running lots of databases & collections, it is recommended to run them on dedicated machines with a lot of CPU power.

    Consider these machines crucial for you DC2DC replication setup.