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. 15
2
YoucaninstallavCLIpackageonaLinuxoraMicrosoftWindowssystem,ordeploythevSphere
ManagementAssistant(vMA)onanESXihost.
Thischapterincludesthefollowingtopics:
“InstallationOverview”onpage 15
“OverviewofLinuxInstallationProcess”onpage 16
“InstallingthevCLIPackageonRedHatEnterpriseLinux”onpage 18
“InstallingvCLIonLinuxSystemswithInternetAccess”onpage 19
“UninstallingthevCLIPackageonLinux”onpage 21
“InstallingandUninstallingvCLIonWindows”onpage 21
“UninstallingthevCLIPackageonWindows”onpage 22
“EnablingCertificateVerification”onpage 22
“DeployingvMA”onpage 22
Installation Overview
YoucaninstallavCLIpackageonasupportedplatformordeploythevMAvirtualmachineonanESXihost.
InstallablePackage.InstallavCLIpackageonaphysicalorvirtualmachine.See“InstallingthevCLI
PackageonRedHatEnterpriseLinux”onpage 18,“InstallingvCLIonLinuxSystemswithInternet
Access”onpage 19,and“InstallingandUninstallingvCLIonWindows”onpage 21.
ThevCLIinstallerinstallsbothvSphereSDKfor
PerlandvCLIbecausemanyvCLIcommandsrunontop
ofthevSphereSDKforPerl.Thecontentsoftheinstallerpackagediffersfordifferentplatforms.
Installing vCLI
2
Platform Installation Process
Windows TheinstallationpackageincludesvCLI,vSphereSDKforPerl,andprerequisitePerl
modules.
RedHatEnterprise
Linux
Youmustinstallrequiredsoftware.See“InstallingRequiredPrerequisiteSoftwareforRed
HatEnterpriseLinux”onpage 18.
TheinstallerforRHELpromptsyouwhetheryouwanttoinstallothermissingmodules
fromtheInternet
orfromthepackage.
IfyouhaveInternetaccess,youcanhavetheinstallerdownloadPerlmodulesfrom
CPAN.
TheinstallercaninsteadinstallPerlmodulesthatitdoesnotfindonyoursystemfrom
theinstallerpackage.
SLESandUbuntu YoumustinstallrequiredsoftwareandyoumusthaveInternetaccess.See“Installing
RequiredPrerequisiteSoftwareforLinuxSystemswithInternetAccess”onpage 19.
TheinstallerdownloadsotherPerlmodules
fromCPAN.