Installing a Cluster with a Separated Configuration Database

This procedure creates two clusters: one for the server nodes and one for configuration database nodes. The nodes in the server cluster point to the servers in the configuration database cluster for their configuration data. The nodes in the configuration database cluster replicate their data between each other.

The following diagram illustrates this installation scenario:



To install a separate database repository, you first install the configuration database on servers in a cluster, then install the server on nodes in a separate cluster. At least one configuration database must be running before you can install the server.

  1. Place the Spectrum™ Technology Platform installer on the server where you want to install the configuration database.
  2. Double-click installdb.exe.
  3. Follow the prompts to install the configuration database.
  4. After the installation is complete, the configuration database starts up automatically. Verify that the configuration database is fully started before continuing by opening the log file <Spectrum Installation Location>/server/app/repository/logs/wrapper.log and looking for this message:
    INFO  [Server] Pitney Bowes Spectrum(TM) Technology Platform (Version version build) Started
    Important: Do not continue until the configuration database has fully started up. If it fails to start up, troubleshoot the issue before continuing. Also, do not attempt to stop the configuration database until after it has fully started for the first time. Stopping the configuration database before it performs an initial startup can cause your installation to become unusable.
  5. Stop the configuration database. To stop the configuration database, right-click the Spectrum™ Technology Platform icon in the Windows system tray and select Stop Spectrum™. Alternatively, you can use the Windows Services control panel to stop the configuration database by stopping the Spectrum Database service.
  6. Edit the file server/app/conf/spectrum-container.properties as follows:
    spectrum.cluster.name
    • If this is the first node in the cluster, set this to any name you want to give to the cluster. Be sure that the name is unique if you have multiple clusters.
    • If you are adding a node to an existing cluster, set this to the name of the cluster that you want this node to join.
    spectrum.cluster.enabled
    Set this to true.
    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 configuration database server you want to be used to set up new configuration database nodes added to the cluster. The configuration database from the seed server is copied to the node whenever it starts up so that it is synchronized with the cluster.
    Note: If this is the first node in the cluster you may specify seed nodes that are not yet running. If you know the IP addresses of the nodes you want to use as seed nodes, you may enter those now. Otherwise, you will need to return to this properties file once you have the IP addresses of the seed nodes and enter them.

    You can specify multiple comma-separated IP addresses. You should 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.

  7. Save and close the spectrum-container.properties file.
  8. Start the configuration database. To start the configuration database, right-click the Spectrum™ Technology Platform icon in the Windows system tray and select Start Spectrum™. Alternatively, you can use the Windows Services control panel to start the configuration database by starting the Spectrum Database service.
  9. Install the configuration database on additional servers as needed to complete the configuration database cluster.
  10. Install the server cluster. For instructions, see Installing a Cluster.
    Important: When installing each server select the Server only option in the installer and provide the host and port of one or more of the configuration database servers. You can find the port in the file InstallationLocation\server\app\conf\spectrum-container.properties. The port is specified in the spectrum.orientdb.binary.port property.