在Distributed File System Replication: Frequently Asked Questions中看到这个问题
Is it possible to configure one-way replication with DFS Replication?
看标题理所当然地认为应该是ok的,在复制组中建立复制拓扑的时候,只要建立一个单向的复制连接即可,从一个成员发送到其他成员伙伴,不过还未实际测试过这样设置能否单向复制,但看后面的解释困惑了,难道我曲解了意思?
Microsoft does not support creating a one-way replication connection with DFS Replication. Doing so can cause numerous problems including health check topology errors, staging issues, and problems with the DFS Replication database. A better solution is to simulate a one-way connection by using the following list:
- Train administrators to make changes only on the server(s) that you want to designate as primary servers.Then let the changes replicate to the destination servers.
- Configure the share permissions on the destination servers so that end users do not have Write permissions. If no changes are allowed on the branch servers, then there is nothing to replicate back, simulating a one-way connection and keeping WAN utilization low.
微软的建议做法是更改共享文件夹的共享权限为只读,这样此成员不会有文件的写入动作,则不会导致从此成员上向其他成员复制,达到等同于单向复制的效果。