The PNID is equal to the System Name parameter input during deployment. The System Name can either be a Fully Qualified Domain Name (FQDN) or an IP address. For example, a system name could be vcenter.corp.local or 10.10.100.50 which would also then become the PNID. This PNID is locked in and cannot be changed after deployment on versions prior to 6.7 Update 3. vCenter Server 6.7 Update 3 introduced feature to modify the Hostname/PNID.
vCenter Server 6.7 Update 3 supports modifying the PNID, you may upgrade to this version to modify the PNID. Refer to the blog
https://blogs.vmware.com/vsphere/2019/08/changing-your-vcenter-servers-fqdn.html for more info. Changing the Primary Network Identifier (PNID) is not supported in vCenter Server 6.x versions prior to 6.7 Update 3 and use one of these options to resolve the issue:
- Revert to a snapshot or an available backup which was created before changing the IP address or hostname. For more information, see Working with snapshots (1009402).
- Redeploy the vSphere environment.
To change the IP address of vCenter Server that was deployed with a FQDN PNID:
To verify the current PNID, run the following commands in VCSA or Windows vCenter Server respectively:
VCSA:
/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhostWindows:
"C:\Program Files\VMware\vCenter Server\vmafdd\vmafd-cli.exe" get-pnid --server-name localhostWorkaround:
Note: On rare occasions, you may need to manually set and complete the PNID change via the command line should the above UI workflows incompletely set the PNID.
To set the PNID via CLI:VCSA: /usr/lib/vmware-vmafd/bin/vmafd-cli set-pnid --server-name localhost --pnid <PNID-NAME>Warning: If you attempt to set the PNID via the command line only without going through the proper workflow, as mentioned in the Resolution section, you may break vCenter.