Help - Search - Members - Calendar
Full Version: Data Sync Solutions for Load Balanced Pair
The Planet Forums > System Administration > Load Balancing
blazemedia
Hi there, we currently have a load balanced pair setup through EV1, and everything is running very smooth so far.. before we proceed with adding our old domains to the new pair, we're trying to figure out a way to instantaneously sync data from a few specified folders like the /www root, (which is many gigs) and of course some /etc/ subdirs here and there..

i just want to make sure that whenever files or folders are modified in the directories I specify, that it will sync the data, with the 2nd computer in our load balanced pair..

I don't want to use rsync because of load issues.. i've been reading about csync2 and DRBD.. but i don't know exactly if its the solution we need.. i'm curious to hear other people's experiences with syncing large amounts of data on a private network, as fast and efficient as possible.. thanks for your time..
eth00
DRDB or unison seem to be the 2 popular choices. Rsync is nice as well but it has limits and it is not real time. With DRDB you also need seperate partitions which may cause problems.
blazemedia
wow thanks for the info about Unison.. Unison is a two-way syncing system that runs on pretty much every OS.. it took me a while to find their webpage.. in case anyone is looking for this Unison two-way syncing software, it can be found at:

http://www.cis.upenn.edu/~bcpierce/unison/

here's a quick intro to what it actually does in comparison to one-way syncers like rsync..

Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.

Unison shares a number of features with tools such as configuration management packages (CVS, PRCS, Subversion, BitKeeper, etc.), distributed filesystems (Coda, etc.), uni-directional mirroring utilities (rsync, etc.), and other synchronizers (Intellisync, Reconcile, etc). However, there are several points where it differs:
Victor_n3v
Unisone will not do "instantaneously sync", it is basically rsync which runs both ways.

gl
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.