Starting a Cluster

Start clusters from the command line or with Studio.

Prerequisites
Set the ESP_HOME environment variable.
Task

When starting a cluster, start manager nodes first, then controller nodes. When the cluster is running, you can deploy projects to them.

  1. From the command line for Windows systems, execute:
    cd %ESP_HOME%\cluster\nodes\node1
    %ESP_HOME%\bin\esp_server.exe --cluster-node node1.xml
    And for Linux and Solaris systems, execute:
    cd $ESP_HOME/cluster/nodes/node1
    $ESP_HOME/bin/esp_server --cluster-node node1.xml
    Note: The directory from which a node is started becomes the working directory for the node. The node looks for the cluster.log.properties file in the working directory.
  2. Retrieve and start workspaces and projects:
    esp_cluster_admin --uri=esps://<host>:<port> --username=<user> --password=<pass>
    Provide the cluster URI and your credentials to complete the command and begin working with cluster administration commands.
    Note: The URI protocol esps indicates that the cluster is SSL-enabled. URIs for clusters that are not SSL-enabled use the protocol esp.
Related tasks
Configuring Clusters