From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "MacDonell, Dennis" Newsgroups: gmane.os.tru64.managers Subject: synchronising automount redundant mounts. Date: Mon, 12 May 2003 11:01:54 +1000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <53273E187450D311ACF6009027927B1202EB60D2@smtpgate.auslig.gov.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1052701263 4177 80.91.224.249 (12 May 2003 01:01:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 12 May 2003 01:01:03 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon May 12 03:01:00 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19F1gF-00010S-00 for ; Mon, 12 May 2003 03:00:39 +0200 Original-Received: (qmail 19349 invoked by uid 5); 12 May 2003 01:01:54 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 19313 invoked by uid 49493); 12 May 2003 01:01:54 -0000 Original-Received: from DennisMacDonell@auslig.gov.au by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.432534 secs); 12 May 2003 01:01:54 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 12 May 2003 01:01:54 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HER0034B1J5C7@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 11 May 2003 21:01:53 -0400 (EDT) Original-Received: from mailhost.auslig.gov.au (mailhost.auslig.gov.au [143.174.16.7]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HER00MIA1IXKM@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 11 May 2003 21:01:48 -0400 (EDT) Original-Received: from astro (astro.auslig.gov.au [143.174.16.225]) by mailhost.auslig.gov.au (8.12.8/8.12.8) with SMTP id h4C11hQp022984 for ; Mon, 12 May 2003 11:01:44 +1000 (EST) Original-Received: by smtpgate.auslig.gov.au with Internet Mail Service (5.5.2448.0) id ; Mon, 12 May 2003 11:01:55 +1000 Original-To: 'Alpha tru64 managers' X-Mailer: Internet Mail Service (5.5.2448.0) Xref: main.gmane.org gmane.os.tru64.managers:4195 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4195 Hi, I have a couple of servers running Tru64 5.1 and 5.0A, that I was hoping to setup as redundant automounts for user login areas. I looked at rdist, but it all looked a little complicated, and the documentation seemed to be a little vague. Then I noticed on the list that other people had some info on rdist, one mentioned rsync. I setup rsync, but I can' t quite work out how it can keep the directories the same in the case of deletions. It would appear to me that when a user deleted a file, which could be on either server, there is no way of detecting this and propogating it to the other server. The best I could see that would happen is that the deleted file is copied back from the server which still retains a copy to the one on which the file was deleted. The problem seems to be, (a) the servers don't know which one has the latest version of a user's directory, (b) the sync operations carried out between the servers are done in a predetermined order, which may lead to the server with the stallest version trying to update the server with the latest first. (c) user's can logon a number of machines at the same time, and different machines may be connected to different servers for the user's home directory. What would need to happen is that deleted files have their name changed and at the same time the mtime of the file is changed. That way you could setup a system of comparing the dates on existing files, with the dates on the deleted files. But if the file has been deleted, I can't see how any system could work out whether the file should be deleted from the other server or copied from the other server back to the first server. Dennis ###################################### Dennis Macdonell Systems Administrator National Mapping Division, Geoscience Australia mail: PO Box 2, Belconnen, ACT 2617 email: mcdonell@auslig.gov.au ph: 61 2 6201 4326 fax: 61 2 6201 4377 ######################################