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
About This Book
Geing Started with vSphere Command‐Line Interfaces gives an overview of command-line interfaces in
vSphere and gets you started with ESXi Shell commands and vCLI (VMware
®
vSphere Command-Line
Interface) commands. This book also includes instructions for installing vCLI and a reference to connection
parameters.
Intended Audience
This book is for experienced Windows or Linux system administrators who are familiar with vSphere
administration tasks and data center operations.
VMware Technical Publications Glossary
VMware Technical Publications provides a glossary of terms that might be unfamiliar to you. For denitions
of terms as they are used in VMware technical documentation, go to
hp://www.vmware.com/support/pubs.
Related Documentation
The documentation for vCLI is available in the vSphere Documentation Center and on the vCLI
documentation page. Go to hp://www.vmware.com/support/developer/vcli.
n
vSphere Command‐Line Interface Concepts and Examples presents usage examples for many host
management commands, and explains how to set up software and hardware iSCSI, add virtual
switches, place hosts in maintenance mode, and so on. The document includes the same example with
the ESXCLI command and with the vicfg- command.
n
vSphere Command‐Line Interface Reference is a reference to both ESXCLI commands and vicfg-
commands. The vicfg- command help is generated from the POD available for each command, run
pod2html for any vicfg- command to generate individual HTML les interactively. The ESXCLI
reference information is generated from the ESXCLI help.
n
DCLI Reference is a reference to DCLI commands for managing vCenter services.
The documentation for PowerCLI is available in the vSphere Documentation Center and on the PowerCLI
documentation page.
The vSphere SDK for Perl documentation explains how you can use the vSphere SDK for Perl and related
utility applications to manage your vSphere environment.
The vSphere Management Assistant Guide explains how to install and use the vSphere Management Assistant
(vMA). vMA is a virtual machine that includes vCLI and other prepackaged software. See “Deploying
vMA,” on page 24.
VMware, Inc.
5