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. 17
Chapter 2 Installing vCLI
XML‐SAX‐0.16
Data‐Dump‐1.15
URI‐1.37
UUID‐0.03
SOAP‐Lite‐0.710.08
HTML‐Parser‐3.60
version‐0.78
Class‐MethodMaker‐2.10
JSON‐PP‐2.27203
Devel‐StackTrace‐131
Class‐Data‐Inheritable‐0.08
Convert‐ASN1‐0.26
Cyrpt‐OpenSSL‐RSA‐0.28
Crypt‐X509‐0.51
Exception‐Class‐1.37
MIME‐Base64‐3.14
UUID‐Random‐0.04
Socket6‐023
IO‐Socket‐INET6‐2.71
Net‐INET6Glue‐0.600_1
Earlierversionsoflibwww‐perlincludetheLWP‐Protocol‐httpsmodule.Morerecentversionsof
libwww‐perldonotincludetheLWP‐Protocol‐httpsmoduleandyouhavetoinstallthatmodule.
4TheinstallerproceedsdependingontheLinuxdistribution.
NOTEIfyouintendtorunvCLIcommandswithSSLcertification,be suretocheckthatLWP::UserAgent
6.00orlaterisinstalled.Theinstallerdoesnotcheckthismodule,andearlierversionsdonotworkwith
SSL.
Linux distribution Installer behavior
RHEL(NoInternet
access)
OnRHEL,theinstallerallowsyoutoinstallPerlmoduleswithCPANifInternetaccessis
available.
IfnoInternetaccessisavailable,andamoduleisnotcurrentlyonyoursystem,theinstaller
installsit.Ifadifferentversionofamoduleisfound,theinstaller
doesnotinstallitand
proceedswithinstallation.Attheendoftheinstallationprocess,theinstallerinformsyou
iftheversiononthesystemdoesnotmatchtherecommendedversion,andrecommends
thatyouinstalltheversionthatvCLIwastestedwith.Youcaninstallthemodulesusingthe
packageinstallerforyourplatform,theinstallationCD,orCPAN.
Note:TheinstallerdoesnotoverwriteexistingversionsofrecommendedPerlmodules.
Youmustexplicitlyupdatethosemodulesyourself.
AllLinux
distributions
(Internetaccess)
TheinstallerproceedsdependingonwhetherthePerlmodulesarefound.
IfarecommendedPerlmoduleisnotfoundatall,theinstallerinstallsitusingCPAN.
YoumustmeettheinstallationprerequisitesortheinstallercannotinstallthePerl
modulesandstops.See“InstallingvCLIonLinuxSystemswithInternetAccess”on
page 19.
Ifalowerversionofarecommendedmoduleisfound,theinstallerdoesnotinstalla
differentversionfromCPANandproceedswithinstallation.Aftercompleting
installation,theinstallerdisplaysamessagethattheversiononthesystemdoesnot
matchtherecommendedversion,andrecommendsthatyouinstalltheversion
vCLI
wastestedwith.Youcaninstallthemodulesusingthepackageinstallerforyour
platform,theinstallationCD,orCPAN.
Ifahigherversionofarecommendedmoduleisfound,theinstallerproceedswith
installationanddoesnotdisplayamessageafterinstallation.
Note:TheinstallerdoesnotoverwriteexistingversionsofrecommendedPerlmodules.
Youmustexplicitlyupdatethosemodulesyourself.