
Getting Started with vSphere Command-Line Interfaces
14 VMware, Inc.
Afterinstallation,youcanrunvCLIcommandsandvSphereSDKforPerlutilityapplicationsfromthe
operatingsystemcommandline.Eachtimeyourunacommand,youspecifythetargetserverconnection
optionsdirectlyorindirectly.YoucanalsowritescriptsandmanageyourvSphereenvironmentusing
thosescripts.
vMA.DeployvMA,avirtualmachinethatadministratorscan usetorunscriptsthatmanagevSphere,on
anESXihost.vMAincludesvCLI,vSphereSDKforPerl,andotherprepackagedsoftwareinaLinux
environment.
vMAsupportsnoninteractivelogin.IfyouestablishanESXihostasatargetserver,youcan
runvCLIand
vSphereSDKforPerlcommandsagainstthatserverwithoutadditionalauthentication.Ifyouestablisha
vCenterServersystemasatargetserver,youcanrunmostvCLIcommandsagainstallESXisystemsthat
servermanageswithoutadditionalauthentication.See“DeployingvMA”onpage 21.
Overview of Linux Installation Process
TheinstallationscriptforvCLIissupportedonthefollowingLinuxdistributions:
RedHatEnterpriseLinux5.5Server(32bitand64bit)
SLES10SP1(32bitand64bit)
SLES11(32bitand64bit)
SLES11SP1(32bitand64bit)
Ubuntu10.04(32bitand64bit)
ThevCLIpackageinstallerinstallsthevCLIscriptsandthevSphereSDKforPerl.Theinstallationproceedsas
follows.
1Theinstallercheckswhetherthefollowingrequiredprerequisitepackagesareinstalledonthesystem:
2Iftherequiredsoftwareisfound,theinstallerproceeds.Otherwise,theinstaller
stopsandinformsyou
thatyoumustinstallthesoftware.See“InstallingRequiredPrerequisiteSoftwareforRedHatEnterprise”
onpage 16and“InstallingRequiredPrerequisiteSoftwareforLinuxSystemswithInternetAccess”on
page 17forinstructions.
3TheinstallercheckswhetherthefollowingPerlmodulesarefound,andwhetherthecorrect
versionis
installed.
Crypt‐SSLeay‐0.55(0.55‐0.9.7or0.55‐0.9.8)
IO‐Compress‐Base‐2.037
Compress‐Zlib‐2.037
IO‐Compress‐Zlib‐2.037
Compress‐Raw‐Zlib‐2.037
Archive‐Zip‐1.28
Data‐Dumper‐2.121
Perl Perlversion5.8.8orversion5.10mustbeinstalledonyoursystem.
OpenSSL ThevCLIrequiresSSLbecausemostconnectionsbetweenthesystemonwhichyourunthecommand
andthetargetvSpheresystemareencryptedwithSSL.
TheOpenSSLlibrary(libssl-devpackage)isnotincludedinthedefaultLinuxdistribution.See
“InstallingRequiredPrerequisiteSoftwareforRedHatEnterprise”onpage 16and“Installing
RequiredPrerequisiteSoftwareforLinuxSystemswithInternetAccess”onpage 17.
LibXML2 UsedforXMLparsing.ThevCLIclientrequires2.6.26orhigherversion.Ifyouhaveanolderversion
installed,pleaseupgradeto2.6.26orhigher.
Thelibxml2package
isnotincludedinthedefaultLinuxdistribution.See“InstallingRequired
PrerequisiteSoftwareforRedHatEnterprise”onpage 16amd“InstallingRequiredPrerequisite
SoftwareforLinuxSystemswithInternetAccess”onpage 17.
uuid Includedinuuid-devforSLES11andine2fsprogsforotherLinuxplatforms.RequiredbytheUUID
Perlmodule.
Komentarze do niniejszej Instrukcji