5.0

Table Of Contents
VMware, Inc. 17
Chapter 2 Getting Started with vMA
Add Target Servers to vMA
AfteryouconfigurevMA,youcanaddtargetserversthatrunthesupportedvCenterServerorESXiversion.
ForvCenterServerandESXisystemtargets,youmusthavethenameandpasswordofauserwhocanconnect
tothatsystem.
See“vifpaddserveronpage 28forthecompletesyntax.
To add a vCenter Server system as a vMA target for Active Directory Authentication
1LogintovMAasviadmin.
2AddaserverasavMAtargetbyrunningthe followingcommand:
vifp addserver vc1.mycomp.com --authpolicy adauth --username ADDOMAIN\\user1
Here,--authpolicy adauthindicatesthatthetargetneedstousetheActiveDirectoryauthentication.
Ifyourunthiscommandwithoutthe--usernameoption,vMApromptsforthenameoftheuserthatcan
connecttothevCenterServersystem.Youcanspecifythisusernameasshowninthefollowingexample:
Enter username for machinename.example.com: ADDOMAIN\user1
If--authpolicyisnotspecifiedinthecommand,thenfpauthistakenasthedefaultauthentication
policy.
3Verifythatthetargetserverhasbeenadded.
Thedisplayshowsalltargetserversandtheauthenticationpolicyusedforeachtarget.
vifp listservers --long
server1.mycomp.com ESX adauth
server2.mycomp.com ESX fpauth
server3.mycomp.com ESXi adauth
vc1.mycomp.com vCenter adauth
4Setthetargetasthedefaultforthecurrentsession:
vifptarget --set | -s <server>
5VerifythatyoucanrunavSphereCLIcommandwithoutauthenticationbyrunningacommandonone
oftheESXihosts,forexample:
esxcli --server <VC_server> --vihost <esx_host> network nic list
Thecommandrunswithoutpromptingforauthenticationinformation.
To add a vCenter Server system as a vMA target for fastpass Authentication
1LogintovMAasviadmin.
2AddaserverasavMAtargetbyrunningthe followingcommand:
vifp addserver vc2.mycomp.com --authpolicy fpauth
Here,--authpolicy fpauthindicatesthatthetargetneedstousethefastpassauthentication.
3Specifytheusernamewhenprompted:
Enter username for machinename.example.com: MYDOMAIN\user1
4Specifythepasswordforthatuserwhenprompted.
user1@machine.company.com's password: <not echoed to screen>
5Reviewandacceptthesecurityriskinformation.
I
MPORTANTIfthenameofatargetserverchanges,youmustremovethetargetserverbyusingvifp
removeserverwiththeoldname,thenaddtheserverusingvifp addserverwiththenewname.