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. 19
Chapter 2 Getting Started with vMA
Running vSphere CLI for the Targets
Ifyouhaveaddedmultipletargetservers,bydefault,vMAexecutescommandsonthefirstserverthatyou
added.Youshouldspecifytheserverexplicitlywhenrunningcommands.
To run vSphere CLI for the targets
1AddserversasvMAtargets.
vifp addserver <server1>
vifp addserver <server2>
2Verifythatthetargetserverhasbeenadded:
vifp listservers
3Runvifptarget.
vifptarget -s <server2>
Thecommandinitializesthespecifiedtargetserver.Now,thisserverwillbetakenasthedefaulttargetfor
thevSphereCLIorvSphereSDKforPerlscripts.
4RunvSphereCLIorvSphereSDKforPerlscripts,byspecifyingthetargetserver.Forexample:
esxcli --server server2 network nic list
Reconfigure a Target Server
Youcanreconfigureatargetserverifyouwanttoperformanyofthefollowingtasks:
ChangetheauthenticationmodeofavMAtargetfromvi‐fastpasstoActive Directoryorviceversa.
ChangetheconfigureduserfortheActiveDirectorytarget.
Recoverusersforthevi‐fastpasstarget.AuserneedstoberecoveredifthecredentialstoreonvMAis
corruptedor ifthecredentialsofuserscorrespondingtovMAusersaremodifiedandnotreflectedinvMA.
To change the authentication policy
1LogintovMAasvi‐admin.
2Runreconfigure
vifp reconfigure <servername> --authpolicy <authpolicy>
3Whenprompted,provideyourcredentials.
IfyoureconfigureanActiveDirectorytargettovi‐fastpassauthentication,thenspecifytheroot
passwordforESXitargetsandtherootusernameandpasswordforvCentertargets.
Ifyoureconfigureavi‐fastpasstargettoActiveDirectoryauthentication,thenspecifytheroot
usernameforthetarget.
To change the configured user or to recover users
1LogintovMAasvi‐admin.
2Runreconfigure.
vifp reconfigure <servername>
3Whenprompted,provideyourcredentials.
IfyoureconfigureanActiveDirectorytarget,specifyausernameforthetarget.
Ifyoureconfigureavi‐fastpasstarget,specifytherootpasswordoftheESXitarget,andthepassword
forusernameusedtoaddthevCenterServertarget.