Set up protection for virtual machines with CSV storage
Updated: January 12, 2015
Applies To: System Center 2012 - Data Protection Manager, System Center 2012 R2 Data Protection Manager, System Center 2012 SP1 - Data Protection Manager
Data Protection Manager (DPM) in System Center 2012 can back up virtual machines that are using Cluster Shared Volume (CSV) storage.
CSV is a feature of failover clustering that was introduced in Windows Server 2008 R2. CSV allows you to store multiple virtual machines running on multiple hosts in a cluster on a single storage volume. A CSV is a shared single disk that contains an NTFS volume. Multiple virtual machines can be stored on a CSV, and the CSV can be accessed by multiple Hyper-V host servers installed on failover cluster nodes. You can have multiple CSVs in a Hyper-V cluster. Typically, all of the virtual hard disks (VHDs) of virtual machines in the cluster are stored on a common CSV, so that any node in the cluster can access the VHDs.
Before you start
Before you deploy protection note the following:
If you’re running Windows Server 2008 R2 I/O redirection is used for DPM backup, and CSV backup is serialized, impacting performance. This limitation is removed from Windows Server 2012 onwards.
If you are running Hyper-V on Windows Server 2008 R2 and you’re backing up multiple clusters with DPM, ensure that only one backup uses the same CSV at any one time. To do this, follow the instructions in Serialize virtual machine backups. If you’re currently using the integrated software VSS and you want to move to a hardware VSS, follow the instructions in Migrate to a hardware VSS provider.
A single node shutdown in a CSV cluster causes all virtual machines in the cluster to be marked as inconsistent. This action starts consistency checks for all virtual machines.
If BitLocker Drive Encryption is enabled on the CSV cluster, to restart a server that is running Hyper-V, you must run a consistency check for Hyper-V virtual machines.
If you use use a hardware VSS provider you can back up multiple virtualmachines using the same CSV and cluster node. To specify the number of concurrent backups that can run from a node do the following:
Install the hardware VSS provider on the host computer and ensure that your Storage Area Network (SAN) is configured for hardware snapshots.
Delete the %Programfiles%\Microsoft DPM\DPM\Config\DataSourceGroups.xml file from the DPM server.
Open the Registry Editor and navigate to HKLM\Software\Microsoft\Microsoft Data Protection Manager\2.0\Configuration\MaxAllowedParallelBackups.
Set the following values — Value: Microsoft Hyper-V; Data: 3; Value: DWORD. For optimal performance we recommend a maximum of three. To complete this process run Modify Protection Group Wizard for each protection group that protects the virtual machines on the cluster.
- Install the hardware VSS provider on the host computer and ensure that your Storage Area Network (SAN) is configured for hardware snapshots.
Set up protection
Deploy DPM—Verify that DPM is installed and deployed correctly. If you haven’t see:
Set up storage—Check that you have storage set up. Read more about your options in:
Learn about short-term storage to disk and storage pools in Plan for disk backups
For storage to Azure with Azure Backup, see Plan for Azure backups
For long-term storage to tape, Plan for tape-based backups
As an example, if your fully scaled Hyper-V cluster contains 1600 virtual machines, you’ll need two DPM servers, and double the provisioning that is summarized in the table. The total storage requirement for 1600 virtual machines is greater than 160 TB. Read about optimizing space in Optimize virtual machine protection.
Average virtual machine size
100 gigabytes (GB)
Number of virtual machines per DPM server
Total size of 800 virtual machines
80 terabytes (TB)
Required space for backup storage
80 terabytes (TB)
- Learn about short-term storage to disk and storage pools in Plan for disk backups
Set up the DPM protection agent—The agent needs to be installed on the Hyper-V server, or on each server in the Hyper-V cluster. Read Plan for protection agent deployment, and then Set up the protection agent.
Set up a protection group—In the Select Group Members page of the Create New Protection Group wizard you can select the Hyper-V host servers on which the virtual machines you want to back up are located. Keep virtual machines to which you want to apply the same protection policy in the same protection group. Use collocation while you create the protection groups to optimize the replica volume and to avoid reaching the maximum number of volumes that are supported in a Windows Server. Read about protection groups in:
- Plan for protection groups
- Plan for protection group long-term and short-term protection
Then follow the instructions in Create and manage protection groups.
- Plan for protection groups
After you create the protection group initial replication of the data occurs. Backup then takes place in line with the protection group settings. If you need to recover backed up data see Recover backed up data. Note the following behavior for restoring virtual machines.
Virtual machine recovery Details
Recover to original location
The original VHD is deleted. DPM will recover the VHD and other configuration files on the original location using Hyper-V VSS writer. At the end of the recovery process, virtual machines will still be highly available.
The resource group must be present for recover. If it isn’t available recover to an alternate location and then make the virtual machine highly available.
Recover to alternate location
DPM supports alternate location recovery (ALR), which provides a seamless recovery of a protected Hyper-V virtual machine to a different Hyper-V host, independent of processor architecture. Hyper-V virtual machines that are recovered to a cluster node will not be highly available.
Item-level recovery (ILR)
DPM supports item-level recovery (ILR), which allows you to do item-level 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. The DPM protection agent doesn’t have to be installed inside the guest to perform item-level recovery.
For additional resources, see Information and Support for System Center 2012.
Tip: Use this query to find online documentation in the TechNet Library for System Center 2012. For instructions and examples, see Search the System Center 2012 Documentation Library.