Sync-up the directories in realtime or near-realtime

Posted on 2007-03-22
Medium Priority
Last Modified: 2008-02-01
We need to sync-up the directories in realtime or near-realtime.
The change at one server's directory should be updated in identical directory of other two servers almost immediately, though not simultaneously. The servers are in the same network.
The OS in all are Redhat.
Is there a way to do this in rsync? If not rsync, is there any other process to achieve this.
We are not going for any third party product.
Question by:ksgans
LVL 48

Expert Comment

ID: 18775319
rsync would work fine, but you could also look at using NFS if you want "realtime" updates.
LVL 19

Accepted Solution

Gabriel Orozco earned 1500 total points
ID: 18786322
there are several filesystems supporting clustering

for one, there is gfs: http://www.redhat.com/software/rha/gfs/
ocfs is from oracle: http://oss.oracle.com/projects/ocfs/

intermediate solutions (maybe better)

for quick and simple ways to do it you need rsync as exposed. here a project that does that:

Author Comment

ID: 18794738
Thanks ......

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Fine Tune your automatic Updates for Ubuntu / Debian
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy. ┬áThis article also serves as your NTP server documentation.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question