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

Posted on 2009-04-24
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

    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.

    LVL 5

    Expert Comment

    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).
    LVL 4

    Accepted Solution

    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

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
    Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
    This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
    This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

    754 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

    23 Experts available now in Live!

    Get 1:1 Help Now