Deployment Planner for Hyper-V disaster recovery with Azure Site Recovery - Azure Site Recovery (2023)

  • Article
  • 8 minutes to read

This article is the Azure Site Recovery Deployment Planner user guide for Hyper-V-to-Azure production deployments.

Before you begin protecting any Hyper-V virtual machines (VMs) using Site Recovery, allocate sufficient bandwidth based on your daily data-change rate to meet your desired Recovery Point Objective (RPO), and allocate sufficient free storage space on each volume of Hyper-V storage on-premises.

You also need to create the right type and number of target Azure storage accounts. You create either standard or premium storage accounts, factoring in growth on your source production servers because of increased usage over time. You choose the storage type per VM, based on workload characteristics, for example, read/write I/O operations per second (IOPS), or data churn, and Azure Site Recovery limits.

The Azure Site Recovery deployment planner is a command-line tool for both Hyper-V to Azure and VMware to Azure disaster recovery scenarios. You can remotely profile your Hyper-V VMs present on multiple Hyper-V hosts using this tool (with no production impact whatsoever) to understand the bandwidth and Azure storage requirements for successful replication and test failover / failover. You can run the tool without installing any Azure Site Recovery components on-premises. However, to get accurate achieved throughput results, we recommend that you run the planner on a Windows Server that has the same hardware configuration as that of one of the Hyper-V servers that you will use to enable disaster recovery protection to Azure.

The tool provides the following details:

(Video) Azure Site Recovery for Hyper-V VMs Step by Step

Compatibility assessment

  • VM eligibility assessment, based on number of disks, disk size, IOPS, churn, and few VM characteristics.

Network bandwidth need versus RPO assessment

  • The estimated network bandwidth that's required for delta replication
  • The throughput that Azure Site Recovery can get from on-premises to Azure
  • RPO that can be achieved for a given bandwidth
  • Impact on the desired RPO if lower bandwidth is provisioned.

Azure infrastructure requirements

  • The storage type (standard or premium storage account) requirement for each VM
  • The total number of standard and premium storage accounts to be set up for replication
  • Storage-account naming suggestions, based on Azure Storage guidance
  • The storage-account placement for all VMs
  • The number of Azure cores to be set up before test failover or failover on the subscription
  • The Azure VM-recommended size for each on-premises VM

On-premises infrastructure requirements

  • The required free storage space on each volume of Hyper-V storage for successful initial replication and delta replication to ensure that VM replication will not cause any undesirable downtime for your production applications
  • Maximum copy frequency to be set for Hyper-V replication

Initial replication batching guidance

  • Number of VM batches to be used for protection
  • List of VMs in each batch
  • Order in which each batch is to be protected
  • Estimated time to complete initial replication of each batch

Estimated DR cost to Azure

  • Estimated total DR cost to Azure: compute, storage, network, and Azure Site Recovery license cost
  • Detail cost analysis per VM

Important

Because usage is likely to increase over time, all the preceding tool calculations are performed assuming a 30% growth factor in workload characteristics, and using a 95th percentile value of all the profiling metrics (read/write IOPS, churn, and so forth). Both of these elements (growth factor and percentile calculation) are configurable. To learn more about growth factor, see the "Growth-factor considerations" section. To learn more about percentile value, see the "Percentile value used for the calculation" section.

(Video) Azure Site Recovery Series - Video 2 - Deployment Plan

Support matrix

CategoriesVMware to AzureHyper-V to AzureAzure to AzureHyper-V to secondary siteVMware to secondary site
Supported scenariosYesYesNoYes*No
Supported VersionvCenter 6.7, 6.5, 6.0 or 5.5Windows Server 2016, Windows Server 2012 R2NAWindows Server 2016, Windows Server 2012 R2NA
Supported configurationvCenter, ESXiHyper-V cluster, Hyper-V hostNAHyper-V cluster, Hyper-V hostNA
Number of servers that can be profiled per running instance of the Azure Site Recovery Deployment PlannerSingle (VMs belonging to one vCenter Server or one ESXi server can be profiled at a time)Multiple (VMs across multiple hosts or host clusters can be profile at a time)NAMultiple (VMs across multiple hosts or host clusters can be profile at a time)NA

*The tool is primarily for the Hyper-V to Azure disaster recovery scenario. For Hyper-V to secondary site disaster recovery, it can be used only to understand source side recommendations like required network bandwidth, required free storage space on each of the source Hyper-V servers, and initial replication batching numbers and batch definitions. Ignore the Azure recommendations and costs from the report. Also, the Get Throughput operation is not applicable for the Hyper-V to secondary site disaster recovery scenario.

Prerequisites

The tool has three main phases for Hyper-V: get VM list, profiling, and report generation. There is also a fourth option to calculate throughput only. The requirements for the server on which the different phases need to be executed are presented in the following table:

