Option 1:
- Verify the hostname has changed:
$ cat /etc/hosts
- To prevent reversion of the host name, SSH to the VCSA and edit the file
/etc/sysconfig/networking/devices/ifcfg-eth0
to ensure the host has the correct name.
- When network configuration occurs insert this entry before the IP Address line:
HOSTNAME=<hostname.fqdn> () [ Where <hostname.fqdn> is the fully qualified VCSA hostname]
- Save the file.
Option 2:
Verify and update the vCenter appliance IP-address and hostname:
$ /opt/vmware/share/vami/vami_config_net
Option 3:
- Change the hostname from the VAMI page directly by navigating to <VCSA_IP>:5480 in a Web browser (where <VCSA_IP> is the IP address of the VCSA)
- Click the Admin Tab, and press the Toggle Certificate Setting Button to set 'Certificate Regeneration Enabled' to yes
- Power off the appliance
- Edit Settings of the VM:
[Options] - [vApp Options]
"vApp Options" should be in "Enabled" state.
"Properties" section should be filled with all the required information i.e. Hostname, Default Gateway, DNS etc.
- Click on OK
- Power on the VM
To prevent generation of new certificates in every reboot:
- Login to the VAMI page
- Click the Admin Tab
- Press the Toggle Certificate Setting Button to set 'Certificate Regeneration Enabled' to No
To prevent reversion of the DNS configuration:
- Login to the VAMI page
- Click the Networking Tab
- Click the Address Tab and enter the desired DNS IP address
- Perform a graceful shutdown of the VCSA machine for the changes to apply
- Reboot the appliance