Solved

Move DFS-R Replication Groups to a new Server?

Posted on 2012-04-10
12
332 Views
Last Modified: 2012-06-05
Hi, I need to move my DFS-R replication groups/folders from one server to another. Right now they are hosted on Server1 with a SAN that is quickly running out of space. I need to move them to Server 2 which has a SAN with plenty of space to grow. Is there a way to do this without starting over, or causing DFS-R to do it's initial replication again?

I am not using namespaces.
0
Comment
Question by:Rex-Prince
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 4
12 Comments
 
LVL 78

Accepted Solution

by:
arnold earned 400 total points
ID: 37831165
Yes, go into the dfs management interface, under the replication group, add the new server as the target and there you can specify the drive letter and the directories where you want the data. Let the data replicate, then when the replication completes, you can add the new servers as the dfs target. Give it time, and then remove the old server from the dfs share target. At this point you can remove the old server from the replication group.

When configuring replication make sure you use mesh and not a hub spoke if you want changes at either to replicate to the other.

The transition will require the users to reconnect to the new server.
0
 

Author Comment

by:Rex-Prince
ID: 37881420
Sorry Arnold, I have not had a chance to try this out. I will hopefully be able to by the end of the week.

Can I seed this new member, or do you recommend that I let it replicate to an empty directory?
0
 
LVL 78

Expert Comment

by:arnold
ID: 37881888
it is up to you.  If you use xcopy/robocopy to preserve ownership and ACL rules, you can move it at will.  The benefit of letting it replicate is, that should some clients still have a connection to the current server and update a file, it will replicate to the new one when the file is closed.  If you copy and retarget, you might miss this file update since the copy will not work on an open file.

Yes, let data replicate to a new/empty folder on the new system.
you can test replication by creating a new test file on the new server after replication is setup to make sure the file makes its way to the current server.
0
Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

 
LVL 42

Assisted Solution

by:kevinhsieh
kevinhsieh earned 100 total points
ID: 37882073
If you want to pre-seed, here is the definitive post from Microsoft on how to do that.

Replacing DFSR Member Hardware or OS (Part 2: Pre-seeding)
http://blogs.technet.com/b/askds/archive/2010/09/07/replacing-dfsr-member-hardware-or-os-part-2-pre-seeding.aspx
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 37882091
I suggest that now is the time to start using namespaces, since you will have to reconfigure all of your clients anyway, you might as well do it for the last time.
0
 

Author Comment

by:Rex-Prince
ID: 37970111
I did a test run with one replication group. I used robocopy to preseed and it seems like I had a lot of conflicts on the initial replication. I used these parameteres: robocopy "source" "destination" /mir /sec /s /e /r:1 /w:0

Is there a different switch, maybe COPYALL would be better?
0
 
LVL 78

Assisted Solution

by:arnold
arnold earned 400 total points
ID: 37970142
No, if using dfs-r there is no need to preseed given when a replication partner is added it is seen as empty whether it is or not.
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 37970985
If you read the link I provided, you do require /COPYALL in order to properly pre-stage the content, and you need to use the correct version of Robocopy.

3. Sync the folders using robocopy with the following argument format:

Robocopy.exe “\\source server\drive$\folder path” “destination drive\folder path” /b /e /copyall /r:6 /xd dfsrprivate /log:robo.log /tee
0
 

Author Comment

by:Rex-Prince
ID: 37994342
One last question. I added the new Member, and now I have three Servers in this Replication group. The Current Server (Server1/SAN), the Current Replication Server (Server2), and the New Server (Server/SAN).

Server1 is the Primary in that group, and that is the Server I plan on removing when this over. Is there a way to switch the Primary role, or is that just for initial replication?
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 37994442
The primary is only for initial replication. Once replication has happened, there is no such thing as a primary server. When you are done and you want to remove the original server, just remove it from the replication group.
0
 
LVL 78

Expert Comment

by:arnold
ID: 37994533
You should first remove the server from the share section. Once no clients use the share on this server, remove it from the replication group.
0
 

Author Closing Comment

by:Rex-Prince
ID: 38049936
Thanks Arnold. I did exactly what you said and it worked like a champ. Kevin, thanks for the info on pre-seeding. I will use that for new replication groups.
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question