6.5
Table Of Contents
- Getting Started with vSphere Command-Line Interfaces
- Contents
- About This Book
- Managing vSphere with Command-Line Interfaces
- Installing vCLI
- Running Host Management Commands in the ESXi Shell
- Running vCLI Host Management Commands
- Overview of Running vCLI Host Management Commands
- Protecting Passwords
- Authenticating Through vCenter Server and vCenter Single Sign-On
- Authenticating Directly to the Host
- Trust Relationship Requirement for ESXCLI Commands
- Common Options for vCLI Host Management Command Execution
- Using vCLI Commands in Scripts
- Run Host Management Commands from a Windows System
- Run Host Management Commands from a Linux System
- Running DCLI Commands
- Index
Running DCLI Commands 5
You can run DCLI commands as vCLI commands, from the vCenter Server Appliance shell, and from the
command prompt of a vCenter Server Windows installation.
I Authentication options for DCLI commands dier from options for vCLI host management
commands. Users who run DCLI commands to monitor and manage vCenter services must have the
appropriate privileges.
n
When you run DCLI commands included with vCLI, you must be a user who can authenticate to
vCenter Single Sign-On and who is also authorized to perform the service, for example, manage
vCenter tags.
n
When you run DCLI commands from the vCenter Server Appliance shell, DCLI enables you to run
some commands without additional authentication. However, for management of certain services, you
might be prompted for a user name and password.
This chapter includes the following topics:
n
“Overview of Running DCLI Commands,” on page 45
n
“Using DCLI Commands,” on page 48
n
“Input, Output, and Return Codes,” on page 50
n
“Using DCLI with Variables,” on page 50
n
“Using DCLI Interactive Mode,” on page 50
n
“DCLI SSL Connection,” on page 51
n
“DCLI History File,” on page 51
Overview of Running DCLI Commands
You can run DCLI commands interactively or in scripts in several ways.
n
Run DCLI commands locally from the vCenter Server Appliance shell.
n
Run DCLI commands locally from your vCenter Server Windows command prompt.
n
Run DCLI commands that are included in the vCLI package.
n
Open a command prompt on a Linux or Windows system on which you installed vCLI. Enter
commands into that command prompt, specifying connection options.
n
Access the vMA Linux console. DCLI does not support the vi-fastpass connections available from
vMA.
VMware, Inc.
45