Add Target Servers to vMA
After you configure vMA, you can add target servers that run the supported vCenter Server or ESXi version.
For vCenter Server and ESXi system targets, you must have the name and password of a user who can connect to that system.
See vifp addserver for the complete syntax.
To add a vCenter Server system as a vMA target for Active Directory Authentication
1
2
vifp addserver vc1.mycomp.com --authpolicy adauth --username ADDOMAIN\\user1
Here, --authpolicy adauth indicates that the target needs to use the Active Directory authentication.
If you run this command without the --username option, vMA prompts for the name of the user that can connect to the vCenter Server system. You can specify this user name as shown in the following example:
Enter username for machinename.example.com: ADDOMAIN\user1
If --authpolicy is not specified in the command, then fpauth is taken as the default authentication policy.
3
The display shows all target servers and the authentication policy used for each target.
vifp listservers --long
server1.mycomp.com             ESX        adauth
server2.mycomp.com             ESX        fpauth
server3.mycomp.com             ESXi       adauth
vc1.mycomp.com                vCenter     adauth
4
vifptarget --set | -s <server>
5
esxcli --server <VC_server> --vihost <esx_host> network nic list
The command runs without prompting for authentication information.
Important If the name of a target server changes, you must remove the target server by using vifp removeserver with the old name, then add the server using vifp addserver with the new name.
To add a vCenter Server system as a vMA target for fastpass Authentication
1
2
vifp addserver vc2.mycomp.com --authpolicy fpauth
Here, --authpolicy fpauth indicates that the target needs to use the fastpass authentication.
3
Enter username for machinename.example.com: MYDOMAIN\user1
4
[email protected]'s password: <not echoed to screen>
5
6
The display shows all target servers and the authentication policy used for each target.
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
7
vifptarget --set | -s <server>
8
esxcli --server <VC_server> --vihost <esx_host> network nic list
The command runs without prompting for authentication information.
Important If the name of a target server changes, you must remove the target server by using vifp removeserver with the old name, then add the server using vifp addserver with the new name.
To add an ESXi host as a vMA target for Active Directory Authentication
1
2
vifp addserver server3.mycomp.com --authpolicy adauth --username ADDOMAIN\\user1
Here, --authpolicy adauth indicates that the target needs to use the Active Directory authentication.
If you run this command without the --username option, vMA prompts for the name of the user that can connect to the ESXi Server. You can specify this user name as shown in the following example:
Enter username for machinename.example.com: ADDOMAIN\user1
If --authpolicy is not specified in the command, then fpauth is taken as the default authentication policy.
3
The display shows all target servers and the authentication policy used for each target.
vifp listservers --long
server1.mycomp.com             ESX        adauth
server2.mycomp.com             ESX        fpauth
server3.mycomp.com             ESXi       adauth
vc1.mycomp.com                vCenter     adauth
4
vifptarget --set | -s <server>
5
esxcli network nic list
The command runs without prompting for authentication information.
Important If the name of a target server changes, you must remove the target server by using vifp removeserver with the old name, then add the server using vifp addserver with the new name.
To add an ESXi host as a vMA target for fastpass Authentication
1
2
vifp addserver server2.mycomp.com --authpolicy fpauth
Here, --authpolicy fpauth indicates that the target needs to use the fastpass authentication.
You are prompted for the target server’s root user password.
root@<servername>’s password:
3
vMA does not retain the root password. Instead, vMA adds vi-admin and vi-user to the ESXi host, and stores the obfuscated passwords that it generates for those users in the VMware credential store.
In a vSphere client connected to the target server, the Recent Tasks panel displays information about the users that vMA adds. The target server’s Users and Groups panel displays the users if you select it.
4
5
The display shows all target servers and the authentication policy used for each target.
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
6
vifptarget --set | -s <server>
7
esxcli network nic list
The command runs without prompting for authentication information.
Important If the name of a target server changes, you must remove the target server by using vifp removeserver with the old name, then add the server using vifp addserver with the new name.