Process to Verify Hostname:
To verify that the hostname of vCenter Server Appliance matches the entry in Active directory, run these commands on vCenter Server 5.5, Or on the Platform Service Controller (PSC) / vCenter Server 6.x / vCenter Server 7.0.
- Run this command to verify the vCenter Server Appliance or Platform Service Controller FQDN:
/opt/likewise/bin/domainjoin-cli query | grep 'Name\|Domain' | head -2 | awk '{print $NF}' | paste -d "." - -
- Verify the FQDN of the vCenter Server Appliance or Platform Services Controller machine account in Active Directory with this command:
/opt/likewise/bin/lw-lsa ad-get-machine account | grep FQDN | awk '{print $NF}' | paste -d "" - -
If Hostname Does not Match:
If the hostname does not match the FQDN for the machine account, perform one of these:
- Rename the vCenter Server or Platform Service Controller back to the FQDN from the output of the command from Step 2.
Note: Rename vCenter hostname back to the FQDN for vCenter Server 7.0
- Leave and rejoin the domain while keeping the current hostname of the machine. For more information, see: