<div dir="ltr">I&#39;m doing some early research into how/if we can mirror two Samba servers connected via a 10 mbit VPN.  The intent is to have users (MS Office, AutoCAD, some GIS workstations) have a &#39;local&#39; copy of all files, no matter which office location they&#39;re sitting in (and which Samba server they&#39;re working with).  We need to have the identical file (as seen by the other server) locked when the &#39;local&#39; copy is open.  Then updated when saved, of course.<div>
<br></div><div>I&#39;m new to this and am working my way up the learning curve with an ice axe and crampons... I&#39;m still stumbling across the icefield and an attempt at the summit is a loooong way off.</div><div><br></div>
<div>I&#39;ve learned that CephFS isn&#39;t ready for mainstream use just yet.</div><div><br></div><div>I&#39;ve learned that XtreemFS doesn&#39;t lock files with POSIX commands... if the application using the file doesn&#39;t write a lock file (that&#39;s quickly replicated across the OSD&#39;s), the potential for both copies being edited at the same time exists.</div>
<div><br></div><div>I want to be able to ensure the local Samba server utilizes the physically local files, drives, volumes - whatever you want to call them - to avoid delays in opening and closing files over the VPN.  Striping across local and distant drives would presumably create a big speed problem.</div>
<div><br></div><div>On the face of it, is GlusterFS an option that might fit my needs?  Is there a document that explains the configuration of such an arrangement?  Clearly I&#39;m going to be setting up a test bed of sorts eventually, but I&#39;d prefer to start with something that *might* work, rather than something that simply can&#39;t...</div>
<div><br></div><div>Thanks!</div></div>