Search This Blog

Friday, July 15, 2011

Virtual Machine Heartbeat in A Cluster Hyper-V Host


A lot of people did not realise about VM Heartbeat and did not configure Hyper-V Cluster to up to their potential. If configure properly, you will realise  it’s potential to provide high availability solution for Virtual Machine.

a) When planned downtime, we execute live migration.

b) When unplanned downtime, Hyper-V Host will perform restart of Virtual Machine.

c) When VM offline/save state, we can perform quick migration.

How about VM system hang , unresponsive, blue screen, etc?

This is the trick. In order to allow Hyper-V host automatically restart the cluster virtual machine or fail it over, you must enable Heartbeat monitoring for the Virtual Machine. To achieve this result, you need to select the VM | right click Properties | Setting | Tick Enable heartbeat monitoring for the virtual machine.

When this option is selected, heartbeats are sent from the operating system running in the virtual machine to the operating system running the Hyper-V role. If the heartbeats stop, indicating that virtual machine has become unresponsive, the cluster is notified, and can attempt to restart the clustered virtual machine or fail it over.


By default- It is uncheck.

So start the heartbeat monitoring on your Cluster Virtual Machine.

“Virtual Lai”


  1. now only you tell me... :)
    _ DJ

  2. bear in mind that when a restart of the VM is triggered from within the VM then the heartbeat will miss and cluster manager will attempt to restart the machine causing the VM to boot into recovery mode.

  3. Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading. best vpn

  4. Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts. Cheap VPN

  5. I know there will be many difficulties and challenges but I am determined to do it. If it does not succeed then it will be a lesson for me as well