Windows Admin Center is a free web-based management tool that enables to manage Windows Server and some hybrid Azure features. From Windows Admin Center you can manage Hyper-V virtual machines and protect them by setting up a DRP to Microsoft Azure through Azure Site Recovery. In this topic, we will see how to implement Azure Site Recovery from scratch through Windows Admin Center.

Setting up Azure Site Recovery

Open Windows Admin Center and connect to a Hyper-V server. Then navigate to Virtual Machines. Select a VM and click on Set up VM Protection.

Windows Admin Center

Next, choose your subscription, the resource group, type the name of the Recovery Services Vault and an Azure Location. Then click on Set up. By clicking on Set up the services in Azure will be deployed and the ASR agent will be deployed on Hyper-V server(s).

Сhoose your subscription

After that, the setup did not go well:

Notification detail

The agent is well installed on the Hyper-V server, but the registration didn’t work. So, connect to Recovery Services Vault in Microsoft Azure. Navigate to Site Recovery infrastructure | Hyper-V Hosts | Add Server. Then download the vault registration key and copy it to the Hyper-V Server(s).

N.B: The Azure Site Recovery implementation should work well by using Windows Admin Center. If you do not have an error, skip the next steps until the section Protect a VM. For those who had the same error as mine, follow the next steps to finish the Azure Site Recovery configuration.

Adding Hyper-V server

In the Hyper-V servers, navigate to c:\Program Files\Microsoft Azure Site Recovery Provider. Run the following command:

Command

Now my server is registered, and I can protect my VM:

Hyper-V hosts

The policy was not created by using WAC because of the above error. So, navigate to Replications Policies and click on Replication Policy to create the policy.

Replication Policy

Define the policy you want and call it smepolicy.

Smepolicy

Once the policy is created, select Associate Hyper-V site, and select the smefabric site.

Associate Hyper-V site

Smepolicy details

Protect a VM

Get back to Windows Admin Center and navigate to the VM inventory. Select the VM you want to protect.

Select the VM you want to protect

If you do not have a Storage Account in the same region as Recovery Services Vault, the wizard asks you to create a new storage account. I recommend you to use a dedicated storage account for Azure Site Recovery.

Recovery Services Vault

After that, the synchronization begin.

Synchronization

You can see the replication status in the Azure Portal:

Azure Portal

Once the VM is protected, you should get a Disaster Recovery status to Protected as below.

Disaster Recovery status to Protected

Now you can set the properties of the VM replicated in Microsoft Azure. You can change the VM size, the virtual network, the target IP address and so on.

Set the properties of the VM replicated

Now you can set up a recovery plan to failover in Microsoft Azure:

Set up a recovery plan

Recovery plans

VSAN from StarWind eliminates any need for physical shared storage just by mirroring internal flash and storage resources between hypervisor servers. Furthermore, the solution can be run on the off-the-shelf hardware. Such design allows VSAN from StarWind to not only achieve high performance and efficient hardware utilization but also reduce operational and capital expenses.
Find out more about ➡ VSAN from StarWind

Conclusion

Windows Admin Center enables to configure automatically Azure Site Recovery (Usually 😉, it is the first time I have this kind of error; I wanted to share with you the resolution: p). Moreover, you can protect your VM from Windows Admin Center. From a single pane of glass, you can manage your VM and protect them with Azure Site Recovery.

Views All Time
3
Views Today
9
Appreciate how useful this article was to you?
No Ratings Yet
Loading...
Back to blog
The following two tabs change content below.
Romain Serre
Romain Serre
Senior consultant at Exakis
Romain Serre works in Lyon as a Senior Consultant. He is focused on Microsoft Technology, especially on Hyper-V, System Center, Storage, networking and Cloud OS technology as Microsoft Azure or Azure Stack. He is a MVP and he is certified Microsoft Certified Solution Expert (MCSE Server Infrastructure & Private Cloud), on Hyper-V and on Microsoft Azure (Implementing a Microsoft Azure Solution).