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 B34.systemcenter.com

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 = 'b34.systemcenter.com')

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

The output as below :

image

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

1 comment:

  1. Thanks very much for this post. I had the same issue on System Centre DPM 2019 and this is the only solution that worked. Thanks again.

    ReplyDelete