Server requirementDescription
Get VM list, profiling, and throughput measurement
  • Operating system: Microsoft Windows Server 2016 or Microsoft Windows Server 2012 R2
  • Machine configuration: 8 vCPUs, 16 GB RAM, 300 GB HDD
  • Microsoft .NET Framework 4.5
  • Microsoft Visual C++ Redistributable for Visual Studio 2012
  • Internet access to Azure (*.blob.core.windows.net) from this server, port 443
    [This is optional. You can choose to provide the available bandwidth during Report Generation manually.]
  • Azure storage account
  • Administrator access on the server
  • Minimum 100 GB of free disk space (assuming 1000 VMs with an average of three disks each, profiled for 30 days)
  • The VM from where you are running the Azure Site Recovery deployment planner tool must be added to TrustedHosts list of all the Hyper-V servers.
  • All Hyper-V servers to be profiled must be added to TrustedHosts list of the client VM from where the tool is being run. Learn more to add servers into TrustedHosts list.
  • The tool should be run from Administrative privileges from PowerShell or command-line console on the client
Report generationA Windows PC or Windows Server with Microsoft Excel 2013 or later
User permissionsAdministrator account to access Hyper-V cluster/Hyper-V host during get VM list and profiling operations.
All the hosts that need to be profiled should have a domain administrator account with the same credentials i.e. user name and password

Steps to add servers into TrustedHosts List

  1. The VM from where the tool is to be deployed should have all the hosts to be profiled in its TrustedHosts list. To add the client into Trustedhosts list run the following command from an elevated PowerShell on the VM. The VM can be a Windows Server 2012 R2 or Windows Server 2016.

    set-item wsman:\localhost\Client\TrustedHosts -value '<ComputerName>[,<ComputerName>]' -Concatenate
  2. Each Hyper-V Host that needs to be profiled should have:

    a. The VM on which the tool is going to be run in its TrustedHosts list. Run the following command from an elevated PowerShell on the Hyper-V host.

    (Video) How to Use Azure Site Recovery for Backup, Migration, and Disaster Recovery

    set-item wsman:\localhost\Client\TrustedHosts -value '<ComputerName>[,<ComputerName>]' -Concatenate

    b. PowerShell remoting enabled.

    Enable-PSRemoting -Force
  1. Download the latest version of the Azure Site Recovery deployment planner.The tool is packaged in a .zip folder. The same tool supports both VMware to Azure and Hyper-V to Azure disaster recovery scenarios. You can use this tool for Hyper-V-to secondary site disaster recovery scenario as well but ignore the Azure infrastructure recommendation from the report.

  2. Copy the .zip folder to the Windows Server on which you want to run the tool. You can run the tool on a Windows Server 2012 R2 or Windows Server 2016. The server must have network access to connect to the Hyper-V cluster or Hyper-V host that holds the VMs to be profiled. We recommend that you have the same hardware configuration of the VM, where the tool is going to run, as that of the Hyper-V server, which you want to protect. Such a configuration ensures that the achieved throughput that the tool reports matches the actual throughput that Azure Site Recovery can achieve during replication. The throughput calculation depends on available network bandwidth on the server and hardware configuration (CPU, storage, and so forth) of the server. The throughput is calculated from the server where the tool is running to Azure. If the hardware configuration of the server differs from the Hyper-V server, the achieved throughput that the tool reports will be inaccurate.The recommended configuration of the VM: 8 vCPUs, 16 GB RAM, 300 GB HDD.

  3. Extract the .zip folder.The folder contains multiple files and subfolders. The executable file is ASRDeploymentPlanner.exe in the parent folder.

Example: Copy the .zip file to E:\ drive and extract it. E:\ASR Deployment Planner_v2.3.zip

E:\ASR Deployment Planner_v2.3\ASRDeploymentPlanner.exe

Updating to the latest version of deployment planner

The latest updates are summarized in the Deployment Planner version history.

(Video) Disaster Protection with Azure VMware Solution and Site Recovery Manager

If you have previous version of the deployment planner, do either of the following:

  • If the latest version doesn't contain a profiling fix and profiling is already in progress on your current version of the planner, continue the profiling.
  • If the latest version does contain a profiling fix, we recommended that you stop profiling on your current version and restart the profiling with the new version.

Note

When you start profiling with the new version, pass the same output directory path so that the tool appends profile data on the existing files. A complete set of profiled data will be used to generate the report. If you pass a different output directory, new files are created, and old profiled data is not used to generate the report.

Each new deployment planner is a cumulative update of the .zip file. You don't need to copy the newest files to the previous folder. You can create and use a new folder.

Version history

The latest Azure Site Recovery Deployment Planner tool version is 2.5.Refer to Azure Site Recovery Deployment Planner Version History page for the fixes that are added in each update.

