Administrator Guide
7 Validate that all nodes in the SQL Server cluster (<
Prex
>SQL01 and SQL02) are up and running.
8 If the node is not attached to the cluster, then add the node to the SQL Server cluster.
9 Detect and repair any data consistency issues by following the required steps in How to use data consistency runbooks.
Recovering a tenant VM
By default, all tenant VMs that are deployed as VM roles are deployed with a single parent VHD, and therefore use a dierencing disk.
DPM’s original location recovery work ow (described in Recovering a VM to its original location) will not work for tenant VMs that use a
dierencing disk.
NOTE: You must perform the procedures in this section as a member of the <
Prex
>-Diag-Admins group.
Determine whether the VM uses a dierencing disk
To recover a tenant VM, you must rst check whether the VM has a shared parent VHD conguration.
1 On a Console VM, open Windows PowerShell ISE.
2 Run the following script. Update the value of VM_Name with the name of the VM that you want to recover.
vmname = "VM_Name"
$VHDMap = @{}
$VmsWithParentVHDs = @{}
$vms = Get-SCVirtualMachine
foreach($VM in $vms)
{
foreach($vhd in $vm.VirtualHardDisks)
{
if($vhd.ParentDisk -ne $null)
{
if($VHDMap[$vhd.ParentDisk.ID] -ne $null)
{
$VHDMap[$vhd.ParentDisk.ID] += "," + $vm.Name
$dummyVms = $VHDMap[$vhd.ParentDisk.ID].split(",");
foreach($dummyVm in $dummyVms)
{
if($VmsWithParentVHDs[$dummyVm] -eq $null)
{
$VmsWithParentVHDs.Add($dummyVm,"1")
}
}
Operations
81