[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#677415: ITP: clustersync -- Tool for replicating and syncing config files



2012/6/14 Michael Prokop <mika@debian.org>:
> * Arturo Borrero Gonzalez [Mit Jun 13, 2012 at 10:27:13 +0200]:
>
>> * Package name    : clustersync
>>   Version         : 0.4
>>   Upstream Author : Arturo Borrero Gonzalez <cer.inet@linuxmail.org>
>> * URL             : https://github.com/aborero/clustersync
>> * License         : GPL
>>   Programming Lang: Bash
>>   Description     : Tool for replicating and syncing config files
>
>>  This is a tool based on Rsync that helps syncing and replicating
>>  config files and other data between nodes of a cluster, where you
>>  expect to have the same configuration in several machines.
>
> Is this operating in one-way file synchronization (AKA mirroring)
> mode? Does it provide any actual benefit over existing tools in
> Debian like csync2 and rdist?
>
> regards,
> -mika-
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAk/Z1qcACgkQ2N9T+zficujr1ACdGN8IbpUEluynhdfJJXI9tcnZ
> AXkAn3DUcmFP2I+koHTY0uL+/TaWht00
> =Ei/q
> -----END PGP SIGNATURE-----
>

Hi there,

By now, clustersync is not able to perform mirroring. I think you mean
that the daemon is running just in one node but syncing files in all
cluster.
As this is based on Rsync and Rsync offers pull/push options,
implement mirroring it's easy. The code is simple as hell:

##
NODE_LIST="node1 node2"
for node in $NODE_LIST
  rsync command
done
##

(of course, with validations, debug messages, more options, etc..)

About csync2 and rdist. Well, I've take a look at csync2 but seems
very complex for me. I needed a simpler tool, as the task is really
silly.
I haven't tested rdist at all, just readed man pages, readmes, and
some examples.

So, Why i'm ITPing this package? I thinks its extremelly powerfull,
quite simple for maintenance or ever expansion of functionalities.
It's written in shell (bash), which gives ease to understand to
newbies. It's based on Rsync, and this fact gives clustersync all the
power rsync has.
Clustersync is super fast to configure with only a few directives.

I use clustersync in several on-demand, high-load, big clusters with
good results, so I think other would benefits from the use of this
tool.


Best regards.


-- 
/* Arturo Borrero Gonzalez || cer.inet@linuxmail.org */
/* Use debian gnu/linux! Best OS ever! */



Reply to: