Powered by System Center
Disk to Disk to Cloud Protection of Hyper-V Virtual Machines
Microsoft has started offering Online Backup of Hyper-V Virtual Machines to Windows Azure using System Center Data Protection Manager 2012 SP1. In this blog I will explain how to set this up and I can assure you this is absolutely no rocket science.
First of all you need to register for an account to get access to Windows Azure Online Backup Preview. The registration process will not ask you for a credit card and offers you 300GB for the limited time of 6 months to test with. Well that sounded like an offer I couldn’t refuse.
The best way to start this process is to select the Management work pane from the DPM 2012 SP1 Administrator Console. When you are registered you can click on Manage Subscriptions from the Ribbon in DPM. It will ask you to login with your newly created [name]@[domain].onmicrosoft.com account.
After sign in you arrive at the Windows Azure Online Backup portal. Click on the Setup menu, download and install the Window Azure Online Backup Agent for Windows Server 2012. Note there is a special module for Windows Server 2012 Essentials.
Under the service health menu you can find up-time information of the Windows Azure Online Backup service in different parts of the world.
The next step is to Register your DPM server, which again is done from the Ribbon in the Management work pane of the DPM Administrator Console.
Use the credentials you used for registering Windows Azure Online Backup.
You can add a proxy server if that is how you connect to the Internet. Click Next to continue.
If you want to prevent Online Backup eating up your network bandwidth you can set throttling for backup operations.
It is required that you define a staging folder for recovery purposes. This is a temporary location that is automatically cleaned up after recovery. For example, if you want to recover up to 10 virtual machine backups (from online protection) in parallel and the size of each VM backup can be up to 100GB, select folder which can hold 1000GB of data.
Click on the Generate passphrase button or create one yourself. This passphrase is used for encrypting the backup and to make sure that no one else can get access to your virtual machine backups. Of course the passphrase shown below is only an example.
Click on Register to register the DPM server with Windows Online Backup. Click Close when the registration has completed successfully.
You are now ready to create or modify your DPM Protection Group to enable online backup. If you already use System Center Data Protection Manager, the next steps will be very familiar. I must say Windows Azure Online backup is very tightly integrated with DPM 2012 SP1.
Specifically for Online backup there are two additional pages targeted at defining Online Protection in the New/Modify Protection Group wizard:
On the Specify Online Protection Data page, you can specify which virtual machines need online protection.
On the Specify Online Protection Goals page, you can set a maximum retention time of 30 days (which is the current limit for the preview) and you can synchronize twice per day. You can choose a daily or a weekly interval. Online backup requires that you have at least one online recovery point available using the latest DPM replica on disk.
Finally create or update your protection group.
After this DPM is ready to update the policies for the protection group. In this example the protection policy states that online backups of the Hyper-V virtual machines start at 9.00PM. If you want quicker results and test if things work properly, you can use the standard DPM technique to manually create a recovery point.
Select Online protection to make sure your recovery point is written to Windows Azure.
I could verify that Online Backup actually took no more than 5Mbps during working hours by looking at the network performance counters in Task Manager.
It will take some patience before I can restore my VM because at a pace of 5 Mbps, it takes a couple of hours to backup those Hyper-V guests. In practice this means you need a fast Internet connection to really make this work.
Oddly enough, when I wanted to modify throttling for online backups, I couldn’t immediately find an option to do this. After tracing the steps I took to get here, I concluded I had to use the Register Server Wizard again to make changes to the throttling settings.
The Online section of the Management work pane will show you your storage quota and how much you have consumed from the Azure cloud service.
Here is a method to get some more details about the settings of the Protection Group using PowerShell:
$pg = Get-ProtectionGroup –DPMServername [Name DPM Server]
# Since we are interested in the Hyper-V Virtual Machines protection group,
# we need the first item in the array which is $pg
$pg[0[ | fl
As you can see just using | fl does not reveal all that much.
But adding a * behind the format-list command opens up all available information.
In conclusion, I am very happy with the tight integration of Windows Azure Online Backup and System Center Data Protection Manager 2012 SP1. There was really nothing that surprised me because all familiar DPM user interface and procedures are used.
If you are looking for an interesting offline backup method without having to resort to tape, this might be just it. It will save you the expense of buying and managing a second DPM server and tape library, not to mention hiring space in another datacenter. Apart from a Capex reduction you will also benefit from an Opex reduction. Microsoft will run your online backups without ever having to deal with hardware or software.
Of course 30 days is not really enough for a long-term backup strategy, but it is only a matter of time when these limits are lifted.
I’d say … bye bye tape library, bye bye tape!
In about one hour I was able to transfer over 2GB of data. The important question is how much data is transferred after the first initial backup. Will Online backup start all over again, or just synchronize the delta as DPM 2012 SP1 now does with Hyper-V standalone and clustered servers (including Cluster Shared Volumes v2) as you can see here:
|Print article||This entry was posted by Hans Vredevoort on September 12, 2012 at 14:53, and is filed under Hans Vredevoort, Hyper-v, System Management. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site.|
about 3 weeks ago - 5 comments
Have you ever wondered why you DO see performance data in Windows 8/8.1 under the performance tab in Task Manager, but DON’T see this same information in Windows Server 2012/2012 R2? Well I kind of missed seeing that information in Server but never really bothered to really investigate. Windows 8/8.1 Windows Server 2012/2012 R2 I…
about 3 weeks ago - 3 comments
A hotfix has been released today for Windows Server 2012 Hyper-V servers which are unable to access LUNs over a Synthetic Fibre Channel after a VM is live migrated to another host in the cluster. This problem can occur if the following conditions are met: You have two Windows Server 2012-based computers that have the…
about 1 month ago - 3 comments
If you are a regular reader of this blog you have noticed that a lot of content that is written is related to Windows Azure Pack (WAP for short), formerly known as Windows Azure Services for Windows Server. There are also numerous good other blogs as well as videos about WAP written by fellow MVPs…
about 4 months ago - 4 comments
Several months ago I had a very short encounter with a Dell Compellent storage array which had just been installed for a customer in their New Jersey office. In a short blog I showed that creation of a 250GB VHDX could be done in just a few seconds. This was the result of Compellent’s support…
about 4 months ago - 4 comments
Not very often do I remember a Windows Update KB article off the top of my head, but this time I have talked and written about KB2855336 so often that it was probably written into my short term read-cache.. If you have been careful and missed the first version of this update because you rather…
about 4 months ago - 11 comments
In my last blog I sent out a red alert on a killer Windows Update that had not been sufficiently tested. The net result was a full crash of a two-node System Center fabric management cluster. The fabric was still in the making and backups were only provisionally taken in the form of Virtual Machine…
about 5 months ago - 2 comments
[Update July 13, 2013 - I was able to deploy the newly issued KB2855336 to all of my physical and guest cluster nodes. There have been no issues so far. The same KB will also show up in most of your VMs as it is a collection of 21 updates touching all kinds of bugs…
about 5 months ago - 3 comments
Today I received word from Microsoft that I am re-awarded as a Microsoft Most Valuable Professional for Virtual Machine. When I received my first award for Cluster back in 2009, I could not begin to understand its consequences and how much such an award would mean in terms of recognition, access to knowledge, direct contact…
about 5 months ago - 7 comments
Update June 26, 2013: Cristian Edwards notified me that he has updated the script to now support using a cluster name. That will save you some typing if you cluster counts 64 nodes. See end of blog Update July 1, 2013: Great to see that Niklas Akerlund and Trond Hindenes made great extensions on the…
about 6 months ago - No comments
We already know that we wouldn’t have to wait four years to get significant new features in Windows Server & Hyper-V. Looking at the list of builds since the first version of Hyper-V, we can observe there were considerable intervals between the releases of Windows Server 2008 (R2) and Windows Server 2012. We’ve seen three…