Hi I've no idea if anyone can help with this, or if it's even a good idea, but I'll give it a go.......... I've been charged with providing a level of fail-over with a Samba implementation, and without going down the shared storage/cluster approach it was suggested that we consider using the File Replication Service in Win2k to mirror a complete share tree from the primary SMB server to the failover SMB server (effectively a hot standby, no load balancing or AA clustering required). The problem we've come accross is that once the DFS root has been created (hosted by a Win2k server), the primary SMB server can be added as a 'link' to the root (and the failover) (and the DFS link opened through a DFS client), however, when an attempt is made to configure the replication between the two links (rather the point of the whole exercise), Win2k is reporting that 'the RPC server is unavailable'...........and simply refuses to allow replication to be configured between the two SMB servers. I guess I'd like to ask, has anybody attempted this before and got it working ? All we really require is the ability to replicate a tree structure from one SMB server to another in effectively real-time, and the above approach would be sufficient. I realise that there are almost certainly other approaches that would be faster and didn't involve Win2k servers, however my Linux knowledge is limited (though greatly improved in the last few months). Currently i'm building with Mandrake v9 and the SMB rpms that ship with said distribution. The file system for the SMB shares is XFS with ACL support enabled (I believe some replication daemons don't function with XFS hence the mentioning) Any suggestions welcome Regards Alex Robinson -------------- next part -------------- HTML attachment scrubbed and removed
On Tue, Nov 26, 2002 at 04:11:38PM -0000, alex wrote:> > All we really require is the ability to replicate a tree structure from > one SMB server to another in effectively real-time, and the above > approach would be sufficient. I realise that there are almost certainly > other approaches that would be faster and didn't involve Win2k servers, > however my Linux knowledge is limited (though greatly improved in the > last few months).rsync is what you need to do this. Look at rsync.org, it will ship with your linux. You can invoke it on a periodic basis. Very efficient and no need for Windows at all :-). Jeremy.
On Tue, 26 Nov 2002, Giulio Orsero wrote:> On Tue, 26 Nov 2002 16:43:42 +0000 (GMT), John H Terpstra <jht@samba.org> > wrote: > > >On Tue, 26 Nov 2002 jra@dp.samba.org wrote: > > > >> On Tue, Nov 26, 2002 at 04:11:38PM -0000, alex wrote: > >> > > >> > All we really require is the ability to replicate a tree structure from > >> > one SMB server to another in effectively real-time, and the above > >> rsync is what you need to do this. Look at rsync.org, it will ship > >> with your linux. You can invoke it on a periodic basis. Very efficient > >> and no need for Windows at all :-). > >And if you need a binary for MS Windows 2K let me know, I can provide one > >so you can rsync from MS Windows 2K to/from Linux/Unix. > > Will rsync take care of ACL between linux/linux (ie xfs) , win/linux, > linux/win?When you find a way the Rsync team would love to hear from you. So the answer is No. - John T. -- John H Terpstra Email: jht@samba.org
On Tue, 26 Nov 2002 16:11:38 +0000, alex wrote:> The problem we've come accross is that once the DFS root has been > created (hosted by a Win2k server), the primary SMB server can be added > as a 'link' to the root (and the failover) (and the DFS link opened > through a DFS client), however, when an attempt is made to configure the > replication between the two links (rather the point of the whole > exercise), Win2k is reporting that 'the RPC server is > unavailable'...........and simply refuses to allow replication to be > configured between the two SMB servers.I've had a bit of a poke around at the win2k file replication and can tell you that it's not supported under Samba at the moment because we don't implement the particular RPC pipe that FRS uses. FRS also uses a new type of encryption (I think it's actually documented in a RFC somewhere - hmac-brezak?) that Samba doesn't support yet either. Jeremy and others are correct about rsync. It doesn't support ACLs of any sort although people have been interested in transfering POSIX (Linux, Solaris) and NT ACLs for obvious reasons! Tim.