VMware vMA can be configured to join an Active Directory domain and subsequently use an AD user to log in to the appliance and run the remote commands against the targets.
Tip
The vi-user
account cannot be used to run commands against AD targets. To be able to run commands on an AD target, you should either use the vi-admin
account, or log in to the vMA appliance using an AD user.
The following procedure will guide you through the steps required to configure vMA to join an existing Active Directory domain:
Log in to the vMA console or SSH to it as the
vi-admin
user.Issue the following command to add the vMA appliance to the domain:
Syntax:
sudo domainjoin-cli join <domain-name> <domain-admin-user>
Example:
sudo domainjoin-cli join vdescribed.com domuser
Output:
Reboot the vMA appliance by issuing the
sudo reboot
command.Check whether the domain login was successful by issuing the following command:
sudo domainjoin-cli query...