VMware ESXI ESXI 6.0 Installation guide

Category
Software
Type
Installation guide

This manual is also suitable for

vSphere SDK for Perl Installation Guide
ESXi 6.0
vCenter Server 6.0
This document supports the version of each product listed and
supports all subsequent versions until the document is replaced
by a new edition. To check for more recent editions of this
document, see http://www.vmware.com/support/pubs.
EN-001468-00
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
2 VMware, Inc.
vSphere SDK for Perl Installation Guide
You can find the most up-to-date technical documentation on the VMware Web site at:
http://www.vmware.com/support/
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
docfeedback@vmware.com
Copyright © 2007–2015 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and
intellectual property laws. VMware products are covered by one or more patents listed at
http://www.vmware.com/go/patents.
VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks
and names mentioned herein may be trademarks of their respective companies.
VMware, Inc. 3
Contents
AboutThisBook 5
1 InstallingSDKforPerl 7
InstallationOverview 7
OverviewofLinuxInstallationProcess 8
InstallingtheSDKforPerlPackageonRedHatEnterpriseLinux 10
InstallingRequiredPrerequisiteSoftwareforRedHatEnterpriseLinux 10
InstallingtheSDKforPerlPackageonRHEL(NoInternetAccess) 10
InstallingSDKforPerlonLinuxSystemswithInternetAccess 11
InstallingRequiredPrerequisiteSoftwareforLinux
SystemswithInternetAccess 11
InstallingtheSDKforPerlPackageonaLinuxSystemwithInternetAccess 12
UninstallingtheSDKforPerlPackageonLinux 13
InstallingandUninstallingSDKforPerlonWindows 13
UninstallingtheSDKforPerlPackageonWindows 14
EnablingCertificateVerification 14
DeployingvMA 14
vSphere SDK for Perl Installation Guide
4 VMware, Inc.
VMware, Inc. 5
Thisbook,vSphereSDKforPerlInstallationGuide,providesinformationaboutinstallingthevSphereSDKfor
Perl.VMware
®
providesseveralSDKproducts,eachofwhichtargetsdifferentdevelopercommunitiesand
platforms.ThisguideisforadministratorswhowanttorunvSphereSDKforPerlscriptsonvSpheresystems
andfordeveloperswhowanttodevelopvSphereSDKforPerlscriptsforvSpheresystems.
Toviewthecurrentversionof
thisbookaswellasallVMwaredocumentation,goto
http://www.vmware.com/support/pubs.
Revision History
Thisbookisrevisedwitheachreleaseoftheproductorwhennecessary.Arevisedversioncancontainminor
ormajorchanges.Table 1summarizesthesignificantchangesineachversionofthisbook.
About This Book
Table 1. Revision History
Revision Description
11MAR2015 vSphere6.0Release.Removedthechapter“InstallingvSphereSDKforPerlfromSourceCode”.
VMwareisnolongertestingthisprocess.
19SEP2013 vSphere5.5versionoftheproduct.Nochangesinthisrelease.
10SEP2012 vSphere5.1versionoftheproduct.Nochangesinthisrelease.
15MAR2012 vSphere5.0Update1versionofthe
product.OnRHEL,theinstallernolongerusesCPANbutproceeds
likethevSphere4.1installer.AllotherLinuxinstallersproceedlikethevSphere5.0installer.This
documentreflectsthechangedbehavior.
22AUG2011 vSphere5.0versionoftheproduct.OnLinux,installerstopsifrequiredsoftwareisnotavailable.The
Linuxinstaller
requiresInternetaccessandinstallsotherprerequisitesthroughCPAN.
13JUL2010 vSphere4.1versionoftheproduct.OnLinux,installerdoesnotrunifrequiredprerequisitesoftwareis
notavailable.LinuxinstallerinstallsrecommendedPerlmodulesifnoversioniscurrentlyinstalled.
LinuxinstallernolongeroverwritesexistingPerlmodules.
Allinformationabout
thevSphereManagementAssistantcannowbefoundinthevSphereManagement
AssistantGuide.
21MAY2009 vSphere4.0versionoftheproduct.UsesthevSphereManagementAssistantasthevSphereSDKforPerl
appliance.TheinstallernowincludesbothvSphereSDKforPerlandthevSphereCommandLine
Interface(vSphereCLI).
Added
credentialstorelibraryandsampletothevSphereSDK.
25JUL2008 UpdateforVIPerlToolkit1.6.Addednewoptionsforinvocation,changedsupportedplatforms.
10JAN2008 UpdateforVIPerlToolkit1.5.Includesmiscellaneousdocumentationchanges.
vSphereSDKforPerlnolongeravailableonsourceforge.
VirtualappliancenowinOFVformat.
15JAN2007 First
versionofthevSphereSDKforPerl1.0documentation.
vSphere SDK for Perl Installation Guide
6 VMware, Inc.
Intended Audience
ThisbookisintendedforanyonewhoinstallsthevSphereSDKforPerl.Allusersmustunderstandhowto
modifyandrunPerlscriptsontheplatformoftheirchoice.UserswhowanttoinstalltheSDKforPerlfrom
sourcecodemustalsounderstandthesourcecodeinstallationprocess.
VMware Technical Publications Glossary
VMwareTechnicalPublicationsprovidesaglossaryoftermsthatmightbeunfamiliartoyou.Fordefinitions
oftermsastheyareusedinVMwaretechnicaldocumentation,gotohttp://www.vmware.com/support/pubs.
Document Feedback
VMwarewelcomesyoursuggestionsforimprovingourdocumentation.Sendyourfeedbackto
Technical Support and Education Resources
Thefollowingsectionsdescribethetechnicalsupportresourcesavailabletoyou.Toaccessthecurrentversions
ofotherVMwarebooks,gotohttp://www.vmware.com/support/pubs.
Online and Telephone Support
Touseonlinesupporttosubmittechnicalsupportrequests,viewyourproductandcontractinformation,and
registeryourproducts,gotohttp://www.vmware.com/support.
Support Offerings
TofindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds,goto
http://www.vmware.com/support/services.
VMware Professional Services
VMwareEducationServicescoursesofferextensivehandsonlabs,casestudyexamples,andcoursematerials
designedtobeusedasonthejobreferencetools.Coursesareavailableonsite,intheclassroom,andlive
online.Foronsitepilotprograms andimplementationbestpractices,VMwareConsultingServicesprovides
offeringsto helpyouassess,plan,
build,andmanageyourvirtualenvironment.Toaccessinformationabout
educationclasses,certificationprograms,andconsultingservices,gotohttp://www.vmware.com/services.
VMware, Inc. 15
2
YoucaninstallavSphereSDKforPerlpackageonaLinuxoraMicrosoftWindowssystem,ordeploythe
vSphereManagementAssistant(vMA)onanESXihost.
Thischapterincludesthefollowingtopics:
“InstallationOverview”onpage 15
“OverviewofLinuxInstallationProcess”onpage 16
“InstallingthevCLIPackageonRedHatEnterpriseLinux”onpage 18
“InstallingvCLIonLinuxSystemswithInternetAccess”onpage 19
“UninstallingthevCLIPackageonLinux”onpage 21
“InstallingandUninstallingvCLIonWindowsonpage 21
“UninstallingthevCLIPackageonWindowsonpage 22
“EnablingCertificateVerificationonpage 22
“DeployingvMA”onpage 22
Installation Overview
YoucaninstallavSphereSDKforPerlpackageonasupportedplatformordeploythevMAvirtualmachine
onanESXihost.
InstallablePackage.InstallavSphereSDKforPerlpackageonaphysicalorvirtualmachine.See
“InstallingthevCLIPackageonRedHatEnterpriseLinux”onpage 18,“InstallingvCLIonLinuxSystems
withInternetAccess”onpage 19,and“InstallingandUninstallingvCLIonWindows”onpage 21.
ThevSphereSDKforPerl
installerinstallsbothvSphereSDKforPerlandvCLIbecausemanyvCLI
commandsrunontopofthevSphereSDKforPerl.Thecontentsoftheinstallerpackagediffersfor
differentplatforms.
Installing vSphere SDK for Perl
2
Platform Installation Process
Windows TheinstallationpackageincludesvCLI,vSphereSDKforPerl,andprerequisitePerl
modules.
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
“InstallingRequiredPrerequisiteSoftwareforRedHatEnterpriseLinuxonpage 18and“Installing
RequiredPrerequisiteSoftwareforLinuxSystemswithInternetAccess”onpage 19.
LibXML2 UsedforXMLparsing.ThevCLIclientrequires2.6.26orhigherversion.Ifyouhaveanolderversion
installed,pleaseupgradeto2.6.26or
higher.
Thelibxml2packageisnotincludedinthedefaultLinuxdistribution.See“InstallingRequired
PrerequisiteSoftwareforRedHatEnterpriseLinux”onpage 18and“InstallingRequiredPrerequisite
SoftwareforLinuxSystemswithInternetAccessonpage 19.
uuid Includedinuuid-develforSLES11andine2fsprogs-develforotherLinuxplatforms.Required
by
theUUIDPerlmodule.
VMware, Inc. 17
Chapter 2 Installing vSphere SDK for Perl
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
XMLSAX0.16
DataDump1.15
URI1.37
UUID0.03
SOAPLite0.710.08
HTMLParser3.60
version0.78
ClassMethodMaker2.10
JSONPP2.27203
DevelStackTrace131
ClassDataInheritable0.08
ConvertASN10.26
CyrptOpenSSLRSA0.28
CryptX5090.51
ExceptionClass1.37
MIMEBase643.14
UUIDRandom0.04
Socket6023
IOSocketINET62.71
NetINET6Glue0.600_1
EarlierversionsoflibwwwperlincludetheLWPProtocolhttpsmodule.Morerecentversionsof
libwwwperldonotincludetheLWPProtocolhttpsmoduleandyouhavetoinstallthatmodule.
NOTEIfyouintendtorunvCLIcommandswithSSLcertification,be suretocheckthatLWP::UserAgent
6.00orlaterisinstalled.Theinstallerdoesnotcheckthismodule,andearlierversionsdonotworkwith
SSL.
Getting Started with vSphere Command-Line Interfaces
18 VMware, Inc.
4TheinstallerproceedsdependingontheLinuxdistribution.
5AfterallrequiredsoftwareandallprerequisitePerlmodulesareinstalled,youcaninstallvSphereSDK
forPerl.See“InstallingthevCLIPackageonRedHatEnterpriseLinux”onpage 18and“Installingthe
vCLIPackageonaLinuxSystemwithInternetAccess”on
page 20.
IfapreviousversionofvCLI,RemoteCLI,orvSphereSDKforPerlisinstalledonyoursystem,andyouinstall
vSphereSDKforPerlinadifferentdirectory,youmustresetthePATHenvironmentvariable.Youcandoso
beforeoraftertheinstallation,usingthecommandappropriate
foryourdistributionandshell(setenv,
export,andsoon).Ifyoudonotresetthepath,thesystemmightstilllookforexecutablesintheoldlocation.
Installing the vSphere SDK for Perl Package on Red Hat Enterprise
Linux
vCLIissupportedonRedHatEnterpriseLinuxversionsthatarelistedintheReleaseNotes.OnRHEL,the
vSphereSDKforPerlinstallerpromptsyouwhetheryouwanttoinstallrequiredPerlmodulesfromthe
installationpackageorfromCPAN.Followthesestepstoinstallthesoftware.
1Installrequired
prerequisitesoftware.See“InstallingRequiredPrerequisiteSoftwareforRedHat
EnterpriseLinux”onpage 18.
2Whenprompted,directtheinstallertoinstalladditionalprerequisitesfromtheinstallationpackage(see
“InstallingthevCLIPackageonRHEL(NoInternetAccess)”onpage 18)orfromCPAN(see“Installing
thevCLIPackageonaLinuxSystem
withInternetAccess”onpage 20).
Installing Required Prerequisite Software for Red Hat Enterprise Linux
PrerequisitesoftwareonRHELincludesrequiredsoftwareandrecommendedPerlmodules.
Linux distribution Installer behavior
RHEL(NoInternet
access)
OnRHEL,theinstallerallowsyoutoinstallPerlmoduleswithCPANifInternetaccessis
available.
IfnoInternetaccessisavailable,andamoduleisnotcurrentlyonyoursystem,theinstaller
installsit.Ifadifferentversionofamoduleisfound,theinstaller
doesnotinstallitand
proceedswithinstallation.Attheendoftheinstallationprocess,theinstallerinformsyou
iftheversiononthesystemdoesnotmatchtherecommendedversion,andrecommends
thatyouinstalltheversionthatvSphereSDKforPerlwastestedwith.Youcaninstallthe
modulesusingthepackageinstallerforyourplatform,theinstallationCD,orCPAN.
Note:TheinstallerdoesnotoverwriteexistingversionsofrecommendedPerlmodules.
Youmustexplicitlyupdatethosemodulesyourself.
AllLinux
distributions
(Internetaccess)
TheinstallerproceedsdependingonwhetherthePerlmodulesarefound.
IfarecommendedPerlmoduleisnotfoundatall,theinstallerinstallsitusingCPAN.
YoumustmeettheinstallationprerequisitesortheinstallercannotinstallthePerl
modulesandstops.See“InstallingvCLIonLinuxSystemswithInternetAccess”on
page 19.
Ifalowerversionofarecommendedmoduleisfound,theinstallerdoesnotinstalla
differentversionfromCPANandproceedswithinstallation.Aftercompleting
installation,theinstallerdisplaysamessagethattheversiononthesystemdoesnot
matchtherecommendedversion,andrecommendsthatyouinstalltheversion
vSphereSDKforPerlwastestedwith.Youcaninstallthemodulesusingthepackage
installerforyourplatform,theinstallationCD,orCPAN.
Ifahigherversionofarecommendedmoduleisfound,theinstallerproceedswith
installationanddoesnotdisplayamessageafterinstallation.
Note:TheinstallerdoesnotoverwriteexistingversionsofrecommendedPerlmodules.
Youmustexplicitlyupdatethosemodulesyourself.
VMware, Inc. 19
Chapter 2 Installing vSphere SDK for Perl
Required Software
Ifrequiredsoftwareisnotinstalled,thevCLIinstallerstops.Youcaninstallprerequisitesusingyum,theRHEL
packageinstaller(recommended),orfromtheinstallationDVD,asfollows:
Recommended Perl Modules
Whentheinstallerfinishes,itmightissueawarningthattheversionofamoduleinstalledonyoursystemdoes
notmatch
theversionwithwhichvCLIwastested.InstallthatversionusingyumorCPANtoresolvetheissue.
See“OverviewofLinuxInstallationProcess”onpage 16foracompletelistofmodules.
Installing the vSphere SDK for Perl Package on RHEL (No Internet Access)
BeforeyouinstallvSphereSDKforPerl,youmustremoveallpreviousversionsofthatsoftware.Theprocess
differsfromsimplyuninstallingvSphereSDKforPerl.
To remove previous versions of vSphere SDK for Perl
1Runtheuninstallscript,forexample,ifyouinstalledvSphereSDKforPerlinthedefaultlocation,runthe
followingcommand:
/usr/bin/vmware-uninstall-vSphere-CLI.pl
2 DeleteexistingversionsofvSphere-CLI.xxxx.tar.gzanddeletethevmware-vsphere-cli-distrib
directory.
To install vSphere SDK for Perl on RHEL
1UntarthevSphereSDKforPerlbinarythatyoudownloaded.
tar –zxvf VMware-vSphere-CLI-6.X.X-XXXXX.XXXX.x86_64.tar.gz
Avmware-vsphere-vcli-distribdirectoryiscreated.
2Loginassuperuserandruntheinstaller:
/<location>/sudo vmware-vsphere-cli-distrib/vmware-install.pl
3Toacceptthelicenseterms,typeyesandpressEnter.
4ToinstallPerlmoduleslocally,typeyesandpressEnter.
5Specifyaninstallationdirectory,orpressEntertoacceptthedefault,whichis/usr/bin.
Acompleteinstallationprocesshasthefollowingresult:
Asuccessmessageappears.
Theinstallerlistsdifferentversionnumbersforrequiredmodules(ifany).
Thepromptreturnstotheshellprompt.
Ifyouacceptedthedefaultsduringinstallation,youcanfindtheinstalledsoftwareinthefollowinglocations:
vCLIscripts/usr/bin
vSphereSDKforPerlutilityapplications/usr/lib/vmware-vcli/apps
vSphereSDKforPerlsamplescripts/usr/share/doc/vmware-vcli/samples
SeethevSphereSDKforPerldocumentationforareferencetoallutilityapplications.
RHEL6.332bit
yum install e2fsprogs-devel libuuid-devel
yum install perl-XML-LibXML
RHEL6.364bit
yum install e2fsprogs-devel libuuid-devel
yum install glibc.i686
yum install perl-XML-LibXML
NOTETheinstallerdoesnotoverwriteexistingPerlmodules.
Getting Started with vSphere Command-Line Interfaces
20 VMware, Inc.
AfteryouinstallthevSphereSDKforPerl,youcantesttheinstallationbyrunningacommandfromthe
commandprompt.See“RunningHostManagementCommandsfromaLinuxSystem”onpage 37.
Installing vSphere SDK for Perl on Linux Systems with Internet Access
BeforeyoucaninstallthevSphereSDKforPerlpackageonaLinuxsystemwithInternetaccess,thatsystem
mustmeetfollowingprerequisites.
Internetaccess.YoumusthaveInternetaccesswhenyouruntheinstallerbecausetheinstallerusesCPAN
toinstallprerequisitePerlmodules.
DevelopmentToolsandLibraries.YoumustinstalltheDevelopmentToolsandLibrariesfortheLinux
platformthatyouareworkingwithbeforeyouinstallvSphereSDKforPerlandprerequisitePerl
modules.
Proxysettings.IfyoursystemisusingaproxyforInternetaccess,youmustsetthehttp://andftp://
proxies,asfollows:
export http_proxy=<proxy_server>:port
export ftp_proxy=<proxy_server>:port
Installing Required Prerequisite Software for Linux Systems with Internet
Access
Ifrequiredprerequisitesoftwareisnotinstalled,theinstallerstopsandrequeststhatyouinstallit.Installation
ofprerequisitesoftwaredependsontheplatformthatyouareusing.SeetheReleaseNotesforthesupported
versionsofeachLinuxplatform.
Table 2-1. Installing Required Prerequisite Software
Platform Installation
RHEL6.332bit FindtherequiredmodulesontheinstallationDVD,oruseyumtoinstallthem.
yum install e2fsprogs-devel libuuid-devel
yum install perl-XML-LibXML
RHEL6.364bit FindtherequiredmodulesontheinstallationDVD,oruseyumtoinstallthem.
yum install e2fsprogs-devel libuuid-devel
yum install glibc.i686
yum install perl-XML-LibXML
SUSEEnterprise InstalltheprerequisitepackagesfromtheSLESSDKDVD.WhenyouinserttheDVD,itoffersto
autorun.CanceltheautorundialogboxandusetheyastpackageinstallertoinstallOpenSSLor
othermissingrequiredpackages.
SLES1164bit.yast -i openssl-devel libuuid-devel libuuid-devel-32bit
SLES1132bit.yast -i openssl-devel libuuid-devel
SomeusersmightbeauthorizedtousetheNovellCustomerCenteranduseyasttoretrieve
missingpackagesfromthere.
Ubuntu 1.ConnecttotheInternet.
2.Updatethelocalrepositoryoflibrariesfromaterminalwindow.
sudo apt-get update
3.Installtherequiredlibrariesfromaterminalwindow.
32bit.sudo apt-get install build-essential gcc uuid uuid-dev perl libssl-dev
perl-doc liburi-perl libxml-libxml-perl libcrypt-ssleay-perl
64bit.sudo apt-get install ia32-libs build-essential gcc uuid uuid-dev perl
libssl-dev perl-doc liburi-perl libxml-libxml-perl libcrypt-ssleay-perl
ForUbuntu10.0464bit,theresxtopand
ESXCLIcommandsdonotworkifyoudonotinstall
the32bitcompatibilitylibraries.
VMware, Inc. 21
Chapter 2 Installing vSphere SDK for Perl
Installing the vSphere SDK for Perl Package on a Linux System with Internet
Access
InstallthevSphereSDKforPerlpackageandrunacommandtoverifyinstallationwassuccessful.
To install vSphere SDK for Perl
1Loginasroot.
2UntarthevSphereSDKforPerlbinarythatyoudownloaded.
tar –zxvf VMware-vSphere-CLI-6.X.X-XXXXX.i386.tar.gz
Avmware-vsphere-vcli-distribdirectoryiscreated.
3 (Optional)IfyourserverusesaproxytoaccesstheInternet,andifyourhttp://andftp://proxywere
notsetwhenyouinstalledprerequisitesoftware,setthemnow.
export http_proxy=<proxy_server>:port
export ftp_proxy=<proxy_server>:port
4Runtheinstaller:
sudo vmware-vsphere-cli-distrib/vmware-install.pl
5Toacceptthelicenseterms,typeyesandpressEnter.
TheinstallerconnectstoCPANandinstallsprerequisitesoftware.Establishingaconnectionmighttakea
longtime.
6OnRHEL,whenpromptedtoinstallprecompiledPerlmodules,typenoandpressEntertouseCPAN
TheinstallerconnectstoCPANandinstallsprerequisite
software.Establishingaconnectionmighttakea
longtime.
7Specifyaninstallationdirectory,orpressEntertoacceptthedefault,whichis/usr/bin.
Acompleteinstallationprocesshasthefollowingresult:
Asuccessmessageappears.
Theinstallerlistsdifferentversionnumbersforrequiredmodules(ifany).
Thepromptreturnstotheshellprompt.
Ifyouacceptedthedefaultsduringinstallation,youcanfindtheinstalledsoftwareinthefollowinglocations:
vCLIscripts/usr/bin
vSphereSDKforPerlutilityapplications/usr/lib/vmware-vcli/apps
vSphereSDKforPerlsamplescripts/usr/share/doc/vmware-vcli/samples
SeethevSphereSDKforPerldocumentationforareferencetoallutilityapplications.AfteryouinstallvSphere
SDKforPerl,youcantesttheinstallationbyrunningavCLIcommandorvSphereSDKforPerlutility
applicationfromthecommandprompt.
Uninstalling the vSphere SDK for Perl Package on Linux
YoucanuseascriptincludedintheinstallationtouninstallthevSphereSDKforPerlpackage.
To uninstall vSphere SDK for Perl on Linux
1 ChangetothedirectorywhereyouinstalledvSphereSDKforPerl(defaultis/usr/bin).
2Runthevmware-uninstall-vSphere-CLI.pl script.
ThecommanduninstallsvCLIandthevSphereSDKforPerl.
Getting Started with vSphere Command-Line Interfaces
22 VMware, Inc.
Installing and Uninstalling vSphere SDK for Perl on Windows
BeforeyoucanrunvSphereSDKforPerlcommandsfromyourWindowssystem,youmustinstallthevSphere
SDKforPerlpackageandtesttheinstallationbyrunningacommand.
ThevSphereSDKforPerlinstallationpackageforWindowsincludestheActivePerlruntimefromActiveState
SoftwareandrequiredPerlmodulesand
libraries.ThevSphereSDKforPerlissupportedontheWindows
platformsthatarelistedintheReleaseNotes.
To install the vSphere SDK for Perl Package on Windows
1 DownloadthevSphereSDKforPerlWindowsinstallerpackage.
YoucanfindtheinstallerintheAutomationToolsandSDKssectionoftheDrivers&Toolstabofthe
vSphere
downloadpage.
2Starttheinstaller.
3 (Optional)IfpromptedtoremoveolderversionsofvSphereSDKforPerlorvCLI,youcaneitheraccept
orcanceltheinstallation,andinstallthevSphereSDKforPerlpackageonadifferentsystem.
4ClickNextintheWelcomepage.
5ToinstallthevSphereSDKforPerlinanondefaultdirectory,clickChangeandselectthedirectory.
ThedefaultlocationisC:\Program Files\VMware\VMware vSphere CLI.
6ClickNext.
7ClickInstalltoproceedwiththeinstallation.
Theinstallationmighttakeseveralminutestocomplete.
8 Rebootyoursystem.
Withoutreboot,pathsettingsmightnotbecorrectonyourWindowsplatform.
Uninstalling the vSphere SDK for Perl Package on Windows
YoucanuninstallthevSphereSDKforPerlpackageasyouwouldotherprograms.
To uninstall vSphere SDK for Perl on Windows
1FindtheoptionforaddingandremovingprogramsontheWindowsoperatingsystemyouareusing.
2Inthepanelthatappears,selectVMwarevSphereCLI,andclickRemove.
3ClickYeswhenprompted.
Thesystemuninstalls
thevSphereSDKforPerl,thevCLI,andallprerequisitesoftware.
Enabling Certificate Verification
ThevSphereSDKforPerlandvCLIuseCrypt::SSLEaytosupportcertificateverification.Crypt::SSLEay
allowsverificationofcertificatessignedbyaCertificateAuthority(CA)ifyousetthefollowingtwovariables:
HTTPS_CA_FILETheCAfile.
HTTPS_CA_DIRTheCAdirectory.
I
MPORTANTIfyouwanttorunESXCLIcommandsincludedinvCLIfromaWindowssystem,youmusthave
theVisualC++2008redistributablefor32bitinstalledonthatsystem.Findvcredist_x86.exeforVisualC++
2008andinstallitonyourWindowssystem.
I
MPORTANTTheinstallerreplacesboththevSphereSDKforPerlandvCLI.Tokeepanolderversion,
installthispackageonadifferentsystem.
VMware, Inc. 23
Chapter 2 Installing vSphere SDK for Perl
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.
Getting Started with vSphere Command-Line Interfaces
24 VMware, Inc.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16

VMware ESXI ESXI 6.0 Installation guide

Category
Software
Type
Installation guide
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI