
VMware, Inc. 21
Chapter 2 Installing vCLI
Enabling Certificate Verification
ThevSphereSDKforPerlandvCLIuseCrypt::SSLEaytosupportcertificateverification.Crypt::SSLEay
allowsverificationofcertificatessignedbyaCertificateAuthority(CA)ifyousetthefollowingtwovariables:
HTTPS_CA_FILE–TheCAfile.
HTTPS_CA_DIR–TheCAdirectory.
SeetheCrypt::SSLEaydocumentationfordetailsonsetup.
Deploying vMA
Asanalternativetoapackageinstallation,youcandeployvMAonanESXihostandrunvCLIcommandsfrom
there.vMAisavirtualmachineyoucanusetorunscriptstomanageESXisystems.vMAincludesaLinux
environment,vCLI,andotherprepackagedsoftware.
SettingupvMAconsistsof
afewtasks.ThevSphereManagementAssistantGuidediscusseseachtaskindetail.
1DeployvMAtoanESXisystemthatmeetsthehardwareprerequisites.
SeethevSphereManagementAssistantGuideforprerequisitesanddeploymentdetails.
2ConfigurevMA.
WhenyoubootvMA,youmustspecifythefollowingrequiredconfigurationinformationwhen
prompted:
Networkinformation(thedefaultisoftenacceptable)
HostnameforvMA.
Passwordforthevi‐adminuser.Thevi‐adminuserhassuperuserprivilegesonvMA.Youcannotlog
intovMAastherootuser.
3 (Optional)AddavCenterServersystemoroneormoreESXisystemsastargets.YouconfigurevMAfor
ActiveDirectoryauthenticationandcanthenaddESXi
andvCenterServersystemstovMAwithout
havingtostorepasswordsinthevMAcredentialstore.SeethevSphereManagementAssistantGuide.
CAUTIONIfthetwoenvironmentvariablesHTTPS_CA_FILEandHTTPS_CA_DIRaresetincorrectlyorifa
problemwiththecertificateexists,vCLIcommandsdonotcomplete,anddonotprinterrororwarning
messages.UseHTTPS_DEBUGfortroubleshootingbeforerunningvCLIcommands.
Komentáře k této Příručce