Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: real time file synchronization utility for Unix

real time file synchronization utility for Unix 8 years 7 months ago #25946

  • ashishag1
  • ashishag1's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hi

I have a application which writes continuously to a log file on local disk space. I want to mirror or copy this log file real time (or near to real time) to some other disk space (say NFS). I used Unison for this purpose, but it fails to mirror or copy the file from local disk to NFS with the error -
Failed to fingerprint file "/var/tmp/MY_LOG_FILE.log": the file keeps on changing

Is there any other product/tool available to cater such requirement on Unix?

Thanks and regards,
Aashish Agrawal
The administrator has disabled public write access.

Re: real time file synchronization utility for Unix 7 years 10 months ago #28935

  • skylimit
  • skylimit's Avatar
  • Offline
  • Distinguished Member
  • Posts: 158
  • Thank you received: 1
  • Karma: 0
I think what you want is DRBD - www.drbd.org/docs/about/
"...you are never too old to learn" anon
The administrator has disabled public write access.

Re: real time file synchronization utility for Unix 7 years 10 months ago #29156

  • jhun
  • jhun's Avatar
  • Offline
  • Senior Member
  • Posts: 356
  • Karma: 0
You can try rsync.

What you could do is create a script that would create a mirror of the file you specified and then create a cron job that would run say 5 seconds in interval (or lesser - to have it more in relatime) and that's it.

Here is a link for your reference
The administrator has disabled public write access.

Re: real time file synchronization utility for Unix 7 years 9 months ago #29185

  • sahirh
  • sahirh's Avatar
  • Offline
  • Honored Member
  • Posts: 1700
  • Karma: 0
If the application has a syslog facility perhaps you can use that to push a realtime update to another system.

Cheers,
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
The administrator has disabled public write access.
Time to create page: 0.080 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup