Use the following procedure to add vMA to a domain.

Verify that the DNS server configured for vMA is the same as the DNS server of the domain. You can change the DNS server by using the vMA console or the Web UI.

Verify that the Active Directory domain is accessible from vMA.

You must be able to ping the ESXi and vCenter Server systems that you want to add to vMA.

Verify that pinging resolves the IP address to targetservername.domainname, where domain name is the domain to which vMA is to be added.

1

Run the following command from the vMA console:

sudo domainjoin-cli join domain-name domain-admin-user

2

When prompted, provide the Active Directory administrator's password.

On successful authentication, the command adds vMA as a member of the domain. The command also adds entries in the /etc/hosts file with vmaHostname.domainname.

3

Restart vMA.

Add an Active Directory target to vMA. See Adding Target Servers