Thursday, May 24, 2012

DPM–Creating DPM Protection group for Protecting Hyper-V Host Server 2008 R2 (Error ID : 31313)


Scenario : Installed DPM 2010 on a Hyper-V 2008 Server R2 SP1. 

The server name of this Hyper-V is

However when trying to create a protection group to protect the Hyper-V VM, it gives the error message (ID : 31313).  The server is already patched with the KB975354 as required by the error message.  Very weird !!  First time happening to me.

So after looking around found something that just works.

I launch the Microsoft SQL Server Management Studio (select the DPMDB database) and then key in the following in the New Query

use dpmdb
Update tbl_am_installedagent
Set ServerAttributes = 31
Where deleted = 0 and serverid in (select Serverid from tbl_am_server where serverName = '')

Just replace the server name in the pink in colour with the correct server name (FQDN).  Execute it

The output as below :


After that I was able to create the protection group to Protect the VMs.  As I mentioned, it’s weird, very weird.  It doesn’t happen to my previous installations before.

Thank you and hope this helps you as it helps me.

Reading resource from here.

Key words : error ID 31313, KB975354 installed, Protecting Hyper-V with DPM 2010

No comments:

Post a Comment