[Csync2] Re: Csync2 Digest, Vol 40, Issue 8

Marc G. Fournier scrappy at hub.org
Mon Jan 26 13:23:12 CET 2009


Let's try that again ... I think I botched my explanation :)

I have two servers setup so that I want to keep their www document roots 
in sync ... if I modify a file on s1 (/usr/local/www/domain1/www/file1), 
it will get sync'd to s2 ... if I modify a file on s2 
(/usr/local/www/domain2/www/file2), it will get sync'd to s1 ...

Right now, from what I can tell, I have to login to s1 and issue 'csync 
-x' to get file 1 sent to s2, and then login to s2 and issue 'csync -x' 
again to have file 2 sent to s1 ...

Is there something I'm missing that will do it all as one command?  s1 
sends file1 to s2 and then "pulls" file2 from s2 -> 1?



On Mon, 26 Jan 2009, Prashant Ramhit wrote:

> Hi Marc,
>
> What I understood is that Csync2 is only unidirectional sync.
> Either using the actions section, and do-local.
> But you need to test if the actions happens after complete sync from server1.
> One think ii do not understand is if server 1 is synchronizing server 2, so 
> server 2 is in sync with 1.
> So why sync server2 with 1 again??
>
> But plan before, as there may be serious synchronization issues.
>
>
> Regards,
> Prashant
>
>
>
>
> csync2-request at linbit.com wrote:
>> Send Csync2 mailing list submissions to
>> 	csync2 at lists.linbit.com
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.linbit.com/mailman/listinfo/csync2
>> or, via email, send a message with subject or body 'help' to
>> 	csync2-request at lists.linbit.com
>> 
>> You can reach the person managing the list at
>> 	csync2-owner at lists.linbit.com
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Csync2 digest..."
>> 
>> 
>> Today's Topics:
>>
>>    1. bi-direction ... from one side? (Marc G. Fournier)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Mon, 26 Jan 2009 01:39:15 -0400 (AST)
>> From: "Marc G. Fournier" <scrappy at hub.org>
>> Subject: [Csync2] bi-direction ... from one side?
>> To: Csync2 at lists.linbit.com
>> Message-ID: <20090126011638.X96506 at hub.org>
>> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>> 
>> 
>> I may be missing something, but is there some way I can run csync2 on 
>> 'server 1' such that it will trigger 'server 2' to do a sync back again?
>> 
>> Or, do I have to run a job on server 1 and one on server 2?
>> 
>> IIf the latter, is there an issue with running both sides simultaenously?
>> 
>> ----
>> Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
>> Email . scrappy at hub.org                              MSN . scrappy at hub.org
>> Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
>> 
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> Csync2 mailing list
>> Csync2 at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/csync2
>> 
>> 
>> End of Csync2 Digest, Vol 40, Issue 8
>> *************************************
>>
>> 
>
> 
>
> <http://www.bluebarracuda.com>
>
>

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org                              MSN . scrappy at hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664


More information about the Csync2 mailing list