6.0

Table Of Contents
Getting Started with vSphere Command-Line Interfaces
16 VMware, Inc.
Afterinstallation,youcanrunvCLIcommandsandvSphereSDKforPerlutilityapplicationsfromthe
operatingsystemcommandline.Eachtimeyourunacommand,youspecifythetargetserverconnection
optionsdirectlyorindirectly.YoucanalsowritescriptsandmanageyourvSphereenvironmentusing
thosescripts.
vSphereManagementAssistant(vMA).DeployvMA,avirtualmachinethatadministratorscanuseto
runscriptsthatmanagevSphere,onanESXihost.vMAincludesvCLI,vSphereSDKforPerl,andother
prepackagedsoftwareinaLinuxenvironment.
vMAsupportsnoninteractivelogin.IfyouestablishanESXihostasatarget
server,youcanrunvCLIhost
managementcommandsandvSphereSDKforPerlcommandsagainstthatserverwithoutadditional
authentication.IfyouestablishavCenterServersystemasatargetserver,youcanrunmostvCLI
commandsagainstallESXisystemsthatservermanageswithoutadditionalauthentication.See
“DeployingvMA”
onpage 22.
Overview of Linux Installation Process
TheinstallationscriptforvCLIissupportedontheLinuxdistributionsthatarelistedintheReleaseNotes.
ThevCLIpackageinstallerinstallsthevCLIscriptsandthevSphereSDKforPerl.Theinstallationproceedsas
follows.
1Theinstallercheckswhetherthefollowingrequiredprerequisitepackagesareinstalledonthesystem:
2Iftherequiredsoftwareisfound,theinstallerproceeds.Otherwise,theinstallerstopsandinformsyou
thatyoumustinstallthesoftware.See“InstallingRequiredPrerequisiteSoftwareforRedHatEnterprise
Linux”onpage 18and“InstallingRequiredPrerequisiteSoftwa reforLinuxSystemswithInternet
Access”onpage 19forinstructions.
3Theinstaller
checkswhetherthefollowingPerlmodulesarefound,andwhetherthecorrectversionis
installed.
CryptSSLeay0.55(0.550.9.7or0.550.9.8)
IOCompressBase2.037
CompressZlib2.037
IOCompressZlib2.037
CompressRawZlib2.037
ArchiveZip1.28
DataDumper2.121
XMLLibXML1.63
libwwwperl5.805
LWPProtocolhttps6.02
XMLLibXMLCommon0.13
XMLNamespaceSupport1.09
Perl Perlversion5.8.8orversion5.10mustbeinstalledonyoursystem.
OpenSSL ThevCLIrequiresSSLbecausemostconnectionsbetweenthesystemonwhichyourunthecommand
andthetargetvSpheresystemareencryptedwithSSL.
TheOpenSSLlibrary(libssl-develpackage)isnotincludedinthedefaultLinuxdistribution.See
“InstallingRequiredPrerequisiteSoftwareforRedHatEnterpriseLinuxonpage 18and“Installing
RequiredPrerequisiteSoftwareforLinuxSystemswithInternetAccess”onpage 19.
LibXML2 UsedforXMLparsing.ThevCLIclientrequires2.6.26orhigherversion.Ifyouhaveanolderversion
installed,pleaseupgradeto2.6.26orhigher.
Thelibxml2
packageisnotincludedinthedefaultLinuxdistribution.See“InstallingRequired
PrerequisiteSoftwareforRedHatEnterpriseLinux”onpage 18and“InstallingRequiredPrerequisite
SoftwareforLinuxSystemswithInternetAccessonpage 19.
uuid Includedinuuid-develforSLES11andine2fsprogs-develforotherLinuxplatforms.Requiredby
theUUID
Perlmodule.