Tuesday, June 28, 2011

DPM–Manual Transfer of Replica (from Server with DPM Agent to DPM Server through the WAN) for protected folder(s).

 

image

Today I would like to share with you a scenario that I’ve tested out. 

I have a file server which is located in a branch and is is installed with a DPM agent across a WAN.

In summary the servers are :

  • MY-VM-SVR-FS003 (File Server)
  • MY-VM-DPM-PRI02 (Primary DPM Server)

The assumption is that the DPM agent has been deployed to MY-VM-SVR-FS003.

Site 2

Next is the creation of the Protection Group.

my-hv-tes-002-99

During the process of creating the Protection Group, the Choose replica creation method, select Manual and click Next

my-hv-tes-002-104

In my example , The protection group created is to protect a folder in MY-VM-SVR-FS003 i.e. D:\for Backup_FS003

As the diagram above, it shows “Manual replica creation pending”.

Now, we’ll go to another site which MY-VM-SVR-FS003 is located e.g. Site 1 in my scenario.

Site 1

image

Copy the folder that was specified to an external media, e.g. external Hard Disk.

Once it’s done, we’ll go back to Site 2 with this copied media.

Back to Site 2

In the MY-VM-DPM-PRI02 , launch the DPM Console. Go to the Protection Group, select the protected group.  In my case is the MY-VM-SVR-FS003-Remote.

Note : login to server as LOCAL ADMINISTRATOR but launch the DPM console with the account that is part of the domain.  In my case I use MY-DPM-SVC domain account.

my-hv-tes-002-105

Click to view details.

my-hv-tes-002-106

<Right-click> on it and select Copy

my-hv-tes-002-109

Open up Notepad and copy into it for reference later.

Next, open command prompt.

my-hv-tes-002-114

Type mountvol .

my-hv-tes-002-115

Note the same volume between the notepad and the command prompt.

my-hv-tes-002-116

Highlight and copy.

my-hv-tes-002-117

type mountvol k:\ \\?\Volume{00e2fe0c-9e3b-11e0-86aa-00155da84d01}\

The command is to mount the volume into K Drive. 

note : What is shown in pink will be different from one DPM to another.

Next, open up Windows Explorer.

my-hv-tes-002-118

You’ll be able to see the K Drive.  Double click to expand it.

my-hv-tes-002-124

Expand the K Drive, and expand the folder.

Paste what has been copied from Site 2 to this particular directory (from the external media).

my-hv-tes-002-125

Copy and replace it.   Click Yes.

Once the copying is completed, go back to the command prompt.

my-hv-tes-002-128

Type mountvol k: /d to remove the the volume from K Drive.

my-hv-tes-002-132

In the DPM Console, Perform consistency check …

my-hv-tes-002-134

Very fast the consistency check is completed.  (it took a couple of seconds for my testing).  So now only the changes is replicated rather the entire chunk across the WAN.

Thank you and hope it helps you Smile.

keywords : DPM, Data Protection Manager, Replica, Replicate Data Manually, Replicate data offline in DPM.

Wednesday, June 22, 2011

DPM–Site to Site Replication (How to Manual Transfer of Large Volume Data )

 

image

Here I have 2 servers (both are in the same domain).  They are :

  • MY-VM-DPM-PRI01 (Primary DPM Server)
  • MY-VM-DPM-SEC01 (Secondary DPM Server)

The Secondary DPM Server will need to replicate from the Primary DPM Server as a backup.  However it’s going through the WAN and transferring a huge data through the WAN will take a very long time and will consume the WAN bandwidth for other purpose.

The recommended way is to transfer the data manually from the site 1 server MY-VM-DPM-PRI01 to a media (e.g. an external hard disk) then transport the media to site 2 and import into the MY-VM-DPM-SEC01 server.

By following the steps that I’m going to share, you’ll be able to perform the task easily.

Firstly the MY-VM-DPM-PRI01 needs to be part of MY-VM-DPM-SEC01 protected computer.

This can be done by deploying the agent from MY-VM-DPM-SEC01 to MY-VM-DPM-PRI01.

Once it’s done, you’ll be able to see as follow in MY-VM-DPM-SEC01 :

image

In Site 2

MY-HV-TES-003-165

In the MY-VM-DPM-SEC01, I launch the DPM console and then, when create a protection group.  Then I select the All SQL Servers (in MY-VM-DPM-PRI01) for this example. 

You can drill down further on what the MY-VM-DPM-PRI01 – All Volumes to see what the MY-VM-DPM-PRI01 server is protecting other servers.  You can Check or Uncheck for what is to be replicated to MY-VM-DPM-SEC01.

MY-HV-TES-003-169

When coming to the Choose replica creation method, select Manually cause it’s through the WAN.  We wouldn’t want to do a huge replication through the WAN, right ?

