6.0
Table Of Contents
- vSphere SDK for Perl Installation Guide
- Contents
- Installing vSphere SDK for Perl
- Installation Overview
- Overview of Linux Installation Process
- Installing the vSphere SDK for Perl Package on Red Hat Enterprise Linux
- Installing vSphere SDK for Perl on Linux Systems with Internet Access
- Uninstalling the vSphere SDK for Perl Package on Linux
- Installing and Uninstalling vSphere SDK for Perl on Windows
- Enabling Certificate Verification
- Deploying vMA
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.IfyouestablishavCenterServ ersystemasatargetserver,youcanrunmostvSphereSDK
forPerlcommandsagainstallESXisystemsthatservermanageswithoutadditionalauthentication.
See
“DeployingvMA”onpage 22.
Overview of Linux Installation Process
TheinstallationscriptforvSphereSDKforPerlissupportedontheLinuxdistributionsthatarelistedinthe
ReleaseNotes.
ThevSphereSDKforPerlpackageinstallerinstallsthevCLIscriptsandthevSphereSDKforPerl.The
installationproceedsasfollows.
1Theinstallercheckswhetherthefollowingrequiredprerequisite
packagesareinstalledonthesystem:
2Iftherequiredsoftwareisfound,theinstallerproceeds.Otherwise,theinstallerstopsandinformsyou
thatyoumustinstallthesoftware.See“InstallingRequiredPrerequisiteSoftwareforRedHatEnterprise
Linux”onpage 18and“InstallingRequiredPrerequisiteSoftwareforLinuxSystemswithInternet
Access”
onpage 19forinstructions.
3TheinstallercheckswhetherthefollowingPerlmodulesarefound,andwhetherthecorrectversionis
installed.
RedHatEnterprise
Linux
Youmustinstallrequiredsoftware.See“InstallingRequiredPrerequisiteSoftwareforRed
HatEnterpriseLinux”onpage 18.
TheinstallerforRHELpromptsyouwhetheryouwanttoinstallothermissingmodules
fromtheInternetorfromthepackage.
IfyouhaveInternetaccess,youcanhavetheinstallerdownloadPerlmodulesfrom
CPAN.
TheinstallercaninsteadinstallPerlmodulesthatitdoesnotfindonyoursystemfrom
theinstallerpackage.
SLESandUbuntu YoumustinstallrequiredsoftwareandyoumusthaveInternetaccess.See“Installing
RequiredPrerequisiteSoftwareforLinuxSystemswithInternetAccess”onpage 19.
TheinstallerdownloadsotherPerlmodules
fromCPAN.
Platform Installation Process
Perl Perlversion5.8.8orversion5.10mustbeinstalledonyoursystem.
OpenSSL ThevSphereSDKforPerlrequiresSSLbecausemostconnectionsbetweenthesystemonwhichyou
runthecommandandthetargetvSpheresystemareencryptedwithSSL.
TheOpenSSLlibrary(libssl-develpackage)isnotincludedinthedefault
Linuxdistribution.See
“InstallingRequiredPrerequisiteSoftwareforRedHatEnterpriseLinux”onpage 18and“Installing
RequiredPrerequisiteSoftwareforLinuxSystemswithInternetAccess”onpage 19.
LibXML2 UsedforXMLparsing.ThevCLIclientrequires2.6.26orhigherversion.Ifyouhaveanolderversion
installed,pleaseupgradeto2.6.26or
higher.
Thelibxml2packageisnotincludedinthedefaultLinuxdistribution.See“InstallingRequired
PrerequisiteSoftwareforRedHatEnterpriseLinux”onpage 18and“InstallingRequiredPrerequisite
SoftwareforLinuxSystemswithInternetAccess”onpage 19.
uuid Includedinuuid-develforSLES11andine2fsprogs-develforotherLinuxplatforms.Required
by
theUUIDPerlmodule.