6.0

Table Of Contents
Getting Started with vSphere Command-Line Interfaces
22 VMware, Inc.
7ClickInstalltoproceedwiththeinstallation.
Theinstallationmighttakeseveralminutestocomplete.
8 Rebootyoursystem.
Withoutreboot,pathsettingsmightnotbecorrectonyourWindowsplatform.
Uninstalling the vCLI Package on Windows
YoucanuninstallthevCLIpackageasyouwouldotherprograms.
To uninstall vCLI on Windows
1FindtheoptionforaddingandremovingprogramsontheWindowsoperatingsystemyouareusing.
2Inthepanelthatappears,selectVMwarevSphereCLI,andclickRemove.
3ClickYeswhenprompted.
ThesystemuninstallsthevSphereSDK
forPerl,thevCLI,andallprerequisitesoftware.
Enabling Certificate Verification
ThevSphereSDKforPerlandvCLIuseCrypt::SSLEaytosupportcertificateverification.Crypt::SSLEay
allowsverificationofcertificatessignedbyaCertificateAuthority(CA)ifyousetthefollowingtwovariables:
HTTPS_CA_FILETheCAfile.
HTTPS_CA_DIRTheCAdirectory.
SeetheCrypt::SSLEaydocumentationfordetailsonsetup.
Deploying vMA
Asanalternativetoapackageinstallation,youcandeployvMAonanESXihostandrunvCLIcommandsfrom
there.vMAisavirtualmachineyoucanusetorunscriptstomanageESXisystems.vMAincludesaLinux
environment,vCLI,andotherprepackagedsoftware.
SettingupvMAconsistsof
afewtasks.ThevSphereManagementAssistantGuidediscusseseachtaskindetail.
1DeployvMAtoanESXisystemthatmeetsthehardwareprerequisites.
SeethevSphereManagementAssistantGuideforprerequisitesanddeploymentdetails.
2ConfigurevMA.
WhenyoubootvMA,youmustspecifythefollowingrequiredconfigurationinformationwhen
prompted:
Networkinformation(thedefaultisoftenacceptable)
HostnameforvMA.
Passwordfortheviadminuser.TheviadminuserhassuperuserprivilegesonvMA.Youcannotlog
intovMAastherootuser.
3 (Optional)AddavCenterServersystemoroneormoreESXisystemsastargets.YouconfigurevMAfor
ActiveDirectoryauthenticationandcanthenaddESXi
andvCenterServersystemstovMAwithout
havingtostorepasswordsinthevMAcredentialstore.SeethevSphereManagementAssistantGuide.
CAUTIONIfthetwoenvironmentvariablesHTTPS_CA_FILEandHTTPS_CA_DIRaresetincorrectlyorifa
problemwiththecertificateexists,vCLIcommandsdonotcomplete,anddonotprinterrororwarning
messages.UseHTTPS_DEBUGfortroubleshootingbeforerunningvCLIcommands.