Csync2

is Article description::a tool for asynchronous file synchronization in clusters.

Things to note

 * All nodes (of a group) share a common key, for example . This means it has to be copied to each node.
 * The shared folder paths need to be identical for all nodes (of a group). The configuration file need not be identical.
 * Although the  parameter requires the actual hostname (or ip ) to be used, it seems to work according to the  file.
 * The following command shows what sees as hostname:

OpenRC
To enable the service to run at system boot:

To start the daemon now:

Sample parameters
-x [-d] [[-r] file..]  Run checks for all given files and update                                remote hosts.        -d      Dry-run on all remote update operations        -P peer1,peer1,...                Only update these peers (still mark all as dirty).                Only show files for these peers in -o (compare) mode.        -f [-r] file..          Force files to win next conflict resolution.        -r      Recursive operation over subdirectories.        -M      List all dirty files from status db.

Invocation

 * Update all with this one:
 * See failed changes:
 * Dry-run an update towards hostname3 :
 * Increased verbosity:
 * Force local files onto others:
 * Increased verbosity:
 * Force local files onto others:
 * Force local files onto others:
 * Force local files onto others:

Debug receiver
To see the messages of the receiver, after stopping any daemon, for a single execution:

remote host remote_host did not accept my identification
If working on both sides of an  and getting this error from the inner side:

It might be because of this command on the router (that translates inner node addresses to the router's, when exiting):

A solution to which, is to prepend the following, in order to exclude the  port:

response from peer(/path/to/file): remote_host [15] <- Permission denied!
Verify that the file mentioned is included in the remote host's.

External resources

 * Quickstart guide
 * Documentation.