esp_cluster_admin

A command line utility you can use to interact with the cluster manager, in either interactive mode or command line mode.

The esp_cluster_admin utility supports several commands you can use to set up your project environment, encrypt sensitive data, and deploy a keystore. To access the utility, provide your user name and password, unless you chose not to set up authentication.

Once you log into the ESP Server, you can run commands on the server side continually until you exit by executing exit or quit.

Note: In interactive mode, you can log in and execute commands continuously; the utility maintains the session with the cluster manager. In command line mode, the utility logs you out after each command is run; you must log in again to perform the next operation.

By default, the cluster generates TIMEOUT after 20 seconds. You can set timeout in interactive mode or command line mode to avoid the TIMEOUT option appearing after 20 seconds. The SDK provides the timeout value (in seconds) for the START PROJECT or STOP PROJECT commands. If the command returns TIMEOUT, obtain the project status using the GET PROJECT or GET PROJECTS command.

Syntax

Call esp_cluster_admin:
$ESP_HOME/bin/esp_cluster_admin <uri|help|helpi> [credentials] [command] [options] 
If the cluster node is SSL enabled, call esp_cluster_admin:
esp_cluster_admin --uri=esps://<host>:<port> [...]
To administer clusters with RSA authentication, call the esp_cluster_admin:
esp_cluster_admin --uri=esp://<host>:<port> --key-alias=serverkey --storepass=<storepass> --keystore=keystore.jks
To administer clusters with Kerberos or LDAP authentication, call the esp_cluster_admin:
esp_cluster_admin --uri=esp://<host>:<port> --user name=<user name> --password=<password>

Commands