“The data is invalid” warning pops up on Heartbeat setting for virtual machine resource in Windows Server 2012 Failover Cluster Manager.

Attiecas uz: Windows Server 2012 DatacenterWindows Server 2012 DatacenterWindows Server 2012 Essentials

Symptoms


When you try un-checking [Enable heartbeat monitoring for the virtual machine] checkbox in the properties dialog of a VM Resource from Failover Cluster Manager in Windows Server 2012, “The data is invalid” warning dialog comes up and you are not able to complete the process. 

Cause


This is a known issue with Failover Cluster Manager in the way that it implements the checkbox.  The cluster property that this checkbox is supposed to set remains unchanged.

Resolution


To resolve this issue, follow one of these options below:


< Option 1 >
If you determine to change the settings from GUI, follow these steps:
  • Open Failover Cluster Manager.
  • Click Roles and find the Virtual Machine Resource.
  • Select the Resources tab and Right-click the Virtual Machine.
  • Click Properties and then select the Settings tab.
  • In Heartbeat Setting, un-check the Enable automatic recovery for application health monitoring first.
  • Continue un-check the Enable heartbeat monitoring for the virtual machine, and then click OK.

< Option 2 >
If you determine to change the settings from Windows PowerShell, follow these steps:

  • Start Windows PowerShell.
  • Check the Virtual Machine Name. 
    PS C:\> Get-ClusterResource
  • Check the Value of Enable heartbeat monitoring for the virtual machine and Enable automatic recovery for application health monitoring.
    PS C:\> Get-ClusterResource < Virtual Machine Name > | Get-ClusterParameter CheckHeartbeat
  • When the CheckHeartbeat Value is 1, both of Enable heartbeat monitoring for the virtual machine and Enable automatic recovery for application health monitoring is checked. To un-check both of them, change the value to 0.
    PS C:\> Get-ClusterResource < Virtual Machine Name > | Set-ClusterParameter CheckHeartbeat 0

    Note: If you determine to un-check only Enable automatic recovery for application health monitoring, run the cmdlet below.
    PS C:\> (Get-ClusterResource <Object>).EmbeddedFailureAction = 1