Learn how to a build a cloud-first strategyRegister Now


Distributed File System How to prevent to open 1 File 2 times

Posted on 2009-04-24
Medium Priority
Last Modified: 2013-11-14

we installed DFS latlely and now happens the following:

the user accessing the Files through domain.local\Data\share

domain.local\Data\share is at the backend done by 2 servers:

domain.local\Data\share= Server1 and Server2.

How can i prevent that somebody can open a file through DFS from Server1 and another User opens the Same file Through DFS "accidently" from Server2 ?
Question by:MaurizioSchmidt
LVL 20

Expert Comment

ID: 24227757
I don't know if you can fully prevent them with a domain namespeace DFS. However you can control the referral order. From the help

Referral ordering
A referral is an ordered list of targets, transparent to the user, that a client receives from a domain controller or namespace server when the user accesses the namespace root or a folder with targets in the namespace. The client caches the referral for a configurable period of time.

Targets in the client's Active Directory site are listed first in a referral. (Targets given the target priority "first among all targets" will be listed before targets in the client's site.) The order in which targets outside of the client's site appear in a referral is determined by one of the following referral ordering methods:

Lowest cost

Random order

Exclude targets outside of the client's site

You can set referral ordering on the namespace root, and the ordering method applies to all folders with targets in the namespace. You can also override the namespace root's ordering method for individual folders with targets.


Expert Comment

ID: 24231134
You could always use the direct UNC path to the share \\server1\share or \\server2\share to make sure you always land on a specific server.

We've used this method across two sites so no one is accdently access data across a WAN link (used for replcaition and not redundancy link fallback etc).

Accepted Solution

MaurizioSchmidt earned 0 total points
ID: 24236034
you "disabled" the feature of redundancy and only use dfs to replicate files in real time to another server for disaster recovery ? right ?

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

810 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