Once you’ve finished the creation of the Protection Group, you’ll be able to see the following :

MY-HV-TES-003-173

Now we’ll go to Site 1, to perform the copy of data manually.

In Site 1.

my-hv-tes-001-141

Login to the MY-VM-DPM-PRI01 as LOCAL ADMINISTRATOR.

my-hv-tes-001-142

Launch the DPM by <right-click> on the DPM Console and Run as different user

my-hv-tes-001-143

In this case I login with the user that is use for the installation of the DPM (which is part of the domain, and has rights to the servers that is protecting).

my-hv-tes-001-144

Select Click to view details.

my-hv-tes-001-145

<Right-click> select Copy.

my-hv-tes-001-147

Open a Notepad and paste into it.  This information will be use later.

my-hv-tes-001-148

Select the Command Prompt <right-click>Run as administrator.

my-hv-tes-001-149

In the command prompt type mountvol.

my-hv-tes-001-150

Look for the value and compare between the notepad and the command prompt.  As shown above is in (1) and (2) .

my-hv-tes-001-151

Then you need to highlight and copy as shown above (the GUID will differ from one DPM to another).

my-hv-tes-001-153

Type mountvol k:\ \\?\Volume{3e4c956d-95f7-11e0-95ec-00155da84202}\

Note : The one that is showing in the pink colour is your value that will be different. 

my-hv-tes-001-156

Open up the Windows Explorer.  Need to open up the Folder Options from the Menu Bar

my-hv-tes-001-157

Select the Folder options.

my-hv-tes-001-162

In the Folder Options, click on the View tab.

The Uncheck the Hide protected operating system files (Recommended) and click OK.

my-hv-tes-001-163

Back to the Windows Explorer, copy all the content in the K drive to external media or device e.g. a Hard Drive to be transported to site 2.

my-hv-tes-001-164

Once it’s done, open up the command prompt and type :

mountvol k: /d

This will release the volume for the DPM from K Drive.

my-hv-tes-001-166

Open up the Windows Explorer to verify the volume is dismounted.

Once that is done, it’s time to go to site 2 with the external media.

Back to Site 2.

MY-HV-TES-003-181

Now I login to the MY-VM-DPM-SEC01 as LOCAL ADMINISTRATOR.

MY-HV-TES-003-182

Launch the DPM by <right-click> on the DPM Console and Run as different user

MY-HV-TES-003-183

In this case I login with the user that is use for the installation of the DPM (which is part of the domain, and has rights to the servers that is protecting).

MY-HV-TES-003-185

Click to view details from the Details of the Protected Group.

MY-HV-TES-003-186

<Right-click> and select Copy.

image

Open the notepad and copy into it for later reference.

MY-HV-TES-003-187

Select the Command Prompt <right-click>Run as administrator.

MY-HV-TES-003-188

In the command prompt type mountvol.

MY-HV-TES-003-189

Locate for the GUID that is similar in the notepad and compare with the command prompt.  (1) and (2) as shown above.

MY-HV-TES-003-190

Then you need to highlight and copy as shown above (again the GUID will differ from one DPM to another).

MY-HV-TES-003-191

Type mountvol l:\ \\?\Volume{64d6d785-98a8-11e0-b967-00155da8ef00}\

Note : The one that is showing in the pink colour is your value that will be different.

MY-HV-TES-003-193

Open the Windows Explorer, then go to the Menu Bar and select Folder Options (if the Windows Explorer doesn’t show the Menu Bar, then press <Alt> , the Menu Bar will open)

In the Folder Options, click on the View tab.

The Uncheck the Hide protected operating system files (Recommended) and click OK.

MY-HV-TES-003-194

From the external drive transported from Site 1, copy all it’s content.

MY-HV-TES-003-195

and paste into the L Drive that was mounted in the MY-VM-DPM-SEC02.

MY-HV-TES-003-196

Once the copying is completed, open up the command prompt (that was open earlier).

In the command prompt, type mountvol l: /d .  This will release the volume from L Drive that was assign.

MY-HV-TES-003-197

Open up the Windows Explorer to verify the L Drive is no longer mounted.

MY-HV-TES-003-198

Open up the DPM Console, then maneuver to the Protection Group.

Then <Right-Click> to Perform consistency check.  This will compare the MY-VM-DPM-PRI01 & MY-VM-DPM-SEC01 data. 

MY-HV-TES-003-199

Click Yes.

MY-HV-TES-003-201

Now the consistency check is done.  The data between MY-VM-DPM-PRI01 & MY-VM-DPM-SEC01 both are the same.

Thank you and hope it helps you.

keywords : DPM 2010, Data Protection Manager 2010, Transfer of Large Data in DPM, DPM Site to Site data transfer of data or volume.