Issue while replicating an On-premise Hyper-V guest to Azure error code 8079002c

A quick blog post on a fix I found to resolve a replication issue between Hyper-V guest and Azure Migrate with error code 8079002c

Using Azure Migrate and attempting to replicate an On-Premise Hyper-V guest (Server 2012R2) to azure, error code 8079002c kept appearing and the initial replication kept failing.

I will include snippets of the event viewer:-

Application and Services Logs -> MicrosoftAzureRecoveryServices -> replication

Errors found

The configuration file for virtual machine 'SmartHotelWeb1' could not be sent to the Azure Site Recovery. You may not be able to failover back your virtual machine on your host if it gets deleted from the host. (Virtual Machine ID 26ceaede-dec1-4a81-8306-5eb1d4509ed9 , Data Source ID 17592942496931, Task ID 434f0697-fd4d-4789-8e9f-5f4312d0615f)

Replication operation for virtual machine 'SmartHotelWeb1' failed.  (Error Code '8079002c')(Virtual Machine ID 26ceaede-dec1-4a81-8306-5eb1d4509ed9, Data Source ID 17592942496931, Task ID 434f0697-fd4d-4789-8e9f-5f4312d0615f)

Export System Definition for virtual machine 'SmartHotelWeb1' failed.(Virtual Machine ID 26ceaede-dec1-4a81-8306-5eb1d4509ed9 , Data Source ID 17592942496931, Task ID 434f0697-fd4d-4789-8e9f-5f4312d0615f)

Affecting error

Replication operation for virtual machine ‘SmartHotelWeb1’ failed. (Error Code ‘8079002c’)(Virtual Machine ID 26ceaede-dec1-4a81-8306-5eb1d4509ed9, Data Source ID 17592942496931, Task ID 434f0697-fd4d-4789-8e9f-5f4312d0615f)

On the hyper-V host I did notice some stale checkpoints from the inital deployment of the Virtual Machine in Hyper-V – I took these during various installs, similar to the below.

The fix

  1. Stop replication in Azure Portal of affected Virtual Machine

2. This will disable and remove replication menu from affected Virtual Machine in Hyper-V

3. Remove all checkpoints from the Virtual Machine as shown above in Hyper-V

4. Enable replication again in Azure Migrate of affected Virtual Machine, this should enable replication correctly without errors and replication will start shortly after

Enable replication successful for virtual machine 'SmartHotelWeb1'. (Virtual Machine ID 26ceaede-dec1-4a81-8306-5eb1d4509ed9, Data Source ID 17594097569257, Task ID f3c0de27-e9c6-4b82-b689-ede7f4115856)

Started initial replication of virtual machine 'SmartHotelWeb1'. (Virtual Machine ID 26ceaede-dec1-4a81-8306-5eb1d4509ed9, Data Source ID 17594097569257, Task ID 2e495acd-48fd-451d-9dad-d3735b504da1)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s