5.0

Table Of Contents
VMware, Inc. 21
Chapter 2 Getting Started with vMA
Table 22liststhevMAcomponentsthatyoucanuseformodifyingscriptsthatincludeprocnodesandLinux
commands.
Configure vMA to Use a Static IP Address
Duringthefirstboot,vMApromptsyoutospecifywhethertouseaDHCPserverorastaticIPaddresswhen
itstarts.TheDHCPserverassignsanetw orkaddress,allowingyoutorunthevirtualmachinewithoutsetup.
Thisnetworkaddressmightchangeafterthevirtualmachinehasbeenpowered
offlongerthantheDHCP
leasetime.Mostserverapplicationsshouldbeconfiguredtoastaticnetworkaddressthatisconstantand
wellknown.
Configure a Static IP Address from the Console
YoucanconfigureastaticIPaddressfromthevMAconsoleorthewebUI.
To configure a static IP address from the console
1Intheconsole,selectConfigureNetworkandpressEnter.
2AttheUseaDHCPserverinsteadofastaticIPaddressprompt,typeno.
3Whenprompted,providethefollowinginformation:
IPAddress
Netmask
Gateway
DNSServer1
DNSServer2
Hostname
4Whenprompted,specifywhetheryouneedaproxyservertoreachtheInternet.Ifyouansweryes,type
theIPaddressandtheportnumberofyourproxyserver.
5Typeyifthevaluesonthereviewscreenarecorrect.Ifthevaluesareincorrect,enternoandrepeat
the
procedure.
Table 2-2. vMA Components for Use in Scripts
vMA Component Description For more information
vSphereCLIcommands ManageESXihostsandvirtualmachines. vSphereCommandLineInterface
InstallationandReferenceGuide.
vifsvSphereCLI
command
Performcommonoperations,suchascopy,remove,
get,andput,onfilesanddirectories.
vSphereCommandLineInterface
InstallationandReferenceGuide.
vSphereSDKforPerl AccessthevSphereAPI,aWeb
servicesbasedAPIfor
managing,monitoring,andcontrollingthelifecycleof
allvSpherecomponents.
vSphereSDKforPerlProgramming
Guide.
vSphereSDKforPerl
utilityapplications
Performcommonadministrativetasks. vSphereSDKforPerlUtility
ApplicationsReference.
CommandsareonvMAin
/usr/lib/vmware-vcli/apps
vSphereSDKforPerlWS
Managementcomponent
AccessCIM/SMASHdata.
ESXisupportsmany
SystemsManagementArchitectureforServer
Hardware(SMASH)profiles,enablingsystem
managementclientapplicationstocheckthestatusof
underlyingservercomponentssuchasCPU,fans,
powersupplies,andsoon.
vSphereSDKforPerlProgramming
Guide.