When joining a machine using vastool join with the -n parameter, the computer name given on the command line is ignored. The client continues to join as the machines normal hostname.
If using Management Console for Unix (MCU), when joining machine the ""Name for computer account (leave blank to generate a name based on the host DNS name)" is ignored.
This can occur when the /etc/hosts file contains aliases for the clients hostname, and is due to the way QAS resolves the FQDN of the machine.
For example, if the /etc/hosts file contains the below entries, a vastool join using vastool join -n vasclient will not work as expected and will instead joinu sing the name host.
127.0.0.1 host host.yourdomain.com vasclient
Rather than using the hostname with the -n parameter specify thefully qualified domain name (FQDN) of the machine.
# /opt/quest/bin/vastool join -n host yourdomain.com
# /opt/quest/bin/vastool join -n host.yourdomain.com yourdomain.com
In MCU specificy the FQDN.