[Csync2] Question about Csync2 usage

Joschi Brauchle joschi.brauchle at tum.de
Thu Nov 10 16:04:41 CET 2011


Alright, thanks! I have no problem with the "push-only" design, I was 
just not sure if this was the case or not.

So now that I know, I can work around/with it.



On 11/10/2011 04:01 PM, Lars Ellenberg wrote:
> On Thu, Nov 10, 2011 at 12:01:58PM +0100, Joschi Brauchle wrote:
>> Hello,
>>
>> well, yes, I do have a master-master setup. I did not post my full
>> config file here because it contains a lot of include lines, but in
>> essence it is very simple:
>> ------
>> group ha_group
>> {
>>          host pollux;
>>          host castor;
>> 	
>> 	key ......;
>>
>> 	include ....;
>> 	...
>> }
>> ------
>>
>> I do have the mentioned behavior quite often actually. It gets
>> annoying, because I am using a logout-script to check that both
>> hosts are in sync. Then, although I use 'csync2 -x', they are not
>> getting synched correctly.
>>
>> The package installed is:
>> ------
>> Information for package csync2:
>>
>> Repository: SLE11-HAE-SP1-Pool
>> Name: csync2
>> Version: 1.34-0.2.39
>> Arch: x86_64
>> Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
>> Support Level: unknown
>> Installed: Yes
>> Status: up-to-date
>> ------
>> So there seem to be no updates...
>
> Well, no packaged-by-suse updates, anyways.
> But I doubt that 2.0 (still not released) will change behaviour here.
>
>> As I said, this happens mostly if files are created/deleted on one
>> host and which have not been synched before (and not explicitly
>> mentioned in the cfg file). I will try to narrow down the problem
>> and report in more detail whenever I get some time to debug the
>> issue.
>
>>>     and 'csync -T' shows on node pollux:
>>>     ---
>>>     R pollux castor /etc/cron.d/dmeventd.rpmsave
>>>     ---
>>>
>>>     but 'csync -xvvv' does not seem to sync the changes on node pollux,
>
> csync2 is push only. Always was.
>
> You need to push changes from the node where they happen to the other(s).
> csync -T may show you that there is some change pending
> on the remote side. But csync2 does not pull.
>
>>>     the mentioned file is not listed in its output anywhere. If I log
>>>     into castor and do a 'csync2 -x' there, thing get back in sync.
>
> That is a consequence of the push-only design.
>
>

-- 
Dipl.-Ing. Joschi Brauchle, M.Sc.

Institute for Communications Engineering (LNT)
Technische Universitaet Muenchen (TUM)
80290 Munich, Germany

Tel (work): +49 89 289-23474
Fax (work): +49 89 289-23490
E-mail: joschi.brauchle at tum.de
Web: http://www.lnt.ei.tum.de/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5996 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20111110/fffdf8ad/attachment-0001.bin>


More information about the Csync2 mailing list