question

BushJoe-0166 avatar image
0 Votes"
BushJoe-0166 asked SadiqhAhmed-MSFT edited

Azure Migrate / Hyper-v VM / Initial Replication

Hi all, I'm trying to get some on-prem Hyper-v vms migrated to Azure using Azure Migrate. On-prem is a several node Hyper-v cluster with each node running Win2012R2. I set up the Azure Migrate project, installed the Azure Site Recovery provider on each Hyper-v node, registered each HV node, and then set up an Azure storage account for the replication that's needed when you invoke the Replicate process in Azure Migrate.

The Azure Migrate 'Enable Replication' job kicks off and makes it through the Prerequisites check and the Identifying replication target check and then it fails on the Enable replication step. You can see in Hyper-v manager that it tries to Enable Replication because you can see a status message next to the vm that says 'Enable Replication'. It fails each time with Error ID 70094, Provider error code 31343, and a message that the service returned an error code of '8079ffff'.

The Hyper-v nodes use an outbound proxy server and i've reviewed the logs and its communicating to Azure with no Denials. I've renewed the certificates in the Infrastructure Servers in Azure Migrate. There's just not a lot of information in any of the logs to clue me in on what might be the issue.

Does anyone have any suggestions on what might be the issue? One other thing. The Hyper-v servers are managed by VMM. Do I have to use VMM as part of the Azure Migrate configuration? I'd rather not if i don't have to.

azure-migrate
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SadiqhAhmed-MSFT avatar image
0 Votes"
SadiqhAhmed-MSFT answered SadiqhAhmed-MSFT edited

@BushJoe-0166 Thank you for your post and I apologize for the delayed response!

Usually, this may happen when the MARS agent is from higher or an unsupported version.

Please check if Azure Backup was configured/updated after you configured Azure Migrate as the unsupported version can come from Backup. If you did, it’s likely that the MARS agent version isn’t supported by Migrate. In this case, you will have to install the correct MARS agent. You can follow the below steps:

  1. Export the MARS agent registry key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Azure Backup”.
    Command line: reg export "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Azure Backup" <filepath.reg> /y

  2. Uninstall the MARS agent on the host.
    Command line: "C:\Program Files\Microsoft Azure Recovery Services Agent\bin\ManagedSetup.exe" /d

  3. The correct download link for an older release can be found from download links

  4. Import the registry key back, which was exported in Step 1.
    Command line: reg import <filepath.reg>


If the MARS agent version was correct, then file a support request to Azure Migrate technical support team as this will need troubleshooting and we may have to look at logs.


If the response helped, do "Accept Answer" and up-vote it







· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the feedback. I looked in that Windows Azure Backup registry key and it had some configurations for Microsoft Azure Backup from two years ago. I didn't even know that Microsoft Azure Backup/Azure Site Recovery was installed on these servers and I went ahead and installed the AzureSiteRecoveryProvider.exe to get Azure Migrate set up.

There's 3 Windows Azure Recovery services shown in services.msc
Microsoft Azure Recovery Services Agent
Microsoft Azure Recovery Services Management Agent
Microsoft Azure Site Recovery Service.

How would I uninstall Microsoft Azure Backup to only have what's needed for AzureMigrate and how do would I clear the old configuration in the Windows Azure Backup registry key?

0 Votes 0 ·

@BushJoe-0166 Sorry for the delay. Uninstalling MARS agent will clear old registry settings related to MARS.

You should follow below steps.
1. Uninstall the MARS agent on the host.
Command line: "C:\Program Files\Microsoft Azure Recovery Services Agent\bin\ManagedSetup.exe" /d

  1. Install the new agent either by extracting it from the relevant unified setup installer (for V2A scenarios), or downloading from the relevant DLC link (applicable for both H2A/V2A cases). The latest MARS is available here: https://aka.ms/downloadmarsagent
    Command line: MARSAgentInstaller.exe /q

The correct download link for an older release can be found from download links


If the response helped, do "Accept Answer" and up-vote it



0 Votes 0 ·