Is there a way to synch multiple servers at once so when one is changed, samba updates all the other servers at the same time automatically? -- View this message in context: http://old.nabble.com/how-to-synch-multiple-servers--tp28019825p28019825.html Sent from the Samba - General mailing list archive at Nabble.com.
> Is there a way to synch multiple servers at once so when one is changed, > samba updates all the other servers at the same time automatically?What are you talking about? Permissions or files or both? If just permissions use ldap. John
On Thu, Mar 25, 2010 at 10:49 AM, John Drescher <drescherjm at gmail.com> wrote:>> Is there a way to synch multiple servers at once so when one is changed, >> samba updates all the other servers at the same time automatically? > > What are you ?talking about? Permissions or files or both? > > If just permissions use ldap. >By permissions I mean user and machine accounts and the like not ACLs John
I mean, if a file is updated, added, or changed on 1 server, it will perform the same changes to the others automatically. John M. Drescher wrote:> > On Thu, Mar 25, 2010 at 10:49 AM, John Drescher <drescherjm at gmail.com> > wrote: >>> Is there a way to synch multiple servers at once so when one is changed, >>> samba updates all the other servers at the same time automatically? >> >> What are you ?talking about? Permissions or files or both? >> >> If just permissions use ldap. >> > By permissions I mean user and machine accounts and the like not ACLs > > John > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >-- View this message in context: http://old.nabble.com/how-to-synch-multiple-servers--tp28019825p28030799.html Sent from the Samba - General mailing list archive at Nabble.com.
> I mean, if a file is updated, added, or changed on 1 server, it will perform > the same changes to the others automatically. >I think what is best for that is a filesystem that can do network raid1. Something like: http://www.drbd.org/home/what-is-drbd/ John
On Thu, Mar 25, 2010 at 3:22 PM, John Drescher <drescherjm at gmail.com> wrote:>> I mean, if a file is updated, added, or changed on 1 server, it will perform >> the same changes to the others automatically. >> > > I think what is best for that is a filesystem that can do network raid1. > > Something like: > http://www.drbd.org/home/what-is-drbd/ >On second thought that will not work because only 1 server can have the filesystem mounted at the same time. Maybe GFS2 or OCFS. John
On Thu, Mar 25, 2010 at 3:24 PM, John Drescher <drescherjm at gmail.com> wrote:> On Thu, Mar 25, 2010 at 3:22 PM, John Drescher <drescherjm at gmail.com> wrote: >>> I mean, if a file is updated, added, or changed on 1 server, it will perform >>> the same changes to the others automatically. >>> >> >> I think what is best for that is a filesystem that can do network raid1. >> >> Something like: >> http://www.drbd.org/home/what-is-drbd/ >> > On second thought that will not work because only 1 server can have > the filesystem mounted at the same time. Maybe GFS2 or OCFS. >Here is the reason: http://www.drbd.org/home/mirroring/ John
On 03/24/2010 03:07 PM, PTaco wrote:> Is there a way to synch multiple servers at once so when one is changed, > samba updates all the other servers at the same time automatically? >Do you mean sync account information (e.g. if you want multiple domain controllers) or changes in the files stored on the server? For multiple domain controllers LDAP backend is the way to go. If you want to sync files you could use rsync and have a cron job - I don't know how you could have a trigger though.
DRDB is a whole file system correct? -- View this message in context: http://old.nabble.com/how-to-synch-multiple-servers--tp28019825p28044546.html Sent from the Samba - General mailing list archive at Nabble.com.
On 26 March 2010 15:44, John Drescher <drescherjm at gmail.com> wrote:>>> Is there a way to synch multiple servers at once so when one is changed, >>> samba updates all the other servers at the same time automatically? >>> >> >> Do you mean sync account information (e.g. if you want multiple domain >> controllers) or changes in the files stored on the server? ? ?For multiple >> domain controllers LDAP backend is the way to go. ?If you want to sync files >> you could use rsync and have a cron job - ?I don't know how you could have a >> trigger though. > > The OP was talking about files. I suggested a network raid 1 type > setup with DRBD but forgot that that would not work unless you > combined that with GFS or OCFS2. I had thought about the rsync (or > even unison) solution but it depends on how much time can elapse > between the file changing on one server and that change appearing on > the others.How about something with rsync and inotify? ?A program could use inotify to watch for changes, queue up the changed files and call rsync on the files in the queue. ?If a file is changed more than once before being copied the first time, the other entries in the queue could be skipped. -- Michael Wood <esiotrot at gmail.com> -- John M. Drescher