Some configuration help needed.

2000-11-08 Thread Tyler Hardison

Hi everyone, I have been using rsync now for about 2 months on my companies'
two job servers with great success.  Twice when our main jobserver has gone
down, our second "mirrored" server has picked up the ball and ran with it.

However something happened last night that was very (funny to me)
interesting. The #2 Controller on our Andataco raid cabinet died, so instead
of calling me or my other sysadmin partner our GM decided to reboot server 1
on his own.  What ended up happening was several raid volumes did not mount
because of a controller fault, otherwise the server came up fine including
rsync (not rsync's fault at all). As most of you can already guess, server 2
came calling and got empty volumes, esentially wiping server 2 out. :)

Now my question is, does anyone have a suggestion of a test that I can run
prior to rsync (which is run through a crontab) that I can use to stop
rsync? The server actually wasn't rebooted for about two hours so at one
point it was "down". Basically we sync the servers once an hour because we
do high volume graphics editing on very critical time schedules.

Thanks,

Tyler.





Re: Some configuration help needed.

2000-11-08 Thread Dietmar Goldbeck

On Wed, Nov 08, 2000 at 09:48:13AM -0800, Tyler Hardison wrote:
 
 Now my question is, does anyone have a suggestion of a test that I can run
 prior to rsync (which is run through a crontab) that I can use to stop
 rsync? The server actually wasn't rebooted for about two hours so at one
 point it was "down". Basically we sync the servers once an hour because we
 do high volume graphics editing on very critical time schedules.
 

You can use the --backup-dir option of rsync. It doesnt prevent the total 
move of your files, but it is a lot better to have all files
moved to /backup/2000-11-08 e.g. then to /dev/null.
This saves you even in case of accidential deletion or ILOVEYOU mails.

There are exaples under 
http://rsync.samba.org/rsync/examples.html

   Ciao
   Dietmar
-- 
 Alles Gute / best wishes  
 Dietmar GoldbeckE-Mail: [EMAIL PROTECTED]
Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of Western
Civilization?  Gandhi: I think it would be a good idea.