Cluster Properties for a Configuration Database Cluster

A configuration database cluster is a cluster where each node contains the configuration database only, and not the server. If you are setting up a cluster where the server and configuration database are installed together on each node, or are setting up a server-only cluster, see Cluster Properties.

The settings for a configuration database cluster are located in this properties file:

DatabaseDirectory\repository\spectrum-container.propertiesDatabaseDirectory/repository/spectrum-container.properties

This table describes each property:

Property Description
spectrum.agent.address Specifies the hostname or IP address of a cluster node.
spectrum.cluster.enabled Indicates whether a clustered configuration is used. Set this to true.
spectrum.cluster.name If this is the first node in the cluster, set this to any name you want to give to the configuration database cluster. Be sure that the name is unique if you have multiple clusters.

If you are adding a node to an existing cluster, set this to the name of the configuration database cluster that you want this node to join.

spectrum.cluster.nodeID Set this to an integer value to use as the ID for this node. The ID must be an integer and must be unique among all nodes in the database cluster. For example, you could set the node ID for the first node to 1, the second node's node ID to 2, and the third node's node ID to 3.
spectrum.cluster.seeds List the IP address or host name and port for all nodes in a cluster. For example, if your configuration includes three nodes, list seeds as Server1:5000,Server2:5000,Server3:5000.
spectrum.repository.cluster.mode Set this to CAUSAL on nodes that contain a database only.