Cluster configuration

This chapter shows how to configure Raijin to operate in cluster mode.

cluster.json

By default, the system reads cluster configuration from the cluster.conf file which contains cluster configuration in JSON format.

Node list

Node list is a JSON-formatted array of the following structure:

"nodes": [
  {
    "host": "192.168.1.1",
    "port": 2500
  },
  {
    "host": "192.168.1.1",
    "port": 2501
  }
]
host

IPv4 address for a node.

port

The port on which a node accepts connections.