Re: keeping updating rsync

2000-12-19 Thread tim . conway

I wouldn't recommend that, unless you are maintaining a VERY small directory tree, 
across a fast pipe.  It takes a while to determine what, if anything, needs to be sent 
by rsync.  You'll end up with either a continuous reinvocation of rsync, if you wait 
for one to finish before starting the next, or, if you invoke them asynchronously, 
you'll end up in the far worse situation of having them cascading, stacking up on each 
other, independently determining changes to be made, sending redundant changes, 
slowing down finishing while new ones come along every 5 seconds (or whatever fixed 
interval).

Have you considered writing a content promotion tool?  instead of putting things into 
the tree with cp or mv, you invoke this tool, which does the actual file move(s) and 
invokes discrete rsyncs for each file.  It'd fire off a recursive rsyncs for 
directories, and non-recursive for files.  if you're having changes made in place, 
you'd have to determine a policy whereby users (or processes) are responsible for 
kicking off their own rsyncs to propogate changes, or are required to use tools which 
do 
so.  you might still want to run a full recursive rsync of the directory tree at 
regular intervals, to preen the filesystem.

Tim Conway
[EMAIL PROTECTED]
303.682.4900
Philips Semiconductor - Colorado TC
1880 Industrial Circle
Suite D
Longmont, CO 80501

-- Forwarded by Tim Conway/LMT/SC/PHILIPS on 12/18/2000 06:39 PM 
---


[EMAIL PROTECTED]@[EMAIL PROTECTED] on 12/17/2000 06:30:20 PM
Sent by:[EMAIL PROTECTED]
To: [EMAIL PROTECTED]@SMTP
cc: [EMAIL PROTECTED]@SMTP 
Subject:Re: keeping updating rsync
Classification: 


If you run it fairly often, it won't have much data to move.  It's not
going to be synchronous for all practical purposes, but you could
conceivably run in over and over with a 5 second delay, and it'd be pretty
close to synchronous.

What are you trying to do?

--
Sean BerryRentals.com IT
(650) 622 2641 work[EMAIL PROTECTED]
(650) 281 6610 mobileMy opinions are not necessarily
(650) 326 6420 home those of my employer.

On Sun, 17 Dec 2000, Paco MartXnez wrote:

 Is there anyway to keep update files from a host A to host B inmediatly???

 How can I configure rsync to update speedly, like -RAID-??

 Is it necessary to configure daemon??














keeping updating rsync

2000-12-17 Thread Paco Martínez

Is there anyway to keep update files from a host A to host B inmediatly???

How can I configure rsync to update speedly, like -RAID-??

Is it necessary to configure daemon??