vCLI Package
Contents
vCLI is not a
command set but a package of several command sets.
You usually install vCLI on
an administration server and run scripts from there against other hosts or, for
DCLI, against
systems. Some vCLI commands can also be run locally on the
host or
the
system.
When you install the vCLI
package, the following command sets become available.
- DCLI commands - These commands are available as part of vCLI, from the , and from the command-prompt of a Windows installation.
- Host Management commands - Includes the following command sets.
- ESXCLI commands - The ESXCLI commands included in the vCLI package are equivalent to the ESXCLI commands available in the .
- vicfg-commands - Thevicfg-command set is similar to the deprecatedesxcfg-command set in the .vicfg-commands are still included in this release but are deprecated. Migrate to ESXCLI where possible.
- Miscellaneous commands - A small set of commands for managing and monitoring hosts, includingvmkfstoolsandresxtop. In many cases, equivalent but slightly different commands are available in the .
is
intended for experienced users only. Minor errors in the shell can result in
serious problems. Instead of running commands directly in the
, use
vCLI or
.
You can run vCLI commands from
a Windows or Linux system, or use vMA.
- Install the vCLI command set on the Windows or Linux system from which you want to administer your systems and run vCLI commands. See Installing vCLI.
- Deploy a vMA virtual machine to an system and run vCLI commands from there.
After you have installed the
vCLI package, you can run the host management commands in the set against
hosts. You
can run the DCLI commands against a server by specifying the IP address or host
name and can manage the services associated with that server.
You must specify connection
parameters when you run a vCLI command. The connection parameters differ for
DCLI commands and for other commands. See
Running vCLI Host Management Commands
and
Using DCLI Commands.