Advanced Clusters > Command reference
  

Command reference

Use the provided shell commands to help you configure and manage cluster deployments. For example, you can run a command to delete a cluster that was not stopped completely.

Before you run commands

Before you can run commands, verify that you have configured the JAVA_HOME environment variable on the Secure Agent machine and that the Java version on the Secure Agent machine is compatible with JDK 8.

Running commands

Run the commands in the following directory on the Secure Agent machine:
<Secure Agent installation directory>/apps/At_Scale_Server/<version>/mercury/services/shared/kubernetes/kubernetes_<version>/scripts/
The version is the version number of the Elastic Server.
Note: When you run the commands, the current directory must be the directory where the scripts are located.