Adding Nodes to a Cluster
This procedure describes how to add one or more nodes to an existing cluster.
- Install Spectrum Technology Platform and modules on the server that you want to add to the cluster.
-
Open the following file in a text editor:
server\conf\spectrum-container.properties
- Edit the properties in this file as described in Cluster Properties.
- Save the file.
-
Open the server\conf\spectrum-container.properties
on all other servers in the cluster, and in each file add the host name or IP
address and port of the new server added to the cluster
(
spectrum.cluster.seeds
).For example,Server1:5000,Server2:5000,Server3:5000
. -
Stop all the Spectrum Technology Platform nodes in the cluster. For more information, see Stopping a Cluster. If your cluster has a separated configuration database cluster, you only need to stop the server cluster, not the configuration database cluster.
Warning: To prevent data loss you must stop the cluster by following the procedure described in Stopping a Cluster.
-
Start all nodes in the cluster consecutively.
Note: Make sure that you start node 2 within only a few seconds after starting node 1, and repeat this for each remaining node.