5.0
Table Of Contents
- vSphere Management Assistant Guide
- Contents
- About This Book
- Introduction to vMA
- Getting Started with vMA
- Hardware Requirements
- Software Requirements
- Required Authentication Information
- Deploy vMA
- Configure vMA at First Boot
- vMA Console and Web UI
- Configure vMA for Active Directory Authentication
- Configure Unattended Authentication for Active Directory Targets
- Enable the vi-user Account
- vMA User Account Privileges
- Add Target Servers to vMA
- Running vSphere CLI for the Targets
- Reconfigure a Target Server
- Remove Target Servers from vMA
- Modifying Scripts
- Configure vMA to Use a Static IP Address
- Configure vMA to Use a DHCP Server
- Setting the Time Zone
- Shut Down vMA
- Delete vMA
- Troubleshooting vMA
- Update vMA
- Configure Automatic vMA Updates
- vMA Interfaces
- Index
VMware, Inc. 29
Chapter 3 vMA Interfaces
Description
AfteraserverisaddedasavMAtarget,youmustrunvifptarget <server>beforeyourunvSphereCLI
commandsorvSphereSDKforPerlscriptsagainstthatsystem.ThesystemremainsavMAtargetacrossvMA
reboots,butrunningvifptargetagainisrequiredaftereachlogout.See“vifptargetCommandfor
vi‐fastpass
Initialization”onpage 27.
Afteryourunvifptarget,youcanrunvSphereCLIorvSphereSDKforPerlcommandsandscriptsandyou
arenolongerpromptedforauthenticationinformation,asfollows:
IfyouaddavCenterServersystemasavMAtarget,youcanrunmostcommandsonallESXihoststhat
thevCenterServersystemmanagesusingthevSphereCLI--vihostoption.ThevSphereCLIInstallation
andReferenceGuideincludesatablethatshowswhichcommandscannottargetavCenterServer
system.
IfyouaddonlyoneESXihost,youcanruncommandswithoutspecifyingthetarget.
IfyouaddmultipleESXihosts,specifythetargettoavoidconfusion.
See“A d d TargetServerstovMA”onpage 17and“RunningvSphereCLIfortheTargets”onpage 19.
Options
Example
vifp addserver my_vCenter
AddsavCenterServersystemasavMAtarget.Youarepromptedforausernameandpassword.Theuser
musthaveloginprivilegesonthevCenterServersystem.
vifp addserver myESX42
AddsanESXihosttovi‐fastpass.Youarepromptedfortherootpasswordforthetargetsystem.
vifp removeserver
RemovesaspecifiedvMAtargetthatwaspreviouslyaddedwithvifp addserver.
IfthetargetisanESXisystem,youneedsuperuserprivilegesforremoval.IfthetargetisavCenterServer
system,anyuserwithconnectionprivilegescanremovethetarget.Youonlyhavetospecifythe<server>
option,without
thepassword.
I
MPORTANTIfyouchangeatargetserver’sname,youmustremoveit,andthenaddittovMAwiththenew
name.
Option Description
server NameorIPaddressoftheESXihostorvCenterServersystemtoaddasavMAtarget.
authpolicy SetstheauthenticationpolicytofastpassauthenticationortheActiveDirectory
authentication.Thedefaultvalueisfpauth.
protocol Connectionprotocol.HTTPSbydefault.
portnumber Connectionportnumberofthetargetserver.The
defaultis443.
servicepath ServicepathURLofthetargetserver.Thedefaultis/sdk.
username Userwhoconnectstothetargetserver.
Ifthetargetserv erpointstoanESXihost,thedefaultisroot.Theusermusthave
superuserprivilegesontheESXihost.
Ifthetargetserv erpointsto
avCenterServersystem,thereisnodefault.Youare
promptedforausernameifyoudonotspecifyoneusingthisoption.Theusermusthave
privilegestoconnecttothevCenterServersystem.
password Passwordoftheuserspecifiedbyusername.