Recently I had to migrate Hyper-V ASR solution integrate with SCVMM. So following are some consideration we have t do before migrate it. The migration not affect to VM replication process so we don’t have to worry about it.
Step 1
First we have to inform the ASR PG team to white-list the ASR Vault for the migrate.
Step 2
They will send the document which explain the how to do the migration and prerequisite.
Step 3
Run the PowerShell script with following parameters.
.\RecoveryServicesVaultUpgrade.ps1 -SubscriptionId <SubscriptionID> -VaultName <Vaultname>-Location <Location> -ResourceType HyperVRecoveryManagerVault -TargetResourceGroupName <TargetRG> -Verbose
If the migration success it prompt as follows.
Step 4
Now we have to migrate the storage account we use to replicate the VMs to ARM for that we can use following PowerShell commands.
$storageAccountName = <StorageAccountName> #prepare moving storage account $prepareStorageMsg = Move-AzureStorageAccount -Prepare -StorageAccountName $storageAccountName #commit the storage migration $commitStorageMsg = Move-AzureStorageAccount -Commit -StorageAccountName $storageAccountName