5.0

Table Of Contents
vSphere Management Assistant Guide
18 VMware, Inc.
6Verifythatthetargetserverhasbeenadded.
Thedisplayshowsalltargetserversandtheauthenticationpolicyusedforeachtarget.
vifp listservers --long
server1.mycomp.com ESX adauth
server2.mycomp.com ESX fpauth
server3.mycomp.com ESXi adauth
vc1.mycomp.com vCenter adauth
vc2.mycomp.com vCenter fpauth
7Setthetargetasthedefaultforthecurrentsession.
vifptarget --set | -s <server>
8VerifythatyoucanrunavSphereCLIcommandwithoutauthenticationbyrunningacommandonone
oftheESXihosts,forexample:
esxcli --server <VC_server> --vihost <esx_host> network nic list
Thecommandrunswithoutpromptingforauthenticationinformation.
To add an ESXi host as a vMA target
1LogintovMAasviadmin.
2RunaddservertoaddaserverasavMAtarget.
vifp addserver <servername>
Youarepromptedforthetargetserversrootuserpassword.
root@<servername>’s password:
3SpecifytherootpasswordfortheESXihostthatyouwanttoadd.
vMAdoesnotretaintherootpassword.Instead,vMAaddsviadminandviusertotheESXihost,and
storestheobfuscatedpasswordsthatitgeneratesforthoseusersintheVMwarecredentialstore.
InavSphere
clientconnectedtothetargetserver,theRecentTaskspaneldisplaysinformationaboutthe
usersthatvMAadds.ThetargetserversUsersandGroupspaneldisplaystheusersifyouselectit.
4Verifythatthetargetserverhasbeenadded:
vifp listservers
5Setthetargetasthedefaultforthecurrentsession.
vifptarget --set | -s <server>
6VerifythatyoucanrunavSphereCLIcommandwithoutauthenticationbyrunningacommand,forexample:
esxcli network nic list
IMPORTANTIfthenameofatargetserverchanges,youmustremovethetargetserverbyusingvifp
removeserverwiththeoldname,thenaddtheserverusingvifp addserverwiththenewname.
CAUTIONRemoveusersaddedbyvMAfromthetargetserveronlyifyoudeletedthevMAvirtual
machinebutdidnotremovethetargetservers.
IMPORTANTIfthenameofatargetserverchanges,youmustremovethetargetserverusingvifp
removeserverwiththeoldname,thenaddtheserverusingvifp addserverwiththenewname.