3 Unzip the download.
The download includes the following components.
n
The serengeti-cli-version_number JAR file, which includes the Serengeti Remote CLI Client.
n
The samples directory, which includes sample cluster configurations.
n
Libraries in the lib directory.
4 Open a command shell, and change to the directory where you unzipped the package.
5 Change to the cli directory, and run the following command to enter the Serengeti CLI.
n
For any language other than French or German, run the following command.
java -jar serengeti-cli-version_number.jar
n
For French or German languages, which use code page 850 (CP 850) language encoding when
running the Serengeti CLI from a Windows command console, run the following command.
java -Dfile.encoding=cp850 -jar serengeti-cli-version_number.jar
6 Connect to the Serengeti service.
You must run the connect host command every time you begin a CLI session, and again after the 30
minute session timeout. If you do not run this command, you cannot run any other commands.
a Run the connect command.
connect --host xx.xx.xx.xx:8443
b At the prompt, type your user name, which might be different from your login credentials for the
Serengeti Management Server.
NOTE If you do not create a user name and password for the Serengeti Command-Line Interface
Client, you can use the default vCenter Server administrator credentials. The Serengeti Command-
Line Interface Client uses the vCenter Server login credentials with read permissions on the
Serengeti Management Server.
c At the prompt, type your password.
A command shell opens, and the Serengeti CLI prompt appears. You can use the help command to get help
with Serengeti commands and command syntax.
n
To display a list of available commands, type help.
n
To get help for a specific command, append the name of the command to the help command.
help cluster create
n
Press Tab to complete a command.
Log in to Hadoop Nodes with the Serengeti Command-Line Interface
Client
To perform troubleshooting or to run your management automation scripts, log in to Hadoop master,
worker, and client nodes with password-less SSH from the Serengeti Management Server using SSH client
tools such as SSH, PDSH, ClusterSSH, and Mussh.
You can use a user name and password authenticated login to connect to Hadoop cluster nodes over SSH.
All deployed nodes are password-protected with either a random password or a user-specified password
that was assigned when the cluster was created.
VMware vSphere Big Data Extensions Command-Line Interface Guide
8 VMware, Inc.