Solved

Hyper-V 2012R2 Replica Health Critical - Cannot Resynchronize - General Access Denied 0x80070005

Posted on 2015-02-22
1
708 Views
Last Modified: 2015-06-05
Hi experts,

I have two Windows 2012 R2 servers.  Let's call them SourceBox and ReplicaBox.  There are 2 VMs running and they were replicating perfectly.  Let's call them VM1 and VM2.  

I had a problem with my APC UPS on the SourceBox and it rebooted during the UPS self-test.  When the SourceBox came back up, the VMs started and appear to be working fine.  

HOWEVER, the replication Health read "Critical -  Resynchronization Required".  I attempt to do that and even though it appears to resynchronize, the health is left with a state of critical and it wants me to resynchronize again.  

I've found the ONLY way to fix this is to remove the replication, delete the VM from the ReplicaBox, then recreate the replica from scratch which re-initates a seed copy.  

This is what I did for one of the two VMs and it worked 100% fine.

I've left the other VM in this weird state so I can troubleshoot.  Upon looking at the Hyper-V event logs on the ReplicaBox, I see a few event ID's with associated messages.  They are as follows:

Event ID 16370
'ReplicaBox' cannot create the the storage required for the checkpoint using disk C:\VMs\Hyper-V Replica\Virtual Hard Disks\97A58FDF-B397-48587-BB76-65D0EEC9875F\VM2.VHD

EventID 18012
Checkpoint operation for 'VM2' failed (Virtual machine ID 97A58FDF-B397-48587-BB76-65D0EEC9875F)

EventID 33676
Replication operation for virtual machine 'VM2' failed: General access denied error (0x80070005).  

EventID 32316
Hyper-V failed to start recynchronization for virtual machine 'VM2: General access denied error (0x80070005).  

The only thing I did on the ReplicaBox when I noticed the SourceBox rebooted was immediately go into the Hyper-V settings and pause replication on VM1 and VM2.  

When everything came backup, I went to ReplicaBox and selected 'Resume Replication'.  However, that has had no effect.

I believe that some permissions have changed on the 'ReplicaBox' or the VHD file is in a locked state from the unexpected reboot of the source - perhaps it was in the middle of replicating changes when SourceBox rebooted.

Overall, I'd like to get the VM2 replica on ReplicaBox to resyncrhonize without having to recreate the replica and re-seed as it is a lot of data and the VHD files are already present on ReplicaBox.  Just a bit out of date now - an hour or so.

Any thoughts?
0
Comment
Question by:dpmoney
1 Comment
 

Accepted Solution

by:
dpmoney earned 0 total points
ID: 40814627
I never got any input on this question....issue resolved by re-synchronizing from scratch.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question