How to remove an orphan data source in DPM 2012 SP1 server


created a test environment for DPM 2012 SP1 with Windows 2012 Hyper-V and few Windows 7 desktop VMs. Later on i removed those 2 VMs named "TESTWIN7" and "TESTWIN8".

Now the issues is :

1. When i check the DPM GUI there is no sign of these 2 desktop VMs.

2. But when i execute powershell command Get-DPMDatasource it shows me these 2 VMs. ( see the command output below)

3. I've also removed those 2 VMs from Hyper-V and Active Directory too. So there is no scope of bringing those 2 VMs back.

4. Now when i execute Get-Datasource -ProductionServer $s[0] -Inquire it gives me error that these 2 VMs still exists and fails.

5. As these VMs does not exist anymore so i'm stuck here how to remove these 2 from DPM data source.

Now the question is : How to remove these 2 VM entries in DPM data source so that "Get-Datasource -ProductionServer $s[0] -Inquire" can execute successfully.

Various command outputs are as below.


PS C:\> Get-Datasource -ProductionServer $s[0] -Inquire
Get-Datasource : DPM cannot browse TESTWIN8.domain.Local because the host is unreachable. (ID: 31)
1) Make sure that TESTWIN8.domain.Local is online and remotely accessible from the DPM server.
2) If a firewall is enabled on TESTWIN8.domain.Local, make sure that it is not blocking requests from the DPM server.
At line:1 char:1
+ Get-Datasource -ProductionServer $s[0] -Inquire
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-DPMDatasource], DlsException
    + FullyQualifiedErrorId : PrtHostUnreachable,Microsoft.Internal.EnterpriseStorage.Dls.UI.Cmdlet.Common.GetDatasource


PS C:\> Connect-DPMServer DPMServerName "TEST-BKPSERVER"
PS C:\> $s=Get-ProductionServer DPMServerName "TEST-BKPSERVER"
PS C:\> Get-DPMDatasource | where {$_.Name -like "*TESTWIN*"} | Select Computer,Name

Computer                                                         Name
--------                                                               ---
TEST-VMSERVER-02                                            Backup Using Child Partition Snapshot\TestWin8
TEST-VMSERVER-02                                            Backup Using Child Partition Snapshot\TestWin7


PS C:\> Remove-ProductionServer.ps1

DPMServer:: TEST-BKPSERVER.domain.local
PSName:: TESTWIN8.domain.Local
There is failure while removing production server
C:\Program Files\Microsoft System Center 2012\DPM\DPM\bin\Remove-ProductionServer.ps1 : DPM was unable to remove the protected  computer TESTWIN8.domain.Local.
At line:1 char:1
+ Remove-ProductionServer.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Remove-ProductionServer.ps1

Make sure that the protected computer is attached to the DPM server. If the protected computer is in the Active directory domain, make sure that you have provided the correct fully qualified domain name (FQDN) of the protected computer. If TESTWIN8.domain.Local is a workgroup computer configured to use NETBIOS, specify the NETBIOS name. Otherwise specify the DNS name of the workgroup computer.
PS C:\>


Please help.



  • Edited by Vimal_Rai Thursday, October 03, 2013 12:40 PM
October 3rd, 2013 3:40pm

very strange, nobody there to help !!!

Free Windows Admin Tool Kit Click here and download it now
November 4th, 2013 6:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics