Adding a Node to a Cluster

Follow this procedure if you have already set up a cluster with a load balancer and at least one Spectrum™ Technology Platform node, and you want to add a new Spectrum™ Technology Platform node.

  1. Install Spectrum™ Technology Platform on a server where you want to host a node. For instructions, see the Spectrum™ Technology Platform Installation Guide.
  2. If the Spectrum™ Technology Platform server is running, stop it.
  3. Edit the file server/app/conf/spectrum-container.properties as follows:
    spectrum.cluster.enabled
    Set this to true.
    spectrum.cluster.name
    Set this to the name of the cluster that you want this node to join.
    spectrum.cluster.address
    Set this to the network interface to which you want this node to bind. Specify 0.0.0.0 if you want the node to bind to all network interfaces.
    spectrum.cluster.seeds

    Set this to the IP address of the Spectrum™ Technology Platform server whose configuration will be replicated on the new node.

    You can specify multiple IP addresses by separating each with a comma. We recommend that you specify multiple seed nodes so that if one is down others can be used to allow the node to join the cluster. The node will attempt to access each seed node in the order listed. If none of the seed nodes can be reached, the node will not join the cluster.

  4. Uncomment the following lines:
    spectrum.runtime.hostname=
    spectrum.runtime.port=

    Modify these to point to the load balancer host name and the port on which you have configured the load balancer to listen.

  5. Save and close the spectrum-container.properties file.
  6. Start the server.
    • On Unix or Linux, change the working directory to the Spectrum™ Technology Platform server's bin directory, source the setup file, then type the following command: ./server.start .
    • On Windows, right-click the Spectrum™ Technology Platform icon in the Windows system tray and select Start Spectrum™.