If the destination PNID is too similar to the original PNID, the update may fail. This typically occurs when transitioning from a short hostname to an FQDN or from an uppercase FQDN to a lowercase FQDN.
This procedure is designed to handle such cases effectively. For example, consider the plan to change the PNID as follows:
examplevCenter.example.local -> ###.###.###.###
Attempting to directly change the PNID from VCSA01.domain
to vcsa01.domain.local
often results in errors. To avoid this, the task should be completed in two steps:
For example:example.domain -> exampletemp.example.com -> example.example.com
The proxy DNS service (dnsmasq) in the vCenter Appliance is used to resolve the temporary PNID exampleTemp.example.com
. This eliminates the need to update external DNS servers with the temporary PNID.
Note: Starting from VCSA 6.7 U3 or later versions, the PNID can be updated through the VAMI interface.
VMware vCenter Server 7.x
VMware vCenter Server 8.x
/etc/hosts
file to retain only the content between # VAMI_EDIT
markers:
dnsmasq.conf
to include the hosts file:
/etc/dnsmasq.hosts
:
Add the following line:
dnsmasq
service:
https://VCSA:5480
.vcsa01temp.domain.local
.vcsa01temp.domain.local
to the local hosts file of the web browser's PC to ensure accessibility to the VAMI interface.dnsmasq
service:
https://VCSA:5480
and change the PNID to the final destination PNID: example.example.com