Using Azure Migrate – Part 1: Deployment and Configuration

Hello!

On July 11th, 2019, Microsoft announced the new Azure Migrate. This tool already existed but was quite limited. Now it has some interesting options, including:Logo_AzureMigration

  • Unified platform for migration
  • Database assessment and migration
  • Webapp migration
  • Assessment tools for right sizing/costs from both Microsoft and other partners
  • No need to install an agent on the client’s servers


*For more information  Click here.
Due to the relevance of the subject for our daily migrations, I share with you below a step-by-step guide for migrating some virtual machines in a VMware environment using Azure Migrate, as well as their assessment.

Scenario:

VMware cluster consisting of 3 hosts Virtual machines with different operating systems (Linux and Windows)

Objective:

Perform an assessment to identify the correct size of each VM to be migrated to Microsoft Azure Perform migration to Azure

Requirements:

Check VMware server requirements for assessment. Make sure that the necessary ports are open on the vCenter servers

For more information Click here.

Step-by-Step – Part 1:

  1. Create the resource called “Azure Migrate”. You can search for “Azure Migrate” in the azure search bar to find it.Deploy Appliance Azure Migration _2
  2. As mentioned before we have a single centralized panel for all migrations that are supported with Azure Migrate. In our case, simply click “Assess and migrate servers”.
    Deploy Appliance Azure Migration _3
  3. After the previous step, we will go to “add too(s)” and add our Azure Migrate migration tools.
    Deploy Appliance Azure Migration _4
  4. Select our subscription and create a new resource group to accommodate our Azure Migrate project. In this case, we created RG GRPD-MIGRATE:
    Deploy Appliance Azure Migration _5
  5. Next, we have tool options for assessment, Microsoft and ISVs. In our case, we used the assessment tool itself for demonstration.”
    Deploy Appliance Azure Migration _6
  6. As a next step, we should choose our migration tool. It can be from Microsoft itself or from an available ISV. In our case, we will use Microsoft’s own tool “Azure Migrate: Server Migration”:Deploy Appliance Azure Migration _7
  7. To finish choosing our tools, a summary of what has been configured so far is presented, just click on “Add tool(s)” to complete.Deploy Appliance Azure Migration _8
  8. After choosing the tools, if we go to “Servers”, we can identify the properties of each of the previously selected tools. And for our scenario, we go to “Assessment tools” and click on “Discover” in the tool “Azure Migrate: Server Assessment”. Deploy Appliance Azure Migration _9
  9. In “Discover Machines”, we will have two options, one for VMware environments and another for Hyper-v environments. In our case, we will select “Yes, with VMware vSpehere Hypervisor”, since it is a VMware environment. After selecting this option, we will download the .OVA file (VMware template of the appliance for Azure Migration) by clicking on “Download”.Deploy Appliance Azure Migration _10
  10. When the download of our template is complete, we go to our vCenter Web Client, click on the vCenter server and select the option “Deploy OVF Template”, selecting the file “MicrosoftAzureMigration.ova”.
    Deploy Appliance Azure Migration _10_1
  11. Next step, we need to select our Datacenter within vCenter.
    Deploy Appliance Azure Migration _10_2
  12. We select the cluster and host where the appliance will reside.
    Deploy Appliance Azure Migration _10_3
  13. The options and versions of the appliance that we downloaded are displayed.
    Deploy Appliance Azure Migration _10_4
  14. We select the Datastore in step 5 and in step 6 we define the network where the appliance will reside.
    Deploy Appliance Azure Migration _10_5
  15. After completing the previous steps, the appliance will begin to be provisioned according to the configured options.
    Deploy Appliance Azure Migration _10_6
  16. After provisioned, the appliance will appear in vCenter turned off with the name “MicrosoftAzureMigration”.
    Deploy Appliance Azure Migration _10_7
  17. Right-click on the “MicrosoftAzureMigration” appliance, go to the “Power” menu and then turn it on by clicking on “Power On”.
    Deploy Appliance Azure Migration _10_8
  18. With Azure Migration’s appliance turned on, it will be necessary to accept the license terms.
    Deploy Appliance Azure Migration _10_9
  19. After accepting the license terms, we need to set a password for our appliance’s operating system.
    Deploy Appliance Azure Migration _10_10
  20. With the appliance powered on and password set, it will auto-execute a web application where we will verify the prerequisites and accept the license terms again.
    Deploy Appliance Azure Migration _10_11
  21.  In the prerequisites, we will need to install the Vmware vSphere Virtual Disk Development Kit on the appliance, where the download will redirect to the Vmware website.
    Deploy Appliance Azure Migration _12
  22. On the VMware website, download the VMware-vix-disklib-*** file (current version).
    Deploy Appliance Azure Migration _14
  23. To install “Vmware vSphere Virtual Disk Development Kit”, we need to extract it into the directory: C:\Program Files\VMware\VMware Virtual Disk Development Kit.
    Deploy Appliance Azure Migration _15Deploy Appliance Azure Migration _17
  24. After extracting the files into the directory mentioned in the previous step, we need to click on “Verify and Install”, where “Vmware vSphere Virtual Disk Development Kit” will then be installed
    Deploy Appliance Azure Migration _18
  25. With the prerequisites installed, we need to register our appliance in our tenant/subscription by clicking on “login”.
    Deploy Appliance Azure Migration _20
  26. Your credentials will be requested.
    Deploy Appliance Azure Migration _21
  27. We select the subscription and migration project we created earlier, as well as define a name for the appliance. We then click on “Register”, thus completing the registration of the appliance.
    Deploy Appliance Azure Migration _22
  28. With the appliance registered, it will then be necessary to link it to your VMware environment’s vCenter Server by specifying the Ip/name address, port and access credentials, finalizing this step by clicking on “Validate connection”.
    Deploy Appliance Azure Migration _24
  29. With vCenter Server linked to your appliance, a scan will be started to list all virtual machines and other information about them.
    Deploy Appliance Azure Migration _27
  30. After scanning is complete, our deployment will be concluded. You can check the list of virtual machines in Azure Migrate portal in Microsoft Azure.
    Deploy Appliance Azure Migration _28

Finally, we conclude our Azure Migrate deployment. If you have any questions, please don’t hesitate to ask.

Leave a Reply

Your email address will not be published. Required fields are marked *