This is a general question.... My company is trying to leverage DFS to replicate a project directory out. Here are some questions that I haven't been able to answer for them yet.
1. Is there a master slave thing? What happens if a file is changed in both the master and a replica, who wins?
A little background on this. We will have multiple Windows Server 2012 or possibly 2008R2 servers that will run different model runs. The data is stored in a directory and the clients have a program that we wrote on their machines that do different things to the data. My concern is that If you have two offices working on the same project and Office A modifies File A and Office B modifies file A. Who wins? What would happen in that scenario?
We will have protections built into our applications to prevent two individuals from modifying the same project files in the same time. So for example if you are working on PEPCO and your running some equipment review or building a model with those files then it will put a lock in the program (We will have the database replicated at this point) and display a message to the user saying something like files are locked, somebody is making a run please wait and we will put their request into a queue. So I guess that's probably my answer. I just wanted to know IF and IF that were to happen because our code wasn't rock solid and two users in two remote offices modified the same file, how would DFS react?
Also, is there any other products out there that could take care of this? We are an ESXi shop so we plan for redundancy, having each others VM's in another remote office. This is VMware vsphere High Availability. That doesn't solve the replication problem from within the application and shares themselves. In an ideal world we would like to have all projects accessible in all offices.
Any and all help is appreciated,
Tim