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 | Indicates 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, you can set the node ID for first node that you install to 1, the node ID for the second node to 2, and increment the ID by one for each additional node.
|
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
|
spectrum.repository.cluster.mode | Set this to CAUSAL on nodes that contain a database only. |