"The virtual machine failed to become vSphere HA Protected" in vCenter Server
search cancel

"The virtual machine failed to become vSphere HA Protected" in vCenter Server

book

Article ID: 320232

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • Virtual machines in the Inventory appear as Unprotected in the vSphere HA (High Availability) Protection column.
  • Virtual machines on a particular datastore shows as unprotected and shows as protected when migrated to a different datastore.
  • The summary tab of the virtual machine displays the warning:

    The virtual machine failed to become vSphere HA Protected and HA may not attempt to restart it after a failure.
     
  • The virtual machine summary shows the virtual machines as Protected
  • This issue can be triggered by clicking the column header to sort by the vSphere HA Protection column
  • In the /var/log/fdm.log file, the virtual machine is listed as protected and you see entries similar to:
     
    <YYYY-MM-DD>T<time> [3ABD5B90 verbose 'Cluster' opID=SWI-ce9c3232-ac] [ClusterDatastore::ReconcileVCProtectList] New protected vm /vmfs/volumes/512d6575-d9c3e988-6513-0025b52a213f/vmtest/vmtest.vmx </time>
    <YYYY-MM-DD>T<time> [3AD5BB90 verbose 'PropertyProvider' opID=SWI-c0cd39b0] RecordOp ADD: protectedVm["/vmfs/volumes/512d6575-d9c3e988-6513-0025b52a213f/vmtest/vmtest.vmx"], fdmService</time>
     
  • In the C:\ProgramData\VMware\VMware VirtualCenter\Logs\vpxd.log file, you see entries similar to:

    <YYYY-MM-DD>T<time> [05924 info 'vmdasVm'] [VmMo::SetDesiredDasProtectState] desired protection state for VM vm-210 'unprotected' -> 'protected'
    </time>
    <YYYY-MM-DD>T<time> [05924 info 'vmdasVm'] [VmMo::UpdateActualDasProtectStateLocked] actual protection state for VM vm-210 'n/a' -> 'unprotected'
    </time>

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

 


Environment

VMware vCenter Server 5.0.x
VMware vCenter Server 5.1.x
VMware vCenter Server 5.5.x
VMware vCenter Server 6.0.x

Resolution

This issue is resolved in:
This is a cosmetic issue and does not affect the virtual machine.


Workaround:
To work around this issue if you do not want to upgrade, disable and enable HA on the cluster and verify that VMware High Availability (HA) is fully functional.
 
For similar issue please check the following KBs:


Additional Information

To be alerted when this document is updated, click the Subscribe to Article link in the Actions box..

vSphere High Availability error messages (2146276)
Location of vCenter Server log files
在 vCenter Server 中出现报错:虚拟机无法进入受 vSphere HA 保护的状态
仮想マシンのステータスが保護から保護解除に変わる