After installing the VMM Console and Agent on our DPM server to enable back up of Hyper-V Live Migration Cluster, the DPM-VMM Helper Service (VmmHelperServiceHost.exe) does not start on Windows Server 2012.
This can be found in Event Viewer:
Log Name: Application
Source: DpmVmmHelperService
Event ID: 0
Service cannot be started. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: Requested registry access is not allowed.
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at Microsoft.Internal.EnterpriseStorage.Dls.VmmHelper.RunSpacePool.GetNumberOfSteadyStateRunspaces()
at Microsoft.Internal.EnterpriseStorage.Dls.VmmHelper.CVmmHelperService..ctor()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.ServiceModel.Description.ServiceDescription.CreateImplementation(Type serviceType)
at System.ServiceModel.Description.ServiceDescription.SetupSingleton(ServiceDescription serviceDescription, Object implementation, Boolean isWellKnown)
at System.S...
When trying to start the service in services.msc, it states:
The DPM-VMM Helper Service service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
VmmHelperServiceHost.exe 7392 RegOpenKey HKLM\Software\Microsoft\Microsoft Data Protection Manager\2.0\Configuration ACCESS DENIED Desired Access: Read
I opened up regedit and browsed to HKLM\Software\Microsoft\Microsoft Data Protection Manager\2.0\Configuration, added the permission Everyone Read to that key and voila! The service started.
Hope this helps someone out as I couldn't find anything regarding this issue on google.
Ciao :)
After updating to DPM 2012 R2 the DPMDB says Agent unreachable in the Protection area in DPM. Looking in the Event Viewer - System Log, there is the following two error messages:
Source: DistributedCOM
Event ID: 10005
DCOM got error "1053" attempting to start the service DPMRA with arguments "Unavailable" in order to run the server: {DA6AA17A-D61C-4E9C-8CEA-DB25DEA52A95}
Source: Service Control Manager
Event ID: 7009
A timeout was reached (30000 milliseconds) while waiting for the DPMRA service to connect.
If you try to start DPMRA.exe manually in a command prompt it says that VssRequestor.dll is missing. After copying this file from another server (C:\Program Files\Microsoft Data Protection Manager\DPM\bin\VssRequestor.dll) to C:\Program Files\Microsoft System Center 2012\DPM\DPM\bin the DPMRA starts successfully.
When launching the DPM 2012 R2 update I get stuck at the first step, checking prereqs. The error message says:
The instance provided is not a SQL Server instance. Please provide a SQL Server instance.
Looking at C:\Program Files\Microsoft System Center 2012 R2\DPM\DPMLogs\DpmSetup.log, I found the following error messages:
[11/13/2013 10:03:06 AM] Information : Querying WMI Namespace: \\dpm01\root\Microsoft\SqlServer\ComputerManagement10 for query: Select * from SqlServiceAdvancedProperty where ServiceName='MSSQL$MSDPM2012' and PropertyName='Version'
[11/13/2013 10:03:06 AM] * Exception : => System.Management.ManagementException: Invalid class
[11/13/2013 10:03:06 AM] Information : Getting the error code for check : SqlServer and result : 67141632
[11/13/2013 10:03:06 AM] Information : Found Error Code:SqlNotInstalled and Severity: Error
[11/13/2013 10:03:06 AM] Information : Got Error Message: The instance provided is not a SQL Server instance. Please provide a SQL Server instance.
[11/13/2013 10:03:06 AM] Information : Got Error Message: The prerequisite (SQL Server 2008) required to perform this check is missing.
As you can see the error messages states that we're asking for an invalid class when querying the wmi namespace. So we need to recompile the SQL WMI provider with the following command:
mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"
After doing this, the upgrade proceeds normally.
Also, an important thing to mention is that with R2, DPM no longer supports backing up Windows Server 2003!
There is no way to force marking a tape as free in the Data Protection Manager Console, though there is a Management Shell command called ForceFree-Tape.ps1 included.
The syntax is:
ForceFree-Tape.ps1 -DPMServerName <Name of server> -LibraryName <Name of library> -TapeLocation <slot numbers>
It all seems logic until you get to the slot number part. A simple "8" is not sufficient for the script to succeed. It needs to be "slot-8" for some reason. E.g:
ForceFree-Tape.ps1 -dpmservername dpm01 -libraryname "Hewlett Packard MSL G3 Series library (x64 based)" -tapelocationlist slot-8
After running the script you will get the following output:
Removing recovery point created at 11/24/2012 15:04:08 for tape in Slot-8.
The operation will remove the following recovery point(s) because they have dependencies on each other:
Datasource '\\?\Volume{a636a4d2-0a1a-11e1-8098-005056a50001}\' on computer file2.sweden.se:
Saturday, November 24, 2012 3:04:08 PM
Removing recovery point created at 11/24/2012 15:05:38 for tape in Slot-8.
The operation will remove the following recovery point(s) because they have dependencies on each other:
Datasource '\\?\Volume{1d621814-ee9e-11e0-a1b4-005056a50001}\' on computer file2.sweden.se:
Saturday, November 24, 2012 3:05:38 PM
Setting tape in Slot-8 as free.
If it's a standalone drive, use the following command instead. You can find the tape name on the Management - Libraries view selection the drive and looking at the Details pane beneath.
ForceFree-Tape.ps1 -dpmservername dpm01 -libraryname "Hewlett Packard LTO Ultrium-2 drive" -tapelocationlist drive-\\.\Tape2147483646
Removing recovery point created at 04/13/2013 20:00:26 for tape in Drive-\\.\Tape2147483646. The operation will remove the following recovery point(s) because they have dep endencies on each other:
Datasource 'KDAcctDB' on computer app01.sweden.se:
Saturday, April 13, 2013 8:00:26 PM Removing recovery point created at 04/13/2013 20:00:09 for tape in Drive-\\.\Tape2147483646. The operation will remove the following recovery point(s) because they have dependencies on each other:
Datasource 'AIS20080623121636' on computer app01.sweden.se: Saturday, April 13, 2013 8:00:09 PM Removing recovery point created at 04/13/2013 18:04:07 for tape in Drive-\\.\Tape2147483646. The operation will remove the following recovery point(s) because they have dependencies on each other:
Datasource '\\?\Volume{7b056282-96ea-11e2-93ec-00155d61d80d}\' on computer fs01.sweden.se: Saturday, April 13, 2013 6:04:07 PM Setting tape in Drive-\\.\Tape2147483646 as free.