Categories
Windows failover cluster

Suddenly some VMs in my Windows fail over cluster just restarted

I started to run muwire in one of my VMs. Every time i logged in to the VM by RDP is was restarted. I looked at the logs. It only said the the VM had failed. The same thing happened to my web server VM. When i started up vs code, chrome and smartgit the VM restarted. First i thought it was something wrong with Hyper-V. It was better on a faster cluster node. After searching a long time with Google i found an answer. Turned out it is not a bug. It is a feature. If “Enable heartbeat monitoring” is checked then Hyper-V will restart a VM if it stops responding. It restarts it to get it working again. There is something with muwrire that hangs VMs for a long time. In the pic heartbeat monitoring is turned off. VM will never be restarted because they are too slow.