Prepare Hyper-V host

In this section, we are going to prepare the Hyper-V host so that it can migrate the VMs that we assessed previously to Azure. To do so, follow these steps:

  1. In the Azure Migrate project overview blade in the Azure portal, under Migration goals, select Servers | Azure Migration | Server Migration | Discover:

Azure Migrate: Server Migration
  1. A new blade will open where you can specify what type of machines you want to migrate. Ensure that you select the following values:

Selecting the required machine types for migration
  1. Click Create resources. This will start the creation of a deployment template, which creates an Azure Site Recovery vault in the background.
  1. Now that the deployment template has been created, we can download the Hyper-V replication provider software installer. This is used to install the replication provider on the Hyper-V servers. Download the Hyper-V Replication provider and the registration key file:

Downloading the Hyper-V replication provider software
  1. The registration key is needed to register the Hyper-V host with Azure Migrate Server Migration. Note that the key is valid for 5 days after it is generated.
  2. Copy the provider setup file and registration key file for each Hyper-V host (or cluster node) running the VMs you want to replicate. Now, run the AzureSiteRecoveryProvider.exe file. In the first screen of the installer, you will be asked whether you want to use Microsoft update. Click yes.
  3. In the next screen, you have to provide an installation directory. Leave the default as it is and click Install
  1. After installation, you need to register the server in the Key Vault that was automatically created when we created the Azure Migrate project. Click Register.
  2. Now, you need to specify the vault settings. First, import the key file that we downloaded in the previous step. This will automatically fill in the Subscription, Vault name, and Hyper-V site name:

Registering the Key Vault
  1. Click Next.
  2. In the next screen, you have to specify whether you want to connect to Azure Site Recovery directly or by using a proxy. Keep the default setting as it is and click Next:

Connecting to Azure Site Recovery
  1. The server will be registered and all the settings configured. You can close the installer by clicking Finish
  2. Now, go back into Azure portal, go to the discover machines blade, and click the Finalize registration button:

Finalize registration
  1. Now, the registration has been finalized and the virtual machines have been discovered. This can take up to 15 minutes.

Now that we have prepared the Hyper-V host for migration, we are going to replicate (migrate) the servers to Azure.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset