Cluster Properties

The spectrum-container.properties file contains the properties that configure a cluster. This table describes how to set the cluster properties for a cluster where the server and configuration database are installed together on each node, and for nodes in the server cluster in a separated configuration database installation. If you are setting up a configuration database cluster, see Cluster Properties for a Configuration Database Cluster.

Property Description
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 the name you want to give to the cluster.

If this is not the first node in the cluster, set this to the name of the cluster that you want this node to join. If you are unsure of the cluster name, check the spectrum.cluster.name property on another node in the cluster.

spectrum.cluster.seeds List the IP address and host name for all seeds of the cluster. For example, if your configuration includes three nodes, list Node1IPorHostName, Node2IPorHostName, Node3IPorHostName.
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 cluster.
Tip: We recommend that the first node you install have a node ID of 1, the second one 2, and so on.
spectrum.runtime.hostname Un-comment this property and set this property to the load balancer host name.
spectrum.runtime.port Un-comment this property and set this property to the port on which you have configured the load balancer to listen.
spectrum.repository.addresses
Note: This property can be commented out, unless a distributed installation is used. For distributed installations, this property must point to all repository nodes.

For clustered standard installations, in which the repository is embedded on the server machine, define this property with each node's IP address. Separate each IP address with a comma. For example, in a three-node cluster, you would specify: spectrum.repository.addresses=node1-IPaddress,node2-IPaddress,node3-IPaddress

In distributed clustered configurations, with separate clusters of servers and repositories, on different machines, specify the IP addresses of each node in the configuration database cluster. Separate each IP address with a comma. For example, in a three-node database cluster, you would specify: spectrum.repository.addresses=dbNode1-IPaddress,dbNode2-IPaddress,dbNode3-IPaddress