Use the following procedure to add a vCenter Server system as a vMA target for Active Directory authentication.

To add a vCenter Server system as a vMA target for Active Directory Authentication.

1

Log in to vMA as vi-admin.

2

To add a server as a vMA target, run the following command: 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 username 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

Verify that the target server has been added.

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

Verify that you can run a vSphere CLI command without authentication by running a command on one of the ESXi hosts, for example:

esxcli --server VC_server --vihost esx_host network nic list

The command runs without prompting for authentication information. If the name of a target server changes, you must remove the target server by running vifpremoveserver with the old name, and then add the server using vifp addserver with the new name.