Use the following procedure to add a vCenter Server system as a vMA target for fastpass authentication.
1 | |
2 | To add a server as a vMA target, run following command: vifp addserver vc2.mycomp.com --authpolicy fpauth Here, --authpolicy fpauth indicates that the target needs to use the fastpass authentication. |
3 | Specify the username when prompted: Enter username for machinename.example.com: MYDOMAIN\user1 |
4 | Specify the password for that user when prompted. [email protected]'s password: <not echoed to screen> |
5 | |
6 | 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 vc2.mycomp.com vCenter fpauth |
7 | Set the target as the default for the current session. vifptarget--set | -s server |
8 | 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. |