6.0
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
- Running Host Management Commands from a Windows System
- Running Host Management Commands from a Linux System
- Running DCLI Commands
- Index
VMware, Inc. 3
Contents
AboutThisBook 5
1 ManagingvSpherewithCommand‐LineInterfaces 7
OverviewofvSphereCommand‐LineInterfaces 8
UsingESXCLIforHostManagement 10
ESXCLISyntax 10
RunningESXCLIvCLICommands 10
ESXCLICommandSupportwhenHostandvCLIVersionDoNotMatch 11
UsingPowerCLItoManageHostsandVirtualMachines 11
UsingDCLItoManagevCenterServices 11
DCLISyntax 12
vCLIPackageContents 12
2 InstallingvCLI 15
InstallationOverview 15
OverviewofLinuxInstallationProcess 16
InstallingthevCLIPackageonRedHatEnterpriseLinux 18
InstallingRequiredPrerequisiteSoftwareforRedHatEnterpriseLinux 18
InstallingthevCLIPackageonRHEL(NoInternetAccess) 18
InstallingvCLIonLinuxSystemswithInternetAccess 19
InstallingRequiredPrerequisiteSoftwareforLinuxSystemswithInternetAccess 19
Installingthe
vCLIPackageonaLinuxSystemwithInternetAccess 20
UninstallingthevCLIPackageonLinux 21
InstallingandUninstallingvCLIonWindows 21
UninstallingthevCLIPackageonWindows 22
EnablingCertificateVerification 22
DeployingvMA 22
3 RunningHostManagementCommandsintheESXiShell 23
ESXiShellAccesswiththeDirectConsole 23
EnablingLocalESXiShellAccess 23
ESXiShellTimeout 24
UsingtheESXiShell 24
RemoteESXiShellAccesswithSSH 24
EnablingSSHfortheESXiShell 25
UsingtheESXiShellwithSSH 25
LockdownMode 26
RunningESXCLICommandsintheESXiShell 26
4 RunningvCLIHostManagementCommands 27
OverviewofRunningvCLIHostManagementCommands 27
TargetingtheHostDirectly 27
TargetaHostThatisManagedbyavCenterServerSystem 28
ProtectingPasswords 28
OrderofPrecedenceforvCLIHostManagementCommands 29
AuthenticatingThroughvCenterServerandvCenterSingleSign‐On 29
Examples 29