<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Marc,<br>
<br>
Not to my knowledge, csync2 cannot do push and pull at the same time,
it does only push.<br>
But will flag all the latest updates files as per defined on the
Confict Auto-resolving section.<br>
<br>
May be use a crontab at a different time. But still you will get plenty
of "Message marked dirty here: "<br>
<br>
Let me know if you have a solution to this or lets wait for Cliff's
answer.<br>
<br>
Regards,<br>
Prashant<br>
<br>
<br>
Marc G. Fournier wrote:
<blockquote cite="mid:20090126081931.W96506@hub.org" type="cite"><br>
Let's try that again ... I think I botched my explanation :)
<br>
<br>
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 ...
<br>
<br>
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 ...
<br>
<br>
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?
<br>
<br>
<br>
<br>
On Mon, 26 Jan 2009, Prashant Ramhit wrote:
<br>
<br>
<blockquote type="cite">Hi Marc,
<br>
<br>
What I understood is that Csync2 is only unidirectional sync.
<br>
Either using the actions section, and do-local.
<br>
But you need to test if the actions happens after complete sync from
server1.
<br>
One think ii do not understand is if server 1 is synchronizing server
2, so server 2 is in sync with 1.
<br>
So why sync server2 with 1 again??
<br>
<br>
But plan before, as there may be serious synchronization issues.
<br>
<br>
<br>
Regards,
<br>
Prashant
<br>
<br>
<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:csync2-request@linbit.com">csync2-request@linbit.com</a> wrote:
<br>
<blockquote type="cite">Send Csync2 mailing list submissions to
<br>
<a class="moz-txt-link-abbreviated" href="mailto:csync2@lists.linbit.com">csync2@lists.linbit.com</a>
<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit
<br>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/csync2">http://lists.linbit.com/mailman/listinfo/csync2</a>
<br>
or, via email, send a message with subject or body 'help' to
<br>
<a class="moz-txt-link-abbreviated" href="mailto:csync2-request@lists.linbit.com">csync2-request@lists.linbit.com</a>
<br>
<br>
You can reach the person managing the list at
<br>
<a class="moz-txt-link-abbreviated" href="mailto:csync2-owner@lists.linbit.com">csync2-owner@lists.linbit.com</a>
<br>
<br>
When replying, please edit your Subject line so it is more specific
<br>
than "Re: Contents of Csync2 digest..."
<br>
<br>
<br>
Today's Topics:
<br>
<br>
1. bi-direction ... from one side? (Marc G. Fournier)
<br>
<br>
<br>
----------------------------------------------------------------------
<br>
<br>
Message: 1
<br>
Date: Mon, 26 Jan 2009 01:39:15 -0400 (AST)
<br>
From: "Marc G. Fournier" <a class="moz-txt-link-rfc2396E" href="mailto:scrappy@hub.org"><scrappy@hub.org></a>
<br>
Subject: [Csync2] bi-direction ... from one side?
<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:Csync2@lists.linbit.com">Csync2@lists.linbit.com</a>
<br>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:20090126011638.X96506@hub.org"><20090126011638.X96506@hub.org></a>
<br>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
<br>
<br>
<br>
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?
<br>
<br>
Or, do I have to run a job on server 1 and one on server 2?
<br>
<br>
IIf the latter, is there an issue with running both sides
simultaenously?
<br>
<br>
----
<br>
Marc G. Fournier Hub.Org Networking Services
(<a class="moz-txt-link-freetext" href="http://www.hub.org">http://www.hub.org</a>)
<br>
Email . <a class="moz-txt-link-abbreviated" href="mailto:scrappy@hub.org">scrappy@hub.org</a> MSN .
<a class="moz-txt-link-abbreviated" href="mailto:scrappy@hub.org">scrappy@hub.org</a>
<br>
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
<br>
<br>
<br>
------------------------------
<br>
<br>
_______________________________________________
<br>
Csync2 mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Csync2@lists.linbit.com">Csync2@lists.linbit.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/csync2">http://lists.linbit.com/mailman/listinfo/csync2</a>
<br>
<br>
<br>
End of Csync2 Digest, Vol 40, Issue 8
<br>
*************************************
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.bluebarracuda.com"><http://www.bluebarracuda.com></a>
<br>
<br>
<br>
</blockquote>
<br>
----
<br>
Marc G. Fournier Hub.Org Networking Services
(<a class="moz-txt-link-freetext" href="http://www.hub.org">http://www.hub.org</a>)
<br>
Email . <a class="moz-txt-link-abbreviated" href="mailto:scrappy@hub.org">scrappy@hub.org</a> MSN .
<a class="moz-txt-link-abbreviated" href="mailto:scrappy@hub.org">scrappy@hub.org</a>
<br>
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
<br>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<title>Blue Barracuda</title>
<table border="0" cellpadding="0" cellspacing="0" width="589">
<tbody>
<tr>
<td
style="font-family: Arial,sans-serif; font-size: 11px; line-height: 14px; color: rgb(4, 119, 170);"
valign="bottom" width="470"> <strong>Prashant Ramhit</strong><br>
<em>Technical</em>
<div style="height: 3px; line-height: 3px; font-size: 3px;"> </div>
</td>
<td valign="bottom"><img
src="cid:part1.09090002.08070307@bluebarracuda.com"
alt="Blue Barracuda" height="34" width="119"></td>
</tr>
<tr>
<td colspan="2" valign="top"><img
src="cid:part2.04000004.04030901@bluebarracuda.com" alt="" height="23"
width="589"></td>
</tr>
<tr>
<td colspan="2"
style="font-family: Arial,sans-serif; font-size: 11px; line-height: 14px; color: rgb(4, 119, 170);"
valign="top"> <a
style="font-family: Arial,sans-serif; font-size: 11px; line-height: 14px; color: rgb(4, 119, 170); text-decoration: none; font-weight: bold;"
href="mailto:prashant@bluebarracuda.com">prashant@bluebarracuda.com</a><br>
d: +44 (0)20 7923 6870<br>
t: +44 (0)20 7923 6840<br>
<a target="_blank" href="http://www.bluebarracuda.com"
style="font-family: Arial,sans-serif; font-size: 11px; line-height: 14px; color: rgb(4, 119, 170); text-decoration: none;">www.bluebarracuda.com</a>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>