Executing VDT on vCenter displays error:"The PNID (Expected_vCenter_hostname) does not match the hostname (Actual vCenter_hostname)"
search cancel

Executing VDT on vCenter displays error:"The PNID (Expected_vCenter_hostname) does not match the hostname (Actual vCenter_hostname)"

book

Article ID: 422846

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Prior to vCenter upgrade executing VDT on vCenter to perform pre-check displays PNID does not match the hostname 

Ex: The PNID (Expected_hostname) does not match the hostname (Actual _vcenter_hostname)

Environment

vCenter Server 7.x, 8.x

Cause

This error occurs if the hostname and PNID of vCenter doesn't match. 

Resolution

To resolve this issue execute below steps:

  • Login to vCenter using SSH-->Type hostname 
  • Check the PNID of the vCenter by executing command: /usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost
  • Compare and verify if the hostname and pnid match the vCenter Machine SSL FQDN, if they don't then proceed with next step 
  • Update the vCenter host_name with actual pnid using VAMI 

Ref: VMware vCenter Server Appliance hostname and DNS configuration are reverted after a reboot

Additional Information

Using the VCF Diagnostic Tool for vSphere (VDT)