This article provides steps to troubleshoot when the vCenter is unreachable.
There are multiple different scenarios which can lead to the symptoms observed.
Please follow the steps in the Resolution section to further identify which scenario applies to your situation.
Steps to troubleshooting vCenter connection issues:
1) Launch a vSphere client directly into the ESXi host on which the vCenter server is running (with root level privileges).
2) Identify which network is expected to deliver packets to / from the vCenter server (port group if on a standard switch, and dvPort group if on a Virtual Distributed Switch, abbreviated vDS).
3) SSH into the host (or access via a virtual console) with root privileges, and confirm exactly what packets are being sent from and received by the vCenter using techniques described in Packet capture on ESXi using the pktcap-uw tool -- see example below:
a) Enter the command
net-stats -l
b) In the output of that command, determine the virtual ethernet adapter(s) being used by the vCenter; example:
PortNum Type SubType SwitchName MACAddress ClientName
######### 5 9 ####### 00:50:56:##:##:## ###-####-#####
c) Run the following command to display the packets entering / exiting the VM:
pktcap-uw --switchport ######### --capture VnicTx,VnicRx -o - | tcpdump-uw -r - -enn
d) Run the command below to determine which physical uplink (vmnic) is meant to carry the traffic:
esxtop (and select "n" for networking)
e) Have the networking team log into the physical switch and check the switchport configuration for the switchport to which the physical uplink is connected.
/etc/init.d/hostd status/etc/init.d/vpxa status
esxtop output using the n option (for networking) to see which pNIC the virtual machine is using. Try shutting down the ports on the physical switch one at a time to determine where the vcenter VM is losing network connectivity. This also rules out any misconfiguration on the physical switch port(s).NOTE: If the vmnics are in an LACP configuration, that will need to be broken on the physical switch to avoid downtime. Follow Configuring LACP on a vSphere Distributed Switch Port Group for steps on how to work with an LACP configuration.
If you do not have 2 vmnics in the ESXi, it is recommended that you follow these steps via DCUI Shell. Otherwise, you will lose access to SSH when you run the status down vmnic command and won’t be able to continue with the process.