The Endeca Server has a command-line interface that lets you control nodes in the Endeca Server cluster, data domains hosted in the Endeca Server cluster, and the data domain nodes.
The endeca-cmd utility requires a Java run-time environment (JRE) to run. Therefore, verify that you have included the bin directory of the installed JDK at the beginning of the PATH variable definition on your system. Alternatively, check that you have correctly set the JAVA_HOME environment variable.
endeca-cmd command [global options] [command options]
The endeca-cmd command uses two Web Service interfaces of the Endeca Server: the Cluster Web Service and the Manage Web Service. This means that all endeca-cmd commands can be issued programmatically, either using the Web Service requests directly (such as in soapUI), or by generating Java stubs from the Web Service requests and then using the Java methods for generating these requests. For information on the Cluster Web Service and Manage Web Service, see the Oracle Endeca Server Cluster Guide.
You can issue the endeca-cmd commands from the directory in which the endeca-cmd script is installed on any of the Endeca Server nodes. There are two versions of the endeca-cmd script: one for SSL use and one for non-SSL use.
C:\Oracle\Middleware\EndecaServer7.6.0\endeca-cmd
The location on Linux is also in the Endeca Server installation directory.
Use this version of the script if your Endeca Server deployment is installed in a non-SSL environment.
C:\Oracle\Middleware\user_projects\domains\endeca_domain\EndecaServer\bin
This version allows you to issue endeca-cmd commands without having to specify the location of the SSL certificates with the --keystore and --truststore options. It does so by making use of the EndecaCmd.properties file, which is located by default in the $DOMAIN_HOME/config directory.
host=Web007 port=7002 root=/endeca-server keystore=C:/Oracle/Middleware/user_projects/domains/endeca_domain/config/ssl/endecaServerClientCert.ks truststore=C:/Oracle/Middleware/user_projects/domains/endeca_domain/config/ssl/endecaServerTrustStore.ks ssl=true
By default, you are prompted for the keystore password whenever you issue a command. This is the password that you specified with the --sslPassphrase flag of the generate_ssl_keys utility. Note that you can override the prompt by providing the password with the --password option.