The Number of Virtual Machine keeps changing on vCenter Server
book
Article ID: 312474
calendar_today
Updated On:
Products
VMware vCenter Server
VMware vSphere ESXi
Issue/Introduction
- When checking ESXi hosts' Summary or Virtual Machine menu, the number of virtual machines keeps changing.
- Same symptom can be observed on ESXi host client.
Environment
VMware vCenter server 7.0
VMware vCenter server 8.0
VMware vSphere ESXi 7.0
VMware vSphere ESXi 8.0
Cause
Same virtual machine is running on two different ESXi hosts due to abnormal HA behavior before the problem happens
Resolution
- Select one unstable virtual machine as example.
- Run command "localcli vm process list|grep <VM name>" on all ESXi hosts in the cluster
- Take a note of the world ID of the non-responsive virtual machine.
- Power off the virtual machine from the list by running one of these commands:
esxcli vm process kill -t=soft -w=WorldID
or
esxcli vm process kill -t=hard -w=WorldID
or
esxcli vm process kill -t=force -w=WorldID
- If the VM fails to stop even after running the "esxcli vm process kill" command, evacuate all other VMs off the ESXi host and restart the ESXi itself.
Reference: Powering off an unresponsive virtual machine on an ESXi host
Additional Information
Impact/Risks:
This symptom has no impact to service
Feedback
thumb_up
Yes
thumb_down
No