Re: Realtime Replication of a Single File



On Thu, 2005-12-08 at 11:55, Matt Roth wrote:
> List users,
>
> Please provide me with tips on how to replicate a single file to a
> separate machine as changes are made to it. I would prefer a method
> that reacts to file modifications (ie. FAM/gamin) as opposed to timed
> loops/polling (cron + rsync). I'd also like to avoid NFS altogether.
>
> Keeping resource consumption low on the source machine is a priority. A
> bit of research has lead me to believe that calling rsync when gamin is
> alerted to a file modification would be a good fit for my scenario, but
> I'm unclear on the easiest implementation.
>
> 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.

Can you get Asterisk to log things via syslog? If you can then you can
use syslog to send that information to a remote server. Then you run
your reports on the log on the remote system.


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Queries - Back Ends and Replication
    ... replicating the Forms and Reports. ... The backend should contain tables ONLY. ... It is not necessary to replicate in order to manage the user ... they reattatch to the database, ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Strange behavior of replicaset
    ... In other words I need to split the database? ... > You create what's called a front end application and replicate the back ... > The front end is a standard .mdb which holds queries, forms, reports, ...
    (microsoft.public.access.replication)
  • Re: Strange behavior of replicaset
    ... You create what's called a front end application and replicate the back end. ... The front end is a standard .mdb which holds queries, forms, reports, pages ... > Exit Sub ...
    (microsoft.public.access.replication)
  • Realtime Replication of a Single File
    ... Please provide me with tips on how to replicate a single file to a separate machine as changes are made to it. ... I have a machine that runs Asterisk VoIP PBX software. ... Another machine handles the generation of these reports, which involves significant number crunching and file I/O. ...
    (Fedora)
  • Inode cache tuning
    ... I have a number of servers replicating data with rsync. ... a lot of IO and I'm sure I can tune the system to perform better. ... while kstat -n inode_cache reports: ...
    (comp.unix.solaris)