Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 8743

Unable to recreate replica as I cannot delete the xml files for the old VM on Hyper-v Cluster

$
0
0

My setup

There are 2 sites each running a Hyper-v 2012-R2 cluster comprising of 5 nodes each.

All the machines are in a HA state and stored on the shared clustered resource.

Initially we had replication working and it was replicating all the servers from Site A to Site B

There were some replication issues which needed me to stop the replication and redo it again, in doing so I firstly removed replication on Fail-over cluster manager on Site A and did the same on Site B.

On one of the servers I had to remove the VM, although the VM config and Disks still remain on the Site B Cluster.

I was trying to recreate the replica but it always fails with the following error :

Hyper-v failed to enable replication for virtual machine xxxxxxxx operation aborted (0x80004004).....

I followed an article to stop the Hyper-V Virtual Machine Management Service and try delete the file, When i tried to stop the service it would restart automatically and I was unable to delete the file. I put the service in disabled which kept it stopped however I was still unable to delete the files. I also tried to get File assassin which can help delete and clear locked files but it too was unable to delete it while the service was running or stopped as well as its additional mode whereby it will delete it on next reboot.

The  Article Https://social.technet.microsoft.com/Forums/windowsserver/en-US/4c4f2535-81ee-4a21-a920-b5632de2be37/hyperv-old-vm-folders-cannot-be-deleted?forum=winserverhyperv

 makes mention of stopping another service Hyper-V Image Management Service but I am unable to find it on 2012-R2 server.

I have also tried to put the additional nodes in a paused drained roles state leaving only one node as the active one but it still will not let me delete the VM config files, without removing those files I cannot re-initiate the Replication.

Any assistance would be greatly appreciated.


Viewing all articles
Browse latest Browse all 8743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>