DFS Folder sharing

Hi,

I have setup DFS on two servers. They are Replicating to each other and I can seen them both on the client network share. They are published in the Namespace via the Replication.

the name space is : domain.local\data\

However, the clients can both open a file at the same time and its the first one to save wins.

How can I stop this.

I wanted to have redundancy for the file server and thought DFS was the way to go.
Gareth_PointonAsked:
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.

Cliff GaliherCommented:
You can't stop this. DFS does not support file locks across the entire namespace. DFS-Replication has a place, but it was not meant to be a replacement for fileserver clusters, nor can it be used as such. You can certainly use it for redundancy, but you *cannot* use it for high availability. If you want to use it for redundancy then you'll simply remove one of the targets from the DFS Namespace so all clients get the same server reference and thus file locks will prevent simultaneous editing. In the event of a failure, you manually change the namespace target to point to the other replication target and the only data loss would be changes made since the last replication.

Yes, it is a manual failover process. But it works. And, again, if you want true high availability (aka automatic failover) then DFS is not the right solution. That's what clustering is for.
0
Gareth_PointonAuthor Commented:
OK.. However could I not tell it to use the 01 server as the Priority server within the Shared Targets by setting the override referral ordering?
0
Cliff GaliherCommented:
You still run the risk of simultaneous open versions. Like DNS, if both referrals are active, a secondary reference  condition can occur for a variety of reasons.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Gareth_PointonAuthor Commented:
So whats the best way to setup two File servers for redundancy ?
0
Cliff GaliherCommented:
Failover clustering.
0
Gareth_PointonAuthor Commented:
Any info?
0
Cliff GaliherCommented:
0

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
Gareth_PointonAuthor Commented:
More how to setup really
0
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
Windows Server 2008

From novice to tech pro — start learning today.