Jun 6, 2022

Migrating On-Prem VMs to Azure using Azure Migrate (Hyper-V Scenario) - Part 2

Part 2 of migrating on-prem VMs to azure using azure migrate (Hyper-V Scenario). Azure is Microsoft's cloud computing platform, which allows your firm access to tremendous compute capabilities while being extremely secure, allowing you to achieve any business goal without having to invest in expensive local equipment. 95% of Fortune 500 companies currently utilize the Azure Platform as part of their IT infrastructure.

Part 2

Continuation of migrating on-prem VMs to azure using azure migrate (Hyper-V Scenario) - Part 1

Check that the conditions of part 1 are met before you begin.

To install the appliance, either use the downloaded VHD file to establish a virtual machine on a host or operate the downloaded.zip file to run the PowerShell script on an existing physical or virtual system (running Windows Server 2016, with 16 GB of memory, eight vCPUs, around 80 GB of disk storage).

You must verify security if you picked the Zip file option. Before deploying a zipped file, make sure it's safe& secure.

in this Demo, we will use VHD Option and select “Download.”

After you download the Migrate Appliance, you need to be extracted it.

Then you need to continue with the import Virtual Machine Option and select the right path for the Migrate Appliance and continue adding the required “Memory and CPU Power to the Appliance.”

After you successfully add the Appliance VM, it should be visible in your Hyper-V Server.

login to the VM using the “Given password during the Setup” and visit the “IP Address” mentioned in Notepad located in Appliance Desktop.

Ensure you have internet in Appliance and wait until the prerequisite stage is completed.

Provide the Azure Migrate Project key you have generated in “Azure Portal Previously” (in this Demo Article Part 01)

And yet again you will have to need to verify the Login with “Azure PowerShell” with “Generated Code.”

Then add the Hyper-V host from “Add Source” and the “Server Credentials”.

Wait until finish the “Validation.”

Then go to Start “Discovery.”

Once Discovery is completed, visit the “Azure Portal”.

Visit Azure Migrate in Azure Portal, go for "Azure Migrate Assessment Tool”, and click the Access Select “Azure VM.”

Then you will automatically direct to the “Create Assessment” Section, and you can go to Assessment Settings to Edit the VM info.

Provide the necessary “Properties/ VM Size and Pricing Details” you plan to have, or you can use the Microsoft Recommended Settings.

Then select the Server(s) you need to migrate.

Then you can see the overview of the Assessment with “Cost Estimation.”

Then visit “Migration Tools” in Azure Migrate windows and Click Discover to complete the next step with “Azure Site Recovery.”

Select Virtualized Section as Hyper-V. Then Download & Install the Hyper-V Replication Provider software in your Hyper-V host. Also, download the “Registration Key File” to register the Hyper-V to the project.

Upload the “Key File” during the “Registration”

Use recommended “Proxy Settings” and start the “Registration” and finalise the “Discover Registration” in Azure Portal.

Go back to Azure Migrate windows and Select “Replicate.”

Select“ Relevant Group and Assessment” and Mark the “Server(s)” click Next

Select the necessary options. (Eg: Resource Group and Vnet, you need to deploy the Server and Availability Options Etc.)and you also can use Azure Hybrid benefits if you have.

Review the configurations and start the replication.

Then check the status of the “Site Recovery Jobs.”

Once replication is completed, you will seethe “Status as Protected.”

When delta replication is complete, you may now do a test migration for the VMs before proceeding with the complete migration to Azure. It is strongly advised that you perform this procedure at least once for each machine. Select "Test Migration" from the Migrate menu.

Check the Test Migration Job in the Overview field and wait until all the stages are completed.

At the same time, you can see the Azure Deployed “Test Migrated VM.”

After verifying that the test migration works as expected, you can migrate the on-premises machines. Then go back to “Migration Tools” in Azure Migrate and perform the Migrate.

Select the Shutdown the VMs before migration to avoid the data loss

 

After waiting a few minutes Refresh the Migrate page, and the tiles on the Migrate page have been updated to show that you have a migrated server.

After completing the migration, right-click the VM and select "Stop replication."

Then accomplishes the following goals:

Best practices for post-migration
Interested in hearing more?
Lets connect.