none
Migrate DPM to a new Server, and cant install the Agent. ID 333. RRS feed

  • Question

  • i has to change my DPM Server, then o follow the instructions of this site:

    http://technet.microsoft.com/en-us/library/ff634229

    To restore the database, the command: DpmSync –restoredb –dbloc

    doesnt work.

    Then i open my SQL Server and delete the DPMDB and restore the old Database with name DPMDB.

     

    Now i have the new server with the old configurations, and the new server didnt list any server was protected.


    Executed on old DPM Server:

    On my old Server DPM, i stoped service and stoped protection and runned: "Remove-ProductionServer.ps1 and recived the msg: "Removed prodcution server successfully"

    Executed on fileserver protected:

    On the server i runned the command: "SetDpmServer -dpmServerName newdpmserver

    and doesnt work.

    Then i remove the DPM Agent on Control Panel and reboot the srever.

     

    MY PROBLEM:

    Now i open the DPM Console and try install/ attach the client on my fileserver and i recive error says: "A protection agent is already installed on fielserver. ID 333"

    But i removed the Agent on this server, dont know how i can install agent again. i HAve anothers servers with same issue. Like exchange server, SQL Server and my cluster.

    have something to clear the register of DPM AGENT?


    Im using System Center Data Protection Manager 2010. Is the same "iso" i used to install on my old Server.


    Sry for my bad english, it isnt my main language.

    Thursday, August 2, 2012 6:23 PM

