• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1573
  • Last Modified:

DFS Replication not working

We have two file servers running DFS Replication in two different sites. Servers OS, Windows Server 2008 R2.

Although I had successfully set up the DFS replication between them, it seems not to work properly, experiencing a strange behavior. While running dfsdiag from serverA I get errors for validating namespace "The RPC server is unavailable" and for validating registry entries "The network path was not found". Dfsdiag runs successfully on serverB. I try to access the namespace \\serverA\data from serverB and vice-versa but it is not possible. I read many articles describing issues about the staging file size which in our case increased to 16GB. No success.

Please advise.
0
axe77
Asked:
axe77
  • 11
  • 9
1 Solution
 
arnoldCommented:
How much bandwidth is available between the two sites?
upstream/downstream on each end.  The lowest on one is the rule for both.
0
 
arnoldCommented:
Are the two systems in the same domain?  Do you have the two sites connected with a VPN?
Too many variations whose details are not included on what you tried and whether you reached some diagnostic causes for the issue at hand?
0
 
axe77Author Commented:
Thanx for your replies.

Two sites are connected through VPN which established via a dedicated leased line 100Mbps (up/down with 85ms latency).
The two systems are in the same domain but in different AD sites.

What I am trying to do is to have both fileservers synced as users travel all the time from one site to another.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell┬« is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
arnoldCommented:
Do you have any errors?
0
 
axe77Author Commented:
Event ID: 5014
Error: 1726 (The remote procedure call failed)
0
 
arnoldCommented:
http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/2b58b4a4-3e0a-460e-b4e9-fd550e5e9c3b/

RPC services running on both?
Time chek? Are the two systems have a time that is close enough within 5minutes accounting for timezone?
0
 
axe77Author Commented:
RPC is running on both servers, no DNS issues and time is completely synced
0
 
arnoldCommented:
What connects the two sites? Make sure the issues not with an access restriction within a VPN.
0
 
axe77Author Commented:
There is no network issue as it was my first thought at the very beginning.

I made some extra tests.
Pure replication works OK between two servers. I created a new share which then I added it in a new replication group, and the replication started immediately. Any changes is synced instantly.
The problem only occurs when a replication group is a member of a namespace. I tried to delete the staging folder in case there was a corruption. After I restarted the servers, the replication started and run for about 20 minutes or so. No success either.
0
 
arnoldCommented:
Replication group deals with replication only, the publishing of the replicated directories should not be an issue unless the files are maintained open I.e. there is an anti-virus app that scans any file an access.  A replication attempt in this case will fail because the file will be seen as in use.
0
 
axe77Author Commented:
Firewall or antivirus S/W are off
0
 
arnoldCommented:
0
 
axe77Author Commented:
If you mean Firewall and AV are disabled on both servers.
The drives are mapped through Group Policies by using the DFS namespace (i.e. \\domain.com\data\Users)
0
 
arnoldCommented:
Since you ran dfs dial, double check the DNS resolution for the servers to make sure there is no extraneous IP reference that causes issues.
0
 
axe77Author Commented:
DNS checked... no issue

I made two changes:
1. Enable IPv6
2. Delete DFSrPrivate folder

Now seems that something moving out there... watching and revert.
0
 
arnoldCommented:
DFSrProvate is a required directory structure dealing with staging/deleted/conflict etc.
0
 
axe77Author Commented:
DFSrPrivate folder recreated automatically as soon as the server restarted.
0
 
arnoldCommented:
What is the status of replication at this point?
0
 
axe77Author Commented:
The replication seems to be in progress. I have got many messages in the Event Viewer verifying this. Nevertheless, I made a test to create a file in serverA which it has not been appeared in serverB yet.

Still waiting...
0
 
arnoldCommented:
Run the DFS report to see how many files need to be replicated.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 11
  • 9
Tackle projects and never again get stuck behind a technical roadblock.
Join Now