MikeErter
Enthusiast
Enthusiast

Failed to sync data on replica devices

Hi SRM Community,

We just installed SRM 6.5. We're testing it out. We have a simple Recovery Plan using Array Based Replication.  When we go to test it, there is a checkbox "Replicate recent change to recovery site" - this causes the test to error out if we set it. 

Investigating, we found that when we went to Discover Devices on the Array Pair, we see the error below:

Internal error: class Dr::Xml::XmlValidateException "element 'SourceDevices' is not allowed for content model '(SourceDevice+)'" (6)

[context]zKq7AVMEAQAAAHFmRgAUdm13YXJlLWRyAACsRABzcm0teG1sLmRsbAAAXE4AAUhZCHhlcmNlcy1jXzNfMS5kbGwAAbF9AwGa2AQBWKsEAd6cBAHTlAcAwUsAAkhsA2RyLXN0b3JhZ2Utc3JhLmRsbAACa28DAlfrAQKfgwECAf4BAjnnAQLA5QECFtgBAyqLA2NvbW1vbi5kbGwABDuHGHZtYWNvcmUuZGxsAAQslxg=[/context].

The odd thing is if we test the recovery plan without checking the "Replicate recent change to recovery site" box, the test succeeds.

Hoping someone has seen this before!

Thanks!

0 Kudos
2 Replies
basher
VMware Employee
VMware Employee

Hi

What storage array are you using? What firmware and SRA version?

Thanks

Stefan

Director - VMware Site Recovery Manager
0 Kudos
jameseydoyle
VMware Employee
VMware Employee

Can you check the Production Site SRM server's vmware-dr.log for the results of the 'syncOnce' SRA command. You should see and input similar to the following:

<Command xmlns="http://www.vmware.com/srm/sra/v2">

  <Name>syncOnce</Name>

   <SyncOnceParameters>

      <ArrayId>XXX</ArrayId>

      <PeerArrayId>YYY</PeerArrayId>

      <SourceDevices>

         <SourceDevice id=“dev_1" />

      </SourceDevices>

   </SyncOnceParameters>

</Command>

Sometime after this command has been issued, you should receive a response from the array like the following:

<SyncOnceResults>

  <SourceDevices>

      <SourceDevice id=“dev_1">

         <DeviceSync id="sync-1022" status="inProgress">

            <Progress>0</Progress>

            <RemainingTimeEstimate>150</RemainingTimeEstimate>

         </DeviceSync>

      </SourceDevice>

  </SourceDevices>

</SyncOnceResults>

If you get an error code however and the code contains a number higher than 1000, then the issue is storage vendor specific and you should open a support ticket with your storage vendor. An example would look like this:

         <SourceDevice id="dev_1">

            <Error code="1209"/>

         </SourceDevice>

      </SourceDevices>

This is most likely an issue with either the SRA not interpreting the request properly, or the SRA sends the request to the array but the array is not able to implement the requested action. Either way, you are probably going to have to contact your storage vendor.

Also, as Stefan said, make sure that the SRA version and the storage are compatible with your SRM release.

https://www.vmware.com/resources/compatibility/search.php?deviceCategory=sra

0 Kudos