Solved

DFS Replication not working

Posted on 2013-05-22
20
1,384 Views
Last Modified: 2013-05-31
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
Comment
Question by:axe77
  • 11
  • 9
20 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 39192168
How much bandwidth is available between the two sites?
upstream/downstream on each end.  The lowest on one is the rule for both.
0
 
LVL 77

Expert Comment

by:arnold
ID: 39192195
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
 

Author Comment

by:axe77
ID: 39193549
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
 
LVL 77

Expert Comment

by:arnold
ID: 39193845
Do you have any errors?
0
 

Author Comment

by:axe77
ID: 39195856
Event ID: 5014
Error: 1726 (The remote procedure call failed)
0
 
LVL 77

Expert Comment

by:arnold
ID: 39195887
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
 

Author Comment

by:axe77
ID: 39195895
RPC is running on both servers, no DNS issues and time is completely synced
0
 
LVL 77

Expert Comment

by:arnold
ID: 39195927
What connects the two sites? Make sure the issues not with an access restriction within a VPN.
0
 

Author Comment

by:axe77
ID: 39196202
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
 
LVL 77

Expert Comment

by:arnold
ID: 39196229
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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Comment

by:axe77
ID: 39198195
Firewall or antivirus S/W are off
0
 
LVL 77

Expert Comment

by:arnold
ID: 39198213
0
 

Author Comment

by:axe77
ID: 39198219
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
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 39198304
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
 

Author Comment

by:axe77
ID: 39198330
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
 
LVL 77

Expert Comment

by:arnold
ID: 39198392
DFSrProvate is a required directory structure dealing with staging/deleted/conflict etc.
0
 

Author Comment

by:axe77
ID: 39199449
DFSrPrivate folder recreated automatically as soon as the server restarted.
0
 
LVL 77

Expert Comment

by:arnold
ID: 39199460
What is the status of replication at this point?
0
 

Author Comment

by:axe77
ID: 39200412
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
 
LVL 77

Expert Comment

by:arnold
ID: 39200819
Run the DFS report to see how many files need to be replicated.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now