Contributor
Contributor

Failover Cluster

Recently one of the hosts in a Cluster powered off and all VMs moved automatically to another host. Curiously, I need to know when a VM powered down accidentally, which is the exact file (vmsd or vmx)  is missing to contact the current host.

4 Replies
Leadership
Leadership

"when a VM powered down accidentally" - you mean during a HA failover?

"which is the exact file (vmsd or vmx)  is missing" - none of the files would be missing, HA is most often initiated when you have a host hardware issue.

Expert
Expert

Are you saying the vmx file is missing since a VM powered down but then shutdown event was seperate from the HA failover? I assume this VM is using shared storage?

Why/When VM Powered Down: VMware Knowledge Base

Please mark helpful or correct if my answer resolved your issue. How to post effectively on VMTN https://communities.vmware.com/people/daphnissov/blog/2018/12/05/how-to-ask-for-help-on-tech-forums
0 Kudos
Contributor
Contributor

Yes, We are using shared storage, what I asked is which are the files holding information about the host? Or just vCenter manages if failover occurs in the Cluster

0 Kudos
Expert
Expert

neither contain information about the vmhost, they are VM specific files

HA is independant* of vCenter, the hosts use heartbeats to determine when a host has failed or become partitioned. See the following

How vSphere HA Works

Configure Heartbeat Datastores

*vCenter can be involved when DRS is required to free up slots on hosts when using admission control etc. Overall though, HA will work even when vCenter is offline

Please mark helpful or correct if my answer resolved your issue. How to post effectively on VMTN https://communities.vmware.com/people/daphnissov/blog/2018/12/05/how-to-ask-for-help-on-tech-forums
0 Kudos