Tag: Failover

Setup VM Protection in Windows Admin Center_LI

Configure Azure Site Recovery from Windows Admin Center

With the Hybrid Cloud effort Microsoft invested heavy to make Windows Server and Hyper-V better connect to Microsoft Azure. One way of doing that is with Windows Admin Center and Azure Site Recovery. The Azure Site Recovery integration in Windows Admin Center, allows you to easily replicate Hyper-V virtual machines to Microsoft Azure. The technology is not new, ASR does exist for a long time and allows you to not only replicate Hyper-V VMs, but also VMware VMs and physical servers. However, with the integration in Windows Admin Center, setting up Azure Site Recovery became super easy.

Set up Azure Site Recovery from Windows Admin Center

Setup VM Protection in Windows Admin Center_LI

In the Virtual Machines extension, you can already see a recommendation to setup ASR: “Help protect your VMs from disasters by using Azure Site Recovery.” Which will guide you through the onboarding steps. If you don’t see that banner, just click on the VM you want to protect and replicate to Azure. Click on More and select “Set up VM Protection“, this will guide you through the same wizard.

If you haven’t connected your Windows Admin Center to Microsoft Azure yet, the wizard will help you to go through and set up this connection.

Setup up Hyper-V ASR Host with Windows Admin Cenetr

After your WAC is connected to Azure, you will now setup Azure Site Recovery for the Hyper-V host in Azure. This can directly be done from Windows Admin Center. For example, this will let you select the Azure Subscription you want ASR to connect to. It will let you create a new Resource Group and Recovery Services Vault or use an existing one. After you have done the configuration part, WAC will create the specific Azure resources and configure the Hyper-V host for Azure Site Recovery. This can take up to 10 minutes depending if you are using existing resources or creating new once.

If you have a look at the Hyper-V Replica settings in Hyper-V Manager, you will see that ASR is completely setup and configured.



E2EVC Copenhagen

Speaking at E2EVC 2014 Barcelona

This year I was already speaking at the E2E Virtualization Conference in Brussels. Together with Michael Rüefli I was talking about the Microsoft CloudOS and how you can build a Cloud based on this technology such as Windows Server, Hyper-V, Storage Spaces and Windows Azure Pack.

From 24-26 October the E2EVC will take place in Barcelona, Spain. In one session I will speak about Disaster Recovery with Hyper-V Replica and Microsoft Azure Site Recovery Manager. I will show you how you can failover your Virtual environment from one datacenter to another or how you can failover your Virtual Machines to Microsoft Azure.

 



Windows Azure Hyper-V Recovery Manager (HRM) Overview

Hyper-V Recovery Manager (HRM) FAQ

With the evolution of cloud computing, datacenter are getting more important, and having multiple datacenter for a site failover is more and more a must have solution. With Windows Server 2012 Hyper-V Microsoft introduced a new feature called Hyper-V Replica, which allows you to do an asynchronous replication on a virtual machine level. If you are working in a lager environment you may not want to failover single machines with the Hyper-V Manager, you need a tool which orchestrates the Failover from one site to another site. There are several different options you could do this, like a PowerShell script, System Center Orchestrator or the new automation engine called Service Management Automation (SMA). All of these solutions can work with Hyper-V Replica but they all have some up and downsides.

Windows Azure Hyper-V Recovery Manager (HRM) Overview

Microsoft developed a solution for this problem called Hyper-V Recover Manager which is basically a hosted orchestration engine in Windows Azure. You can simply connected your System Center Virtual Machine Manager servers to this service by installing an agent on the VMM servers. After that you can login to the Windows Azure Portal and configure the orchestration and recovery plans for your VMM Clouds. An important thing here, Windows Azure is only the orchestration engine, no data or VMs are replicated to Windows Azure. VMs will be replicated just between your sites.

Windows Azure Portal Hyper-V Recovery Manager

Still here are some things unclear about Hyper-V Recovery Manager, so here is a little FAQ, which should answer some of the questions:

Q: Can I fully automate my datacenter failover?
A: Yes, you can Failover your Virtual Machines extend the solution with Scripts.

Q: Can I Failover my Domain Controllers and SQL Servers first before failing over my application servers.
A: Yes, you can create your own order in which the failover should happen, by creating recovery plans.

Q: My secondary site has not the same network or subnet available, can I still use it?
A: Yes, Hyper-V Replica and Hyper-V Recovery Manager can change IP addresses of VMs during a failover. In a HRM scenario VMM IP Pools are used to automatically change IP addresses.

Q: Can I test my Recovery Plan?
A: Yes, as in Hyper-V Replica, you can also do a Test Failover.

Q: I have different Storage vendors, can I still use Hyper-V Recovery Manager
A: Yes, there is no dependency to the Storage

Q: I am using Storage Spaces and a Scale-Out Fileserver, does this work with HRM?
A: Yes, you can configure SMB shares for VM locations.

Q: Can’t have my Application data go to cloud
A: Application data never goes to Azure – it transmits encrypted over your own network link between two DCs.

Q: Both of my sites are managed with the same Virtual Machine Manager, does it still work?
A: Yes, it works with both single VMM and HA VMM environments.

Q: My Hosts and Applications don’t have internet connectivity
A: No, Windows Azure connectivity needed by Hyper-V Hosts and Applications. Only connectivity is from VMM Server to Azure Service which can be done by a proxy server.

Q: Do I need to install another agent on every Hyper-V host or Guest VM?
A: No, Disaster Recovery Provider is only needed on VMM Machine.

Q: My N Tier App is using SQL AlwaysON can I get single click App failover?
A: Yes, Hyper-V Recovery Manager failover plans can be customized with scripts, so you can also Failover SQL or other applications using PowerShell.

Q: In addition to Primary DC my ISP is also impacted, can I still failover?
A: Yes, During failover no dependency on Primary Site or Connectivity to Primary Site is needed.

Q: Service Providers want to use HRM but see Azure as competition with their own offering.
A: There is no need to share customer information with Windows Azure, Hoster’s customers never go to HRM Portal.

Q: Does Hyper-V Recovery Manager offer System Center Operations Manager (SCOM) integration?
A: Yes, ongoing replication health monitoring in SCOM

Q: I already have done some System Center Orchestrator Runbooks for failing over Applications, can I still use them?
A: Yes, You can trigger Orchestrator RunBooks from Hyper-V Recovery Manager via scripts.

Q: Does System Center Virtual Machine Manager have Hyper-V Replica support.
A: Yes, Hyper-V Replica has a rich integration with VMM which lights up when you register to Hyper-V Recovery Manager service. Following are key Hyper-V replica integration points with VMM

  • Ability to enable protection during Create VM Wizard
  • Ability to setup default protection for VMs through integration with VM Template
  • Ability to enable protection for already created VMs
  • VM Placement algorithm takes protection information (Cloud, Network) to select appropriate cloud and Host
  • Ability to view replication health from VMM console
  • Specific Icon and actions for Replica VMs
  • Connecting replica VMs to networks and assign IP addresses at scale using VMM networking (VM Networks)

Thanks to Vishal Mehrotra (Microsoft Principal Group Program Manager WSSC)

Feel free to add additional questions to the comment section.