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 SSH from the Serengeti Management Server using SSH client tools such as
SSH, PDSH, ClusterSSH, and Mussh, which do not require password authentication.
To connect to Hadoop cluster nodes over SSH, you can use a user name and password authenticated login.
All deployed nodes are password-protected with either a random password or a user-specified password
that was assigned when the cluster was created.
Prerequisites
Use the vSphere Web Client to log in to vCenter Server, and verify that the Serengeti Management Server
virtual machine is running.
VMware vSphere Big Data Extensions Command-Line Interface Guide
10 VMware, Inc.