All replies

  • Hi NewRJ,

    Please check ADD/remove programs if there any DPM agent.

    Try to remove the register key HKLM\SOFTWARE\Microsoft\Microsoft Data Protection Manager.


    Please remember to click “Mark as Answer” on the post if it helps you. This posting is provided "AS IS" with no warranties, and confers no rights.

    • Edited by Laith_IT Friday, August 3, 2012 5:46 AM
    Friday, August 3, 2012 5:45 AM
  • i removed the register key and still the problem...

    Friday, August 3, 2012 1:43 PM
  • can you install the agent manually and attach it to the DPM via powershell?

    http://blogs.technet.com/b/ilvancri/archive/2010/05/10/manually-deploying-dpm-2010-agent.aspx


    ITLAAL

    Friday, August 3, 2012 8:42 PM
  • i install manyally the agent and its work fine, and i have been used the:" SetDpmServer -dpmServerName myserver.mydomain.net"

    then i tried attach the client on my DPM Server. and recived the same error.

    i tried attach using the powershell command and recived the error:

    "There is failure while attaching production server
    C:\Program Files\Microsoft DPM\DPM\bin\Attach-ProductionServer.ps1 : Exception
    of type 'Microsoft.PowerShell.Commands.WriteErrorException' was thrown.
    At line:1 char:26
    + .\Attach-ProductionServer <<<<
        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
       tion
        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
       n,Attach-ProductionServer.ps1"

     
    Monday, August 6, 2012 2:30 AM
  • Have you tried to run this command using DPM Powershell or Windows powershell? If you used Windows Powershell please run it using DPM powershell.

    Please post DPMCLICurr.errlog <DPM installation path>\temp for details.


    Please remember to click “Mark as Answer” on the post if it helps you. This posting is provided "AS IS" with no warranties, and confers no rights.


    • Edited by Laith_IT Monday, August 6, 2012 5:46 AM
    Monday, August 6, 2012 5:46 AM
  • Hi NewRJ,

    Did you Keep the same DPM name for your new DPM server ?

    Stephane


    Please remember to click “Mark as Answer” on the post that helps you. This posting is provided "AS IS" with no warranties. knowledge is valid only if it is shared by All.

    Monday, August 6, 2012 7:53 AM
  • 19B4	186C	08-jun	17:51:09.820	45	DpmServerFactory.cs(76)	NORMAL	Creating an instance of DpmServer for machine 'myNEWdpmSERVER.mydomain.net'. AsyncOperation is NOT passed.
    19B4	186C	08-jun	17:51:10.044	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    19B4	186C	08-jun	17:51:10.050	9	engineservicesproxy.cpp(228)	NORMAL	EngineServicesProxy::CheckForPendingReboot()
    19B4	186C	08-jun	17:51:10.055	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    19B4	186C	08-jun	17:51:10.055	9	engineservicesproxy.cpp(204)	NORMAL	EngineServicesProxy::GetCompatibleUIInformation()
    19B4	186C	08-jun	17:51:10.065	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    19B4	186C	08-jun	17:51:10.066	28	mediamanagerservicesproxy.cpp(75)	NORMAL	MediaManagerServicesProxy::CheckForSafeLibrarySharingModeTransition()
    19B4	186C	08-jun	17:51:10.072	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    19B4	186C	08-jun	17:51:10.073	9	engineservicesproxy.cpp(36)	NORMAL	EngineServicesProxy::GetDbConnectionString()
    19B4	186C	08-jun	17:51:10.075	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    19B4	186C	08-jun	17:51:10.075	9	engineservicesproxy.cpp(130)	NORMAL	EngineServicesProxy::GetReplicaVolumeMountPath()
    19B4	0C44	08-jun	17:51:10.353	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1F00	0B18	08-jun	17:53:09.777	45	DpmServerFactory.cs(76)	NORMAL	Creating an instance of DpmServer for machine 'myNEWdpmSERVER.mydomain.net'. AsyncOperation is NOT passed.
    1F00	0B18	08-jun	17:53:10.003	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1F00	0B18	08-jun	17:53:10.008	9	engineservicesproxy.cpp(228)	NORMAL	EngineServicesProxy::CheckForPendingReboot()
    1F00	0B18	08-jun	17:53:10.015	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1F00	0B18	08-jun	17:53:10.015	9	engineservicesproxy.cpp(204)	NORMAL	EngineServicesProxy::GetCompatibleUIInformation()
    1F00	0B18	08-jun	17:53:10.025	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1F00	0B18	08-jun	17:53:10.026	28	mediamanagerservicesproxy.cpp(75)	NORMAL	MediaManagerServicesProxy::CheckForSafeLibrarySharingModeTransition()
    1F00	0B18	08-jun	17:53:10.034	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1F00	0B18	08-jun	17:53:10.034	9	engineservicesproxy.cpp(36)	NORMAL	EngineServicesProxy::GetDbConnectionString()
    1F00	0B18	08-jun	17:53:10.037	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1F00	0B18	08-jun	17:53:10.037	9	engineservicesproxy.cpp(130)	NORMAL	EngineServicesProxy::GetReplicaVolumeMountPath()
    1F00	1DC8	08-jun	17:53:10.322	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1B78	3,00E+04	08-jun	17:53:17.785	45	DpmServerFactory.cs(76)	NORMAL	Creating an instance of DpmServer for machine 'myNEWdpmSERVER.mydomain.net'. AsyncOperation is NOT passed.
    1B78	3,00E+04	08-jun	17:53:18.015	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1B78	3,00E+04	08-jun	17:53:18.030	9	engineservicesproxy.cpp(228)	NORMAL	EngineServicesProxy::CheckForPendingReboot()
    1B78	3,00E+04	08-jun	17:53:18.036	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1B78	3,00E+04	08-jun	17:53:18.037	9	engineservicesproxy.cpp(204)	NORMAL	EngineServicesProxy::GetCompatibleUIInformation()
    1B78	3,00E+04	08-jun	17:53:18.046	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1B78	3,00E+04	08-jun	17:53:18.046	28	mediamanagerservicesproxy.cpp(75)	NORMAL	MediaManagerServicesProxy::CheckForSafeLibrarySharingModeTransition()
    1B78	3,00E+04	08-jun	17:53:18.050	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1B78	3,00E+04	08-jun	17:53:18.051	9	engineservicesproxy.cpp(36)	NORMAL	EngineServicesProxy::GetDbConnectionString()
    1B78	3,00E+04	08-jun	17:53:18.054	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1B78	3,00E+04	08-jun	17:53:18.055	9	engineservicesproxy.cpp(130)	NORMAL	EngineServicesProxy::GetReplicaVolumeMountPath()
    1B78	04B4	08-jun	17:53:18.307	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1B78	3,00E+04	08-jun	17:53:18.649	62	DpmServer.cs(1587)	NORMAL	WMIServiceQuery in IsProductionServerDPM :SELECT * FROM Win32_Service WHERE Name='MSDPM'
    1B78	3,00E+04	08-jun	17:53:19.047	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1B78	3,00E+04	08-jun	17:53:19.050	7	agentmanagerservicesproxy.cpp(378)	NORMAL	AgentManagerServicesProxy::SetCommunication()
    1B78	0D34	08-jun	17:53:22.611	2	EventManager.cs(479)	WARNING	Error polling: Microsoft1CF4
    1CF4	19FC	08-jun	17:55:09.963	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1CF4	19FC	08-jun	17:55:09.968	9	engineservicesproxy.cpp(228)	NORMAL	EngineServicesProxy::CheckForPendingReboot()
    1CF4	19FC	08-jun	17:55:09.974	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1CF4	19FC	08-jun	17:55:09.974	9	engineservicesproxy.cpp(204)	NORMAL	EngineServicesProxy::GetCompatibleUIInformation()
    1CF4	19FC	08-jun	17:55:09.984	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1CF4	19FC	08-jun	17:55:09.985	28	mediamanagerservicesproxy.cpp(75)	NORMAL	MediaManagerServicesProxy::CheckForSafeLibrarySharingModeTransition()
    1CF4	19FC	08-jun	17:55:09.989	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1CF4	19FC	08-jun	17:55:09.990	9	engineservicesproxy.cpp(36)	NORMAL	EngineServicesProxy::GetDbConnectionString()
    1CF4	19FC	08-jun	17:55:09.992	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1CF4	19FC	08-jun	17:55:09.993	9	engineservicesproxy.cpp(130)	NORMAL	EngineServicesProxy::GetReplicaVolumeMountPath()
    1CF4	0C34	08-jun	17:55:10.174	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    630	0,00E+00	08-jun	17:57:10.081	45	DpmServerFactory.cs(76)	NORMAL	Creating an instance of DpmServer for machine 'myNEWdpmSERVER.mydomain.net'. AsyncOperation is NOT passed.
    630	0,00E+00	08-jun	17:57:10.411	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    630	0,00E+00	08-jun	17:57:10.426	9	engineservicesproxy.cpp(228)	NORMAL	EngineServicesProxy::CheckForPendingReboot()
    630	0,00E+00	08-jun	17:57:10.435	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    630	0,00E+00	08-jun	17:57:10.437	9	engineservicesproxy.cpp(204)	NORMAL	EngineServicesProxy::GetCompatibleUIInformation()
    630	0,00E+00	08-jun	17:57:10.452	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    630	0,00E+00	08-jun	17:57:10.454	28	mediamanagerservicesproxy.cpp(75)	NORMAL	MediaManagerServicesProxy::CheckForSafeLibrarySharingModeTransition()
    630	0,00E+00	08-jun	17:57:10.463	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    630	0,00E+00	08-jun	17:57:10.464	9	engineservicesproxy.cpp(36)	NORMAL	EngineServicesProxy::GetDbConnectionString()
    630	0,00E+00	08-jun	17:57:10.467	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    630	0,00E+00	08-jun	17:57:10.467	9	engineservicesproxy.cpp(130)	NORMAL	EngineServicesProxy::GetReplicaVolumeMountPath()
    630	23EC	08-jun	17:57:10.714	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1240	664	08-jun	17:59:09.821	45	DpmServerFactory.cs(76)	NORMAL	Creating an instance of DpmServer for machine 'myNEWdpmSERVER.mydomain.net'. AsyncOperation is NOT passed.
    1240	664	08-jun	17:59:10.049	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1240	664	08-jun	17:59:10.055	9	engineservicesproxy.cpp(228)	NORMAL	EngineServicesProxy::CheckForPendingReboot()
    1240	664	08-jun	17:59:10.062	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1240	664	08-jun	17:59:10.063	9	engineservicesproxy.cpp(204)	NORMAL	EngineServicesProxy::GetCompatibleUIInformation()
    1240	664	08-jun	17:59:10.073	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1240	664	08-jun	17:59:10.073	28	mediamanagerservicesproxy.cpp(75)	NORMAL	MediaManagerServicesProxy::CheckForSafeLibrarySharingModeTransition()
    1240	664	08-jun	17:59:10.080	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1240	664	08-jun	17:59:10.080	9	engineservicesproxy.cpp(36)	NORMAL	EngineServicesProxy::GetDbConnectionString()
    1240	664	08-jun	17:59:10.083	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    1240	664	08-jun	17:59:10.083	9	engineservicesproxy.cpp(130)	NORMAL	EngineServicesProxy::GetReplicaVolumeMountPath()
    1240	1D48	08-jun	17:59:10.286	9	proxyutils.cpp(73)	NORMAL	CoreServicesProxy::CreateCoreServices(myNEWdpmSERVER.mydomain.net)
    .Internal.EnterpriseStorage.Dls.EventManagement.EventManagerException: Failed to invoke ICoreServices							
    1B78	0D34	08-jun	17:53:22.611	2	EventManager.cs(479)	WARNING	   at Microsoft.Internal.EnterpriseStorage.Dls.Engine.EventManagerServicesProxy.CheckError(Int32 hr, tagSAFEARRAY* exception)
    1B78	0D34	08-jun	17:53:22.611	2	EventManager.cs(479)	WARNING	   at Microsoft.Internal.EnterpriseStorage.Dls.Engine.EventManagerServicesProxy.EventGetEvents(Guid& subscriberID, String serverName)
    1B78	0D34	08-jun	17:53:22.611	2	EventManager.cs(479)	WARNING	   at Microsoft.Internal.EnterpriseStorage.Dls.EventManagement.EventManager.GetEvents(String serverName)
    1B78	0D34	08-jun	17:53:22.611	2	EventManager.cs(479)	WARNING	*** Mojito error was: UIEventsFailure; -2147023174; WindowsHResult
    1B78	3,00E+04	08-jun	17:53:22.636	45	DpmServerFactory.cs(117)	NORMAL	Removing an instance of DpmServer for server 'myNEWdpmSERVER.mydomain.net'
    1B78	177C	08-jun	17:59:57.154	45	DpmServerFactory.cs(76)	NORMAL	Creating an instance of DpmServer for machine 'myNEWdpmSERVER.mydomain.net'. AsyncOperation is NOT passed.
    

    Laith, this is my DPMCLICurr.log. I have executed again the attach-ProductionServer.ps1 again to get a clean log file.

    And answering your ask, i always run the powershell commands using the DPM Management SHELL.

    Monday, August 6, 2012 6:05 PM
  • nope.

    My old server was for example: " Server03.mydomain.net" and the new server have name: "Server09.mydomain.net".

    From old server, i have been remved the DPM Server, but still in domain. Need remove from domain?

    can be my AD trust on him like the main DPM Server? if have garbage registers? i dont know how work the communication between DPM and AD.

    • Edited by NewRJ Monday, August 6, 2012 6:09 PM
    Monday, August 6, 2012 6:07 PM
  • Hi NewRJ,

    You can't rename your DPM server.

    http://technet.microsoft.com/en-us/library/ff399217

    Stephane


    Please remember to click “Mark as Answer” on the post that helps you. This posting is provided "AS IS" with no warranties. knowledge is valid only if it is shared by All.

    Tuesday, August 7, 2012 8:22 AM
  • Hi NewRJ,

    Are you using two different servers? or its the same old server?

    If you are using the same old server but just rename it then as Stephane mentioned. You cannot rename DPM server. The only thing that you have to do is to uninstall the server and use a new server.

    If you are using a new server then is the old server is in use? if not remove it from AD. Search the AD for DPM and check "DPMTrustedAcc" see if it contain members from old server and those servers that have problem to back them up.

    Another thing. Go to Protected server, uninstall the agent, check local account and remove any DPM account. then restart the server.

    Search the registery key for DPM and see if there are any keys left.

    Try to install DPM one more time after that. Let me know the results.


    ITLAAL

    Tuesday, August 7, 2012 12:22 PM
  • i has "OLD DPM Server" on "Hardware A" and migrate       to: "NEW DPM Server" on "Hardware B".

    the old dpm was just member server, and today i removed him from my domain, the computer still on... but i will turn off this computer.

    i removed again the agent on my server need to be protected, cleaned the register key and reboot.

    i dont understand what u said about "DPMTrustedAcc" i find acc or group on my AD and not found nothing about this. On my local server that i try install agent, havent group or acc associete with this name.

    i havent tryed install again, coz i dont understand what u said about "Search the AD for DPM and check "DPMTrustedAcc" see if it contain members from old server and those servers that have problem to back them up."

    Wednesday, August 8, 2012 3:38 AM
  • Remove the agent on the protected server.

    Check the DPM server - local users and groups - groups - DPMRADmTrustedMachines and MSDPMTrustedMachines. if the Protected server listed there then delete it.

    Run remove protection agent powershell on the DPM server to make sure that the agent does not exist.

    Install the agent one more time.

    try to attach it.

    Hope that help


    ITLAAL

    Thursday, August 9, 2012 9:47 AM
  • I removed the computer from the groups u said.

    I cant insall/attach, coz always i try install/attach using the DPM console, the server isnt listed on computer list and if i type the FULL name of the server i recive the same error: " the agent is already installed on server myserver.mydomain,net. (ID 333).

    should i install manually again? at moment i removed the agent on the server, and cleaned all register how u said before.

    or do u have another tip?

    i just wanna remember, english isnt my main language, then forgive me my mistakes.


    • Edited by NewRJ Friday, August 10, 2012 3:57 AM
    Friday, August 10, 2012 3:57 AM
  • Have you tried to run remove production agent from DPM powershell?

    Please remember to click “Mark as Answer” on the post that helps you. This posting is provided "AS IS" with no warranties. knowledge is valid only if it is shared by All.

    Tuesday, August 14, 2012 8:26 AM