Cluster Properties
The spectrum-container.properties file (in SpectrumDirectory\server\conf) 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.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 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.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.cluster.seeds | List the IP address or host name for all nodes in a cluster. For example, if your configuration includes three nodes, list seeds as Server1, Server2, Server3. |
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: 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.cluster.mode | Use the default setting, CAUSAL , for a cluster configuration. |
spectrum.repository.server.startup.timeout | Change this setting from the default of 120 to 1200 . |
spectrum.runtime.hostname | Uncomment and set this property to the load balancer host name. |
spectrum.runtime.port | Uncomment and set this property to the port on which you have configured the load balancer to listen. |