Running SRM Planned/Test Failover fails with the error: SRM tests fails with No hosts with hardware version 'x' and datastores "xxxxxxx" which are powered on and not in maintenance mode are available
search cancel

Running SRM Planned/Test Failover fails with the error: SRM tests fails with No hosts with hardware version 'x' and datastores "xxxxxxx" which are powered on and not in maintenance mode are available

book

Article ID: 334941

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms:

  • Cannot run Site Recovery Manager (SRM) Test Failover.
  • Running SRM Test Failover fails with below error.
  • When executing an actual Disaster Recovery (DR) activity without first performing a recovery plan test, the recovery plan may fail with the below error.
  • SRM test fails with "No hosts with hardware version 'x' and datastores "xxxxxxx" which are powered on and not in maintenance mode are available"

Environment

VMware Site Recovery Manager 8.X
VMware Live Recovery 9.x

Cause

  • The issue occurs if the virtual machines are moved to different protection groups from the original protection groups and the resource pools are no longer valid.

  • The incorrect resource mappings in SRM leads to incomplete recovery.
+ From vmware-dr.log, 

<Step elapsedTime="00:00:00" endTime="####-##-##T##:##:##Z" objectId="protected-vm-514321" startTime="####-##-##T##:##:##Z" status="error">",
-->       "              <Key>RecoveryStepConfigStorageOp.name</Key>",
-->       "              <Name>Configure storage</Name>",
-->       "              <fault>",
-->       "                  <_type>dr.fault.NoCompatibleHostFound</_type>",
-->       "                  <datastoreNames>",
-->       "                      <_length>1</_length>",
-->       "                      <_type>string[]</_type>",
-->       "                      <e id="0">#####-datastore-#####</e>",
-->       "  </datastoreNames>",
-->       "                  <datastores>",
-->       "                      <_length>1</_length>",
-->       "                      <_type>vim.Datastore[]</_type>",
-->       "                      <e id="0">",
-->       "                          <_type>vim.Datastore</_type>",
-->       "                          <moid>datastore-3385</moid>",
-->       "                          <serverGuid/>",
-->       "    </e>",
-->       "  </datastores>",
-->       "                  <hwVersion>14</hwVersion>",
-->       "                  <msg>No hosts with hardware version &apos;14&apos; and datastore(s) &apos;&quot;npcpv2-w7c2-lnx-prod-vsan&quot;&apos; which are powered on and not in maintenance mode are available.</msg>"

+ Recovery fails because of inaccurate placeholder datastore mappings.

Resolution

To resolve this issue:
  1. Ensure that there are valid resource pools to fail over to.
  2. From the protection group/virtual machines:
    1. Remove the protection from each virtual machine pointing to invalid protection resource pools.
    2. Configure the protection for each virtual machine and point to valid protection resource pools.