The other day, I had a customer having all management applications on a different DNS suffux as that of the domain.
Ie: Domain : ntitta.in
Management host’s: on mgmt.local
on the customer’s setup, the VCSA was deployed with an FQDN VCSA.MGMT.local However, when the appliance was added to domain ntitta.in, the VCSA renames itself to VCSA.ntitta.in
Apparently the likewise scripts on VCSA is set to rename the appliance to the domain suffix. This might cause all sort of strange behaviour/PNID mismatches on normal functionality.
In order to sort this/set this right, we wanna invoke the domain join script ignoring the hostname.
/opt/likewise/bin/domainjoin-cli join --disable hostname domain_name domain_user
Example:
root@vcsa [ ~ ]# /opt/likewise/bin/domainjoin-cli join --disable hostname ntitta.in nik
Joining to AD Domain: ntitta.in
With Computer DNS Name: vcsa.mgmt.local
Note that the script acknowledges that it is going to join to join AD with the computer name vcsa.mgmt.local. this is precisely what we want.