Hyper-V CSV protection with DPM 2010
DPM design for Hyper-V :
- Incremental Backups Only – full only once
- No More Backup Window – online backups
- Application consistency via VSS
- Protect Live Migration VMs in CSV clusters
- Protect whole VM, recover individual items
- Auto Protection of new VMs
- Routine backups – nightly or more frequently
Strategy to Deply DPM 2010 in Hyper-V/CSV environment :
- Identify Project Requirements and scope
- Simulate using Hyper-V Calculator
- Review Hyper-V design guidelines & Best Practices
- Acquire VSS Hardware Provider & check environment with SDPM SAN Testing Tool:
- Verify that the SAN supports hardware snapshots & is certified for DPM.
- Install the VSS hardware provider
- Self Certifying your SAN. If your SAN is not in the certified list & you have a SAN, run the SCDPM SAN Testing Tool : StartCSVTests.cmd /run ( to be realeased yet )
- Validate a Pilot Environment
- Ready for Deployment
- Integration components should be updated on both VMs.
- Ensure that Live Migration is functional
2. Deploy : Protected CSV server
- Install all recommended prerequisites:
|General Prerequisite||Install the integration components on the guests. For more information, see Install a Guest Operating System (http://go.microsoft.com/fwlink/?LinkId=165041).|
|Microsoft Windows Server 2008 SP2||Install Microsoft Windows Server 2008 SP2 OR Install the Microsoft Hyper-V prerequisites (http://go.microsoft.com/fwlink/?LinkID=133781).|
|Microsoft Windows Server 2008 R2||Install the following on the host computer:KB975354 (http://support.microsoft.com/kb/975354)KB975921 (http://support.microsoft.com/kb/975921)|
- Failover Cluster Validation
- Enable Automount : Enable Auto mount on the host for successful child partition backups : MOUNTVOL /E
- Install Hardware Provider:Ensure that VSS hardware providers are installed : vssadmin list providers
- Validate Hardware snapshots
- Use DSConfig Tool to serialize backups (for software snapshots providers only) :
· Problem:With software snapshots, simultaneous triggering of VM backups (especially scale deployments) will cause backup jobs to time out and fail.
· Enable Per CSV LUN Serialization:This serialization limits the number of virtual machine backups happening on a single CSV LUN.Create a DataSourceGroups.xml file by running the DSConfig.ps1 script on any one node of a cluster containing CSV.Place the file in the DPM server at %PROGRAMFILES%\Microsoft DPM\DPM\Config.Repeat step 1 for every cluster that is protected by a DPM server.The DataSourceGroups.xml file needs to be updated only when virtual machines are added, deleted, or modified in the cluster and protection is configured for them.
3. Deploy : DPM 2010 server
- Enable Hyper-V Role on DPM Server :DPM supports item-level recovery (ILR), which allows you to do granular recovery of files, folders, volumes, and virtual hard disks (VHDs) from a host-level backup of Hyper-V virtual machines to a network share or a volume on a DPM protected server. You must have the Hyper-V role enabled on the DPM server to perform item-level recoveries. During item-level recovery, DPM has to mount the VHDs of the protected virtual machines
- Install DPM server pre-requisites
- Install DPM 2010
- Turn off “TCP Chimney offload”For better throughput, TCP Chimney Offload should be turned off.
- Allocate Storage Pool & Deploy Agents
- Datasourcegroups.xml file:
- Merge the DatasourceGroups.XML file for all CSVs protected by DPM server. This is applicable when software providers are used on the CSV cluster.
- Copy the <Group> tags from all the DataSourceGroup.xml files generated and add the text between the <DataSourceGroup> tags. The DataSourceGroups.xml file will now contain one <header> tag, one <DataSourceGroup> tag, and <Group> tags from all CSV clusters.
- Configure Protection Groups
- DPM2010 provides Datasource caching for faster enquiry.
- Remember to clear cache if new VMs have been added
- Enable AutoProtection:
Script to Auto-add VMs : http://blogs.technet.com/dpm/archive/2009/12/03/hyper-v-protection-with-dpm-2010-beta-how-to-automatically-protect-new-virtual-machines.aspx