Realtime Replication of a Single File

Nix, Robert P. Nix.Robert at mayo.edu
Thu Dec 8 20:12:44 UTC 2005


Another option would be to run a task that does a "tail -f logfile", and pipe that to something to move the additions to the other machine (The best I could think of would be an IP socket connection). 


-- 
Robert P. Nix		Mayo Foundation
RO-OC-1-13 (new loc)	200 First Street SW
507-284-0844		Rochester, MN 55905
-----
"In theory, theory and practice are the same, but
 in practice, theory and practice are different."

-----Original Message-----
From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com] On Behalf Of Scot L. Harris
Sent: Thursday, December 08, 2005 12:41 PM
To: Fedora List
Subject: Re: Realtime Replication of a Single File

On Thu, 2005-12-08 at 11:55, Matt Roth wrote:
> List users,
> 
> My scenario is as follows.  I have a machine that runs Asterisk VoIP PBX 
> software.  Asterisk creates a log file that we generate reports off of.  
> Another machine handles the generation of these reports, which involves 
> significant number crunching and file I/O.  By replicating the file on 
> the reporting machine, I'd like to decouple the resource consumption of 
> reporting from the VoIP server.  Some of the reports are used to monitor 
> activities in realtime, so cronning off rsync on a large time interval 
> is not an option.




More information about the users mailing list