Wednesday, September 24, 2008

Move Protected Server Agent to another DPM server

If you work in a multiple DPM server environment, you will, at some point run into a situation that will require you to change protection from one DPM server to another. So, how do you do it? Simply two command lines. (queue up the Stapes "Easy" button...)

Scenario:

  • DPMServer01 is protecting Exchange01
  • You want DPMServer02 to protect Exchange01

This is a three step process:

  1. On the DPM DPMServer01, stop protection of Exchange01
  2. On Exchange01, Open a command prompt, and and navigate to where the DPM Agent is installed (default is %ProgramFiles%\Microsoft Data Protection Manager\DPM\bin\). Execute the following command:
  3. SetDpmServer.exe -dpmServerName DPMServer02 



  4. On DPMServer02, open DPM Management Shell (Powershell), and enter this command:



  5. .\Attach-ProductionServer.ps1 -DPMServer DPMServer02 




You will also have to provide the following information (and can be added as additional switches in the command:




  • -PSName (Protected Server Name)


  • -UserName


  • -Password


  • -Domain



That's it! (Time to press the "Easy" button!)I have noticed that it takes about 5 or so minutes for the agent to show up as available on the new DPM server.

6 comments:

Wim said...

shouldn't it be SetDpmServer.exe -dpmServerName DPMServer02 instead of DPMServer01?

Since it is the entire point of going from 1 to 2...

Best Regards
Wim Boudin

Everyday Nerd said...

Got to love typos! Thanks, and corrected!

Steinomite said...

Thanks for info. It actually was helpful to me a lot.

Rentfrow said...

Great Info!!!!

Richard said...

Can you move the Replica and Recovery points that are on DPMServer01 to DPMServer02?

Dan Burgess said...

@ Richard: Unfortunately, no. I am currently facing this issue now - with SAN frames up for lease, I'm having to migrate to a new SAN. NOT an easy feat at all!

Welcome!

I use Microsoft System Center Data Protection Manager 2007 on a daily basis, and although it is a great product, it takes a lot to master. I have created this blog to share my experiences with DPM with other System Administrators out there. All of my experience with DPM is in the role of protecting Microsoft Exchange 2007, and SQL server (the DPM database itself).

There have been many issues that I've run across, and not been able to find answers for on the Internet, so I'm going to "pay it forward" to the IT community!

Hope you find this blog informative!