
close
close
In this article, I’ll show you step-by-step instructions for enabling Azure Site Recovery (ASR) replication of Hyper-V virtual machines to Azure so you can have DR-as-a-Service (DRaaS) or a disaster recovery (DR) site in the cloud.
Before proceeding, check the Azure Site Recovery prerequisites that include the following:
advertisment
The first item to create in Azure is a Site Recovery Vault. In the old Azure management portal, click New > Data Services > Recovery Services > Site Recovery Vault, enter the name of the vault and select the region of your choice.
Creating a Site Recovery Vault in Azure. (Image Credit: Aidan Finn)
Browse into the Site Recovery Vault after it is created and navigate to Servers > Hyper-V Sites. Click Create Hyper-V Site. This creates a logical unit that all of your hosts will reside in.
Create a Hyper-V site for Azure Site Recovery (Image Credit: Aidan Finn)
Navigate to the Quick Start guide of your vault, which is indicated by a little cloud with a lightning bolt to the left of Dashboard, making sure the drop-down box is set to Between An On-Premises Hyper-V Site And Azure, and click Download A Registration Key. You will be prompted to download a file after a few seconds. Save this file somewhere secure because the file contains a set of credentials that allows a server to create an initial connection to your ASR vault and Hyper-V Site. Note that you can reuse this file on multiple hosts for up to five days.
In the Quick Start guide, click Download The Provider. The provider is the agent that you will be installing on each host that you will replicate agents from.
advertisment
Log into each host that runs virtual machines that you want to replicate to Azure and run the setup program for the ASR provider. In the case of a Hyper-V cluster, you will install the provider on every host. Click Continue to start the host registration process.
After setting up the provider you will register each host. The first screen allows you to configure how the host communicates with the Internet. The options are:
Configure proxy settings for replicating to Azure Site Recovery (Image Credit: Aidan Finn)
Register a host with Azure Site Recovery (Image Credit: Aidan Finn)
Verify the host connection in Azure Site Recovery (Image Credit: Aidan Finn)
A protection group does a few things:
advertisment
Browse to Protected Items > Protection Groups and click Create Protection Group. In the first screen of the wizard, enter a name for the protection group, select the Hyper-V Site that you created, and then confirm the Azure subscription and storage account that you want to use.
Specify the Hyper-V site and storage account in Azure Site Recovery (Image Credit: Aidan Finn)
Configure the Azure Site Recovery replication settings (Image Credit: Aidan Finn)
More from Aidan Finn
advertisment
Petri Newsletters
Whether it’s Security or Cloud Computing, we have the know-how for you. Sign up for our newsletters here.
advertisment
More in Microsoft Azure
Microsoft's Azure AD Conditional Access Service Can Now Require Reauthentication
May 13, 2022 | Rabia Noureen
Microsoft Addresses Cross-Tenant Database Vulnerability in Azure PostgreSQL
Apr 29, 2022 | Rabia Noureen
Microsoft Simplifies IT Monitoring with New Azure Managed Grafana Service
Apr 19, 2022 | Rabia Noureen
System Center 2022 is Now Available with New Datacenter Management Capabilities
Apr 4, 2022 | Rabia Noureen
Most popular on petri
Log in to save content to your profile.
Article saved!
Access saved content from your profile page. View Saved
Join The Conversation
Create a free account today to participate in forum conversations, comment on posts and more.
Copyright ©2019 BWW Media Group