Skip to content

Commit 5285f8c

Browse files
authored
Merge pull request #221860 from ankitaduttaMSFT/ASR-QS-work
hyperVsite
2 parents 66a8578 + 23786d8 commit 5285f8c

18 files changed

+82
-60
lines changed

articles/site-recovery/encryption-feature-deprecation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To continue successful failover operations, and replications follow the steps me
3131

3232
Follow these steps for each VM:
3333
1. [Disable replication](./site-recovery-manage-registration-and-protection.md#disable-protection-for-a-hyper-v-virtual-machine-replicating-to-azure-using-the-system-center-vmm-to-azure-scenario).
34-
2. [Create a new replication policy](./hyper-v-azure-tutorial.md#set-up-a-replication-policy).
34+
2. [Create a new replication policy](./hyper-v-azure-tutorial.md#replication-policy).
3535
3. [Enable replication](./hyper-v-vmm-azure-tutorial.md#enable-replication) and select a storage account with SSE enabled.
3636

3737
After completing the initial replication to storage accounts with SSE enabled, your VMs will be using Encryption at Rest with Azure Site Recovery.

articles/site-recovery/hybrid-how-to-enable-replication-private-endpoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ After you finish the preceding tasks, continue with the setup of your on-premise
263263
infrastructure. Continue by completing one of the following tasks:
264264

265265
- [Deploy a configuration server for VMware and physical machines](./vmware-azure-deploy-configuration-server.md)
266-
- [Set up the Hyper-V environment for replication](./hyper-v-azure-tutorial.md#set-up-the-source-environment)
266+
- [Set up the Hyper-V environment for replication](./hyper-v-azure-tutorial.md#source-settings)
267267

268268
After the setup is complete, enable replication for your source machines. Don't set up
269269
the infrastructure until after the private endpoints for the vault are created in the

articles/site-recovery/hyper-v-azure-tutorial.md

Lines changed: 79 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Set up Hyper-V disaster recovery using Azure Site Recovery
33
description: Learn how to set up disaster recovery of on-premises Hyper-V VMs (without VMM) to Azure by using Site Recovery.
44
ms.service: site-recovery
55
ms.topic: tutorial
6-
ms.date: 11/12/2019
6+
ms.date: 01/16/2023
77
ms.custom: MVC
88
ms.author: ankitadutta
99
author: ankitaduttaMSFT
@@ -17,7 +17,6 @@ This is the third tutorial in a series. It shows you how to set up disaster reco
1717
In this tutorial, you learn how to:
1818

1919
> [!div class="checklist"]
20-
> * Select your replication source and target.
2120
> * Set up the source replication environment, including on-premises Site Recovery components and the target replication environment.
2221
> * Create a replication policy.
2322
> * Enable replication for a VM.
@@ -26,55 +25,51 @@ In this tutorial, you learn how to:
2625
> Tutorials show you the simplest deployment path for a scenario. They use default options where possible, and don't show all possible settings and paths. For detailed instructions, review the articles in the **How-to Guides** section of the [Site Recovery documentation](./index.yml).
2726
2827

29-
30-
## Before you begin
28+
## Prerequisites
3129

3230
This is the third tutorial in a series. It assumes that you have already completed the tasks in the previous tutorials:
3331

3432
1. [Prepare Azure](./tutorial-prepare-azure-for-hyperv.md)
3533
2. [Prepare on-premises Hyper-V](./hyper-v-prepare-on-premises-tutorial.md)
3634

37-
## Select a replication goal
38-
39-
1. In the Azure portal, go to **Recovery Services vaults** and select the vault. We prepared the vault **ContosoVMVault** in the previous tutorial.
40-
2. In **Getting Started**, select **Site Recovery**, and then select **Prepare Infrastructure**.
41-
3. In **Protection goal** > **Where are your machines located?**, select **On-premises**.
42-
4. In **Where do you want to replicate your machines?**, select **To Azure**.
43-
5. In **Are your machines virtualized?**, select **Yes, with Hyper-V**.
44-
6. In **Are you using System Center VMM to manage your Hyper-V hosts?**, select **No**.
45-
7. Select **OK**.
35+
## Prepare infrastructure
4636

47-
![Screenshot of the Protection goal options in Prepare infrastructure.](./media/hyper-v-azure-tutorial/replication-goal.png)
37+
It is important to prepare the infrastructure before you set up disaster recovery of on-premises Hyper-V VMs to Azure.
4838

49-
## Confirm deployment planning
39+
### Deployment planning
5040

51-
1. In **Deployment planning**, if you're planning a large deployment, download the Deployment Planner for Hyper-V from the link on the page. [Learn more](hyper-v-deployment-planner-overview.md) about Hyper-V deployment planning.
52-
2. For this tutorial, we don't need the Deployment Planner. In **Have you completed deployment planning?**, select **I will do it later**, and then select **OK**.
41+
1. In the [Azure portal](https://portal.azure.com), go to **Recovery Services vaults** and select the vault. We prepared the vault **ContosoVMVault** in the previous tutorial.
42+
2. On the vault home page, select **Enable Site Recovery**.
43+
1. Navigate to the bottom of the page, and select **Prepare infrastructure** under the **Hyper-V machines to Azure** section. This opens the **Prepare infrastructure** pane.
44+
1. In the **Prepare infrastructure** pane, under **Deployment planning** tab do the following:
45+
> [!TIP]
46+
> If you're planning a large deployment, download the Deployment Planner for Hyper-V from the link on the page. [Learn more](hyper-v-deployment-planner-overview.md) about Hyper-V deployment planning.
47+
1. For this tutorial, we don't need the Deployment Planner. In **Deployment planning completed?**, select **I will do it later**.
48+
1. Select **Next**.
5349

54-
![Screenshot of the Deployment planning options in Prepare infrastructure.](./media/hyper-v-azure-tutorial/deployment-planning.png)
50+
:::image type="content" source="./media/hyper-v-azure-tutorial/deployment-planning.png" alt-text="Screenshot displays Deployment settings page." lightbox="./media/hyper-v-azure-tutorial/deployment-planning.png":::
5551

56-
## Set up the source environment
52+
### Source settings
5753

5854
To set up the source environment, you create a Hyper-V site and add to that site the Hyper-V hosts containing VMs that you want to replicate. Then, you download and install the Azure Site Recovery Provider and the Azure Recovery Services agent on each host, and register the Hyper-V site in the vault.
5955

60-
1. Under **Prepare Infrastructure**, select **Source**.
61-
2. In **Prepare source**, select **+ Hyper-V Site**.
62-
3. In **Create Hyper-V site**, specify the site name. We're using **ContosoHyperVSite**.
63-
64-
![Screenshot of Hyper-V site selection in Prepare infrastructure.](./media/hyper-v-azure-tutorial/hyperv-site.png)
56+
1. In the **Source settings** tab, do the following:
57+
1. For **Are you Using System Center VMM to manage Hyper-V hosts?**, select **No**. This enables new options.
58+
1. Under **Hyper-V site** specify the site name. You can also use the **Add Hyper-V site** option to add a new Hyper-V site. In this tutorial we're using **ContosoHyperVSite**.
59+
1. Under **Hyper-V servers**, select **Add Hyper-V servers** to add servers.
60+
:::image type="content" source="./media/hyper-v-azure-tutorial/source-setting.png" alt-text="Screenshot displays Source settings page." lightbox="./media/hyper-v-azure-tutorial/source-setting.png":::
6561

66-
4. After the site is created, in **Prepare source** > **Step 1: Select Hyper-V site**, select the site you created.
67-
5. Select **+ Hyper-V Server**.
62+
1. On the new **Add Server** pane, do the following:
63+
1. [Download the installer](#install-the-provider) for the Microsoft Azure Site Recovery Provider.
64+
:::image type="content" source="./media/hyper-v-azure-tutorial/add-server.png" alt-text="Screenshot displays Add server page." lightbox="./media/hyper-v-azure-tutorial/add-server.png":::
65+
1. Download the vault registration key. You need this key to the Provider. The key is valid for five days. [Learn more](#install-the-provider-on-a-hyper-v-core-server).
66+
1. Select the site you created.
67+
1. Select **Next**.
68+
6869

69-
![Screenshot of Hyper-V server selection in Prepare infrastructure.](./media/hyper-v-azure-tutorial/hyperv-server.png)
70-
71-
6. Download the installer for the Microsoft Azure Site Recovery Provider.
72-
7. Download the vault registration key. You need this key to install the Provider. The key is valid for five days after you generate it.
73-
74-
![Screenshot of the options to download the Provider and registration key.](./media/hyper-v-azure-tutorial/download.png)
75-
70+
Site Recovery checks if you have one or more compatible Azure storage accounts and networks.
7671

77-
### Install the Provider
72+
#### Install the Provider
7873

7974
Install the downloaded setup file (AzureSiteRecoveryProvider.exe) on each Hyper-V host that you want to add to the Hyper-V site. Setup installs the Azure Site Recovery Provider and Recovery Services agent on each Hyper-V host.
8075

@@ -105,39 +100,66 @@ If you're running a Hyper-V core server, download the setup file and follow thes
105100
"C:\Program Files\Microsoft Azure Site Recovery Provider\DRConfigurator.exe" /r /Friendlyname "FriendlyName of the Server" /Credentials "path to where the credential file is saved"
106101
```
107102
108-
## Set up the target environment
103+
### Target settings
109104
110105
Select and verify target resources:
111106
112-
1. Select **Prepare infrastructure** > **Target**.
113-
2. Select the subscription and the resource group **ContosoRG** in which the Azure VMs will be created after failover.
114-
3. Select the **Resource Manager"** deployment model.
107+
1. In the **Target settings** tab, do the following:
108+
1. In **Subscription**, select the subscription and the resource group **ContosoRG** in which the Azure VMs will be created after failover.
109+
1. Under **Post-failover deployment model**, select the **Resource Manager** deployment model.
110+
1. Select **Next**.
111+
112+
:::image type="content" source="./media/hyper-v-azure-tutorial/target-settings.png" alt-text="Screenshot displays Target settings." lightbox="./media/hyper-v-azure-tutorial/target-settings.png":::
115113
116-
Site Recovery checks that you have one or more compatible Azure storage accounts and networks.
117114
118-
## Set up a replication policy
115+
### Replication policy
119116
120-
1. Select **Prepare infrastructure** > **Replication Settings** > **+Create and associate**.
121-
2. In **Create and associate policy**, specify a policy name. We're using **ContosoReplicationPolicy**.
122-
3. For this tutorial, we'll leave the default settings:
123-
- **Copy frequency** indicates how often delta data (after initial replication) will replicate. The default frequency is every five minutes.
124-
- **Recovery point retention** indicates that recovery points will be retained for two hours. The maximum allowed value for retention when protecting virtual machines hosted on Hyper-V hosts is 24 hours.
117+
Under **Replication policy**, do the following:
118+
1. Under **Replication policy**, specify the replication policy.
119+
:::image type="content" source="./media/hyper-v-azure-tutorial/replication-policy.png" alt-text="Screenshot displays Replication policy." lightbox="./media/hyper-v-azure-tutorial/replication-policy.png":::
120+
1. If you do not have a replication policy, use the **Create new policy and associate** option to create a new policy.
121+
1. In the **Create and associate policy** page, do the following:
122+
- **Name** - specify a policy name. We're using **ContosoReplicationPolicy**.
123+
- **Source type** - select the ContosoHyperVSite site.
124+
- **Target type** - verify the target (Azure), the vault subscription, and the Resource Manager deployment mode.
125+
- **Copy frequency** - indicates how often delta data (after initial replication) will replicate. The default frequency is every five minutes.
126+
- **Recovery point retention in hours** indicates that recovery points will be retained for two hours. The maximum allowed value for retention when protecting virtual machines hosted on Hyper-V hosts is 24 hours.
125127
- **App-consistent snapshot frequency** indicates that recovery points containing app-consistent snapshots will be created every hour.
126-
- **Initial replication start time** indicates that initial replication will start immediately.
127-
4. After the policy is created, select **OK**. When you create a new policy, it's automatically associated with the specified Hyper-V site. In our tutorial, that's **ContosoHyperVSite**.
128+
- **Initial replication start time** indicates that initial replication will start immediately.
129+
130+
1. After the policy is created, select **OK**. When you create a new policy, it's automatically associated with the specified Hyper-V site.
131+
:::image type="content" source="./media/hyper-v-azure-tutorial/create-policy.png" alt-text="Screenshot displays Create policy." lightbox="./media/hyper-v-azure-tutorial/create-policy.png":::
132+
1. Select **Next**.
128133
129-
![Replication policy](./media/hyper-v-azure-tutorial/replication-policy.png)
134+
On the **Review** tab, review your selections and select **Create**.
130135
131-
## Enable replication
136+
You can track progress in the notifications. After the job finishes, the initial replication is complete, and the VM is ready for failover.
132137
133-
1. In **Replicate application**, select **Source**.
134-
2. In **Source**, select the **ContosoHyperVSite** site. Then, select **OK**.
135-
3. In **Target**, verify the target (Azure), the vault subscription, and the **Resource Manager** deployment model.
136-
4. If you're using tutorial settings, select the **contosovmsacct1910171607** storage account created in the previous tutorial for replicated data. Also select the **ContosoASRnet** network, in which Azure VMs will be located after failover.
137-
5. In **Virtual machines** > **Select**, select the VM that you want to replicate. Then, select **OK**.
138+
## Enable replication
138139
139-
You can track progress of the **Enable Protection** action in **Jobs** > **Site Recovery jobs**. After the **Finalize Protection** job finishes, the initial replication is complete, and the VM is ready for failover.
140+
1. In the [Azure portal](https://portal.azure.com), go to **Recovery Services vaults** and select the vault.
141+
2. On the vault home page, select **Enable Site Recovery**.
142+
3. Navigate to the bottom of the page, and select **Enable replication** under the **Hyper-V machines to Azure** section.
143+
1. Under **Source environment** tab, specify the **source location** and select **Next**.
144+
145+
:::image type="content" source="./media/hyper-v-azure-tutorial/enable-replication-source.png" alt-text="Screenshot of the source environment page.":::
146+
147+
1. Under **Target environment** tab, do the following:
148+
1. In **Subscription**, specify the subscription name.
149+
1. For **Post-failover resource group**, specify the resource group name to fail over.
150+
1. For **Post-failover deployment model**, specify **Resource Manager**.
151+
1. In **Storage account**, specify the storage account name.
152+
1. Select **Next**.
153+
:::image type="content" source="./media/hyper-v-azure-tutorial/enable-replication-target.png" alt-text="Screenshot of the target environment page.":::
154+
155+
1. Under **Virtual machine selection** tab, select the VM that you want to replicate and select **Next**.
156+
157+
1. Under **Replication settings** tab, select and verify the disk details.
158+
:::image type="content" source="./media/hyper-v-azure-tutorial/enable-replication-settings.png" alt-text="Screenshot of the replication setting page.":::
159+
1. Under **Replication policy** tab, verify that the correct replication policy is selected.
160+
:::image type="content" source="./media/hyper-v-azure-tutorial/enable-replication-policy.png" alt-text="Screenshot of the replication policy page.":::
161+
1. Under **Review** tab, review your selections and select **Enable Replication**.
140162
141163
## Next steps
142-
> [!div class="nextstepaction"]
143-
> [Run a disaster recovery drill](tutorial-dr-drill-azure.md)
164+
165+
[Learn more](tutorial-dr-drill-azure.md) about running a disaster recovery drill.
88.3 KB
Loading
82.8 KB
Loading
69.8 KB
Loading
Binary file not shown.
54.4 KB
Loading
49.4 KB
Loading
39.6 KB
Loading

0 commit comments

Comments
 (0)