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.properties

This table describes each property:

Property Description
spectrum.agent.address

Specifies the hostname or IP address of a cluster node.

spectrum.cluster.enabled

Represents whether a clustered configuration is used. Set this to true.

spectrum.repository.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.

Tip: For example, as you install nodes in the cluster, you can for the first node set the node ID to 1, for the second node set the node ID to 2, and for each additional node, increment the node ID by one.
spectrum.repository.server.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.