DFS - how to save latest updated file on multi locations -Distributed File System

We have 2 locations , we DFS created , we want to keep latest file , If user A open the file and mean time user B also writing the file we want o save the latest update and alert to user A that your data will not be saved/updated,
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gerald ConnollyCommented:
It looks like its an issue in DFS.

I am guessing you have read this http://social.technet.microsoft.com/Forums/windowsserver/en-US/d28d97a2-9156-469b-b8d8-e73ed39d8a30/dfs-file-locking?forum=winserverfiles and the article it points to about "Understanding DFS locking"
Do we have  any other third paarty software like this


Peerlock is the only software I know of that handles distributed file locking for DFS replicated shares. It should notify the second and all subsequent users that their files will not be saved.

As for saving the last copy written, that is easy because DFS replication does that by design... So I don't understand that part of the question.
I haven't used Peerlock before. What I always do is make sure in situations where people from two different locations might open and write to the same file that there is only one active DFS Namespace target hosting the share.  This eliminates the file locking problems, though it also means that many users need to go over the WAN.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Third party software is solutioln
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

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.