Next steps

  • Run the deployment planner.

FAQs

How do I protect Hyper-V VMs by using Azure Site recovery? ›

Navigate to the server or cluster hosting VMs you want to protect (either with Server Manager or Hyper-Converged Cluster Manager). Go to Virtual Machines > Inventory. Select any VM (this doesn't need to be the VM you want to protect). Select Manage > Replicate using Azure Site Recovery.

How do I run ASR deployment planner in Hyper-V? ›

Command-line parameters

Open a command-line console and go to the folder for the Azure Site Recovery deployment planning tool. Run ASRDeploymentPlanner.exe with the following parameters. ASRDeploymentPlanner.exe -Operation GetThroughput /? The virtualization type (VMware or Hyper-V).

What is Azure Site recovery deployment Planner? ›

You choose the storage type per VM, based on workload characteristics, for example, read/write I/O operations per second (IOPS), or data churn, and Azure Site Recovery limits. The Azure Site Recovery deployment planner is a command-line tool for both Hyper-V to Azure and VMware to Azure disaster recovery scenarios.

Is Azure site recovery and disaster recovery the same? ›

Yes. By default, when you enable disaster recovery for Azure VMs, Site Recovery creates target resources, based on source resource settings. For Azure VMs configured with static IP addresses, Site Recovery tries to provision the same IP address for the target VM, if it's not in use.

Does Azure supports both .VHD and .vhdx file? ›

Azure supports both generation 1 and generation 2 VMs that are in VHD file format and that have a fixed-size disk. The maximum size allowed for the OS VHD on a generation 1 VM is 2 TB. You can convert a VHDX file to VHD, convert a dynamically expanding disk to a fixed-size disk, but you can't change a VM's generation.

Is Azure Site Recovery used only as a disaster recovery solution? ›

The service enables customers to use Azure as a disaster recovery site on a pay-as-you-go model without having to invest in additional infrastructure. As a disaster recovery platform, ASR offers support for multiple scenarios: Replication of physical servers from on-premises and third party service providers to Azure.

How do I run ASR deployment planner? ›

Generate Deployment Planner Report
  1. Operation = GenerateReport.
  2. Virtualization = VMware.
  3. Directory = “C:\Temp\ASRDeploymentPlanner\Profiling_Data\vCenter_ProfiledData08042019_1”
  4. Server = vCenter IP or FQDN.
  5. User = vCenter user with appropriate permissions.
May 22, 2019

What does a deployment planner do? ›

Reporting to the Manager, Deployment the purpose of the Deployment Planner is to complete coordination and administration for Deployment Services. The Project Coordinator will assist Project Managers…

What is RTO and RPO in Azure Site Recovery? ›

RTO and RPO targets

Keep recovery time objectives (RTO) and recovery point objectives (RPO) within organizational limits. Site Recovery provides continuous replication for Azure VMs and VMware VMs, and replication frequency as low as 30 seconds for Hyper-V.

What is the best way to protect against VM escape? ›

To minimize vulnerability to VM escape, Skoudis recommends that you:
  1. Keep virtual machine software patched.
  2. Install only the resource-sharing features that you really need.
  3. Keep software installations to a minimum because each program brings its own vulnerabilities.

Does Azure Site Recovery protect against ransomware? ›

Microsoft has invested in native security capabilities that make Microsoft Azure resilient against ransomware attacks and helps organizations defeat ransomware attack techniques.

What does Azure Site Recovery provides for virtual machines? ›

Azure Site Recovery provides resilience and disaster recovery for apps and workloads running on on-premises machines, or Azure IaaS VMs. Site Recovery orchestrates replication, and handles failover to Azure when outages occur. It also handles recovery from Azure to your primary site.

What are the benefits of Azure Site Recovery? ›

Azure Site Recovery offers ease of deployment, cost effectiveness, and dependability. Deploy replication, failover, and recovery processes through Site Recovery to help keep your applications running during planned and unplanned outages.

Videos

1. Azure Tip: Azure Site Recovery Deployment Planner für Hyper-V Disaster Recovery nach Azure
(Tom Wechsler)
2. How do I estimate Azure Site Recovery?
(Ingram Micro Cloud)
3. Azure Site Recovery move your Hyper-V VM to Azure Cloud step by step
(Paddy Maddy)
4. Zone to Zone Disaster Recovery with Azure Site Recovery | Azure Friday
(Microsoft Azure)
5. AZ 303/304 Prepare for disaster recovery with Azure Site Recovery, Replication, Recovery Plan - LAB
(Cloud Security Training & Consulting)
6. Azure Site Recovery Series - Video 6 - Build Recovery Plan
(Azure Hour - Microsoft US Education Team)
Top Articles
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated: 04/29/2023

Views: 5943

Rating: 4.7 / 5 (47 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.