[Csync2] Csync2 newbie alert

Gary E. Miller gem at rellim.com
Thu Jun 7 19:30:07 CEST 2012


Yo All!

Newbie here.  I have a number of data moving tasks now being handled
by rsync and rsnapshot, but those solutions are not able to scale to
my problems.  Thus I am giving csync2 a shot.

I am runnning version 1.34 with two gentoo patches.  Not sure what the
patches do.  If anything I ask has been previously discussed here,
or elsewhere, then feel free to just point me to that.

Currently I am running a master with geographically dispersed slaves.
The slaves are runnning in daemon mode.  The master is run from a
simple shell script:
	while true; do csync2 -x; sleep 5m; done

I checked the doc, but I can see no description of what the master would
do if I run it in daemon mode.  Does it just look at the hint table?
Does it loop continuously?  Can I buy a clue?

Sometimes the net connection to the remote hiccups, and csync2 seems
to exit with a write error.  Is there a retry mechanism, or do I just
need to keep re-running csync2?

I created the csync databases on master and slave this way:
	csync2 -cIr /

Then jumped in to the above update loop.  I am worried that some of
the files were not in sync before beginning, or may have been corrupted.
Is there a way to have csync2 do a scrubbing?  Like the way an ECC
RAM controller slowly reads all RAM in the background to be sure all
the bits are working.  I could see csync2 randomly testing X number of
files to be sure the master and slave checksums match.

Otherwise I may have to run an rsync every once in a while, but then I
am back to my problems with rsync being a bit flakey over the internet.

A doc typo at the start of the last paragraph of 3.4.5:

    Usually the action is only triggered on the targed hosts,

I assume targed should be targeted.

And anything else a newbie should know about csync2?

TIA.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
	gem at rellim.com  Tel:+1(541)382-8588
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20120607/8cea724e/attachment.pgp>


More information about the Csync2 mailing list