Multiple vCenter services fail to start properly despite some services (such as vmware-vapi-endpoint
) starting successfully. This occurs when the system hostname does not match the Primary Network ID (PNID) configuration in the vCenter Server.
vmware-vpxd
The vCenter Server requires the system hostname to match the Primary Network ID (PNID) for proper communication between services and accurate certificate validation. When these values don't match, service dependencies fail to resolve correctly, leading to service startup failures.
python /usr/lib/vmware-vdt/vdt.pyFor more information about the VDT tool, see Using the VCF Diagnostic Tool for vSphere (VDT)
hostname
/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost
In some cases, particularly when the hostname is set to "localhost" and the PNID is set to the vCenter IP address, the VAMI interface may not allow hostname changes. In this scenario:
/opt/vmware/share/vami/vami_config_net
service-control --restart --all
service-control --status --all
vami_config_net
utility does not properly update certificates and vmdir lookupservice entries, which is why the vCert procedure is recommended when this utility must be used