To ensure that nodes can function together in a cluster, the Cluster Coordinator service must be running on the leader node and all the nodes must be started with references to the host name and port of the Cluster Coordinator service.
You start the Cluster Coordinator service on the leader node only.
It is assumed that the Cluster Coordinator package has been downloaded and installed on the server that hosts the Dgraph designated as the leader node.
To start or stop the Cluster Coordinator service:
After the Cluster Coordinator service has been started on a node, you can start the data store (and its associated Dgraph process) on this node. This will be the leader node.