Adding a Node to a Cluster

Expand your cluster by creating and adding nodes.

Install ESP on a clean host—that is, a machine with no exising ESP installations.

  1. Use the SAP Sybase Event Stream Processor installer to install the software on a clean host. See the Installation Guide for your platform for helpful information.
  2. In a text editor, open <node-name>.xml, the new node’s cluster configuration file. Its default location is ESP_HOME/cluster/nodes/<node-name>/<node-name>.xml.
  3. In the Cache | Managers section of the file, look for a line similar to this:
    <Manager>localhost:19001</Manager>
  4. Change localhost to the name of the machine on which you installed the new node. Save the file but do not close it.
  5. Edit the <node-name>.xml files for the existing nodes in the cluster:
    1. Copy the Manager line from the new node into the Cache | Managers sections of each of the files.
    2. Copy the Manager lines from the other nodes into the new node’s <node-name>.xml.
    The Managers section of every copy of <node-name>.xml in the cluster contains an identical set of Manager elements. (This enables the nodes to discover and join the cluster cache.) For example, in a cluster with manager nodes named dino, astro, and scooby, the Manager elements might look like this:
        <Managers enabled="true">
          <Manager>dino:19001</Manager>
          <Manager>astro:19002</Manager>
          <Manager>scooby:19003</Manager>
        </Managers>
  6. Save and close all the <node-name>.xml files.
  7. Start the new node.
    If the other nodes are running, there is no need to shut them down; they will discover the new node.
Related tasks
Starting a Node or Cluster