monitor a file system?
I am trying to get two servers to copy each others data to the other
server.
I need it to be done real time a not use a cron.
Can rsync running as a daemon monitor the files system to trigger a
transmission?
If so how do I configure it?
I am running Solaris 9
2006/6/27, Stuart Halliday [EMAIL PROTECTED]:
Maybe you need Unison rather than rsync?
http://www.cis.upenn.edu/~bcpierce/unison/
Or if you are using Linux, drdb (http://www.drbd.org/)?
Best
Martin
PS: http://en.wikipedia.org/wiki/Top-posting :-(
--
To unsubscribe or change options:
Tim H wrote...
what about scripts running every 30 seconds on each machine,
thats lighter then rsync just to compare..
eg.
Server1
ls -lR /* ~/files1
scp files1 SERVER2:~
Server2
ls -lR /* ~/files2
(do a diff command here on files1 vs. files2)
(if different,
Subject
Re: Can rsync monitor a file
system
Subject
Re: Can rsync monitor a file
system?
what about scripts running every 30 seconds on each machine,
thats lighter then rsync just to compare..
eg.
Server1
ls -lR /* ~/files1
scp
[EMAIL PROTECTED] wrote...
How would you set a cron to run every 30 seconds? Otherwise it could work
for me.
With a start every 30 seconds you're in the high risk an an overrun.
Don't do cron, use a simple shell script with while true; and
sleep 30.
But believe me, this is a bad idea.
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote...
How would you set a cron to run every 30 seconds?
Otherwise it could work
for me.
With a start every 30 seconds you're in the high
risk an an overrun.
Possibly saved by max connections =1 or such.
Don't do cron, use a simple shell script
.
rm -f isrunning.txt
fi
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; rsync@lists.samba.org
Sent: Tuesday, June 27, 2006 12:41 PM
Subject: RE: Re: Can rsync monitor a file system?
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote...
How would you set
I am trying to get two servers to copy each others data to the other
server.
I need it to be done real time a not use a cron.
Can rsync running as a daemon monitor the files system to trigger a
transmission?
If so how do I configure it?
I am running Solaris 9.
Thank you.
: Monday, June 26, 2006 2:47 PM
To: rsync@lists.samba.org
Subject: Can rsync monitor a file system?
I am trying to get two servers to copy each others data to the other
server.
I need it to be done real time a not use a cron.
Can rsync running as a daemon monitor the files system to trigger
)
- Original Message -
From: Tony Abernethy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; rsync@lists.samba.org
Sent: Monday, June 26, 2006 1:16 PM
Subject: RE: Can rsync monitor a file system?
To monitor the file system, you have to have something down inside
the file system. Unless you know what you
11 matches
Mail list logo