6.0

Table Of Contents
VMware, Inc. 3
Contents
AboutThisBook 5
1 ManagingvSpherewithCommandLineInterfaces 7
OverviewofvSphereCommandLineInterfaces 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
AuthenticatingThroughvCenterServerandvCenterSingleSignOn 29
Examples 29