Run command line operations for the esp_cluster_admin utility supported commands.
Run one command for each instance of the esp_cluster_admin call. Repeat the esp_cluster_admin call as many times as needed.
$ESP_HOME/bin/esp_cluster_admin --uri=esp://<host>:<port> --username=<user-name> --password=<password> --<command> <required-parameters>
$ESP_HOME/bin/esp_cluster_admin --uri=esp://<host>:<port> [...]
esp_cluster_admin --uri=esp://<host>:<port> --key-alias=mytest --storepass=<password> --keystore=<key_store> --<command> [options]
esp_cluster_admin --uri=esp://<host>:<port> --username=<username> --password=<password>
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --get_projectdetail --workspace-name=ws1 --project-name=project1
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --get_streams --workspace-name=ws1 --project-name=project1
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --get_schema --workspace-name=ws1 --project-name=project1 --stream-name=win
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --add_workspace --workspace-name=ws2
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --remove_workspace --workspace-name=ws1 --ignore-error
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --add_project --workspace-name=ws2 --project-name=project1 --ccx=project1.ccx --ccr=project1.ccr
The CCX file is the compiled project file; it is required. The CCR file is the project’s runtime configuration file. Include the CCR file for an HA (active-active) project or a project with affinities.
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --remove_project --workspace-name=ws1 --project-name=project1
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --start_project --workspace-name=ws1 --project-name=project1
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --stop_project --workspace-name=ws1 --project-name=project1
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --stop_node --node-name=node1Stopping a node this way does not stop any projects running on the node unless the node is the only manager node. A warning appears if there are active projects on the node.
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --encrypt_text --text=1234
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --encode_text --text=MyPassword
esp_cluster_admin --uri=esp://localhost:19011 --username=user --password=pass --deploy_key --new-user=user --keystore=mykeystore.jks --storepass=123456 --key-alias=user