Solved

Sync-up the directories in realtime or near-realtime

Posted on 2007-03-22
3
741 Views
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.
0
Comment
Question by:ksgans
3 Comments
 
LVL 48

Expert Comment

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

Accepted Solution

by:
Gabriel Orozco earned 500 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/
http://freshmeat.net/projects/pvfs/

intermediate solutions (maybe better)
http://freshmeat.net/projects/caltech-pcp/


for quick and simple ways to do it you need rsync as exposed. here a project that does that:
http://freshmeat.net/projects/pfars/
0
 

Author Comment

by:ksgans
ID: 18794738
Thanks ......
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now