6.0

Table Of Contents
VMware, Inc. 3
Contents
AboutThisBook 9
1 vSphereCLICommandOverviews 11
Introduction 11
Documentation 12
CommandLineHelp 12
ListofAvailableHostManagementCommands 12
TargetsandProtocolsforvCLIHostManagementCommands 14
SupportedPlatformsforvCLICommands 15
CommandswithanesxcfgPrefix 16
ESXCLIOverview 16
ESXCLICommandsAvailableonDifferentESXiHosts 16
TrustRelationshipRequirementforESXCLICommands 17
DownloadingandInstallingthevCenterServerCertificate 17
Usingthe‐‐cacertsfileOption 17
Usingthe‐‐
thumbprintOption 17
UsingtheCredentialStore 17
UsingESXCLIOutput 18
ConnectionOptionsforvCLIHostManagementCommands 18
ConnectionOptionsforDCLICommands 18
vCLIHostManagementCommandsandLockdownMode 19
2 ManagingHosts 21
Stopping,Rebooting,andExaminingHosts 21
StoppingandRebootingHostswithESXCLI 21
Stopping,Rebooting,andExaminingHostswithvicfghostops 21
EnteringandExitingMaintenanceMode 22
EnteringandExitingMaintenanceModewithESXCLI 22
EnteringandExitingMaintenanceModewithvicfghostops 23
BackingUpConfigurationInformationwithvicfgcfgbackup 23
BackupTasks 23
BackingUpConfigurationData 24
RestoringConfigurationData 24
Using
vicfgcfgbackupfromvMA 24
ManagingVMkernelModules 24
ManagingModuleswithesxclisystemmodule 25
ManagingModuleswithvicfgmodule 25
UsingvicfgauthconfigforActiveDirectoryConfiguration 25
UpdatingHosts 26
3 ManagingFiles 27
IntroductiontoVirtualMachineFileManagement 27
ManagingtheVirtualMachineFileSystemwithvmkfstools 28
UpgradingVMFS3VolumestoVMFS5 29
ManagingVMFSVolumes 29
ManagingDuplicateVMFSDatastores 29
MountingDatastoreswithExistingSignatures 29