<br>It depends on the way you mentioned your hosts in the configuration file:<br><br>Master-Slave:<br><br><pre>nossl * *;
group web
{
host master;
host (slave1);
host (slave2);
key /etc/csync2/csync2.key;
include /home/sites;
exclude *~ .*;
auto none;
}</pre><br>Master-Master<br><pre>nossl * *;
group web
{
host master1;
host master2;
host master3;
key /etc/csync2/csync2.key;
include /home/sites;
exclude *~ .*;
auto none;
}</pre><br>Note that the host entries for slave servers are enclosed in brackets and masters are not.<br><br>In order to have a two or multi-way sync, you need to configure a master-master setup.<br><br>Regards,<br>Samba<br>
<br>-------------------------------------------------------------------------------------------------------------------------------------------------------------<br><br><br><div class="gmail_quote">On Thu, Nov 10, 2011 at 3:01 PM, Joschi Brauchle <span dir="ltr"><<a href="mailto:joschi.brauchle@tum.de">joschi.brauchle@tum.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello everyone,<br>
<br>
I have a question about csync2 usage:<br>
<br>
I have the following in my csync2.cfg:<br>
---<br>
include /etc/cron.*/;<br>
---<br>
<br>
and 'csync -T' shows on node pollux:<br>
---<br>
R pollux castor /etc/cron.d/dmeventd.rpmsave<br>
---<br>
<br>
but 'csync -xvvv' does not seem to sync the changes on node pollux, 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. I do notice this behaviour quite frequently, mostly with files that are created/deleted on one side.<br>
<br>
But is this really the way this is supposed to work? Shouldn't I be able to sync changes from both hosts in both ways?<br>
<br>
Any help is appreciated!<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Dipl.-Ing. Joschi Brauchle, M.Sc.<br>
<br>
Institute for Communications Engineering (LNT)<br>
Technische Universitaet Muenchen (TUM)<br>
80290 Munich, Germany<br>
<br>
Tel (work): <a href="tel:%2B49%2089%20289-23474" value="+498928923474" target="_blank">+49 89 289-23474</a><br>
Fax (work): <a href="tel:%2B49%2089%20289-23490" value="+498928923490" target="_blank">+49 89 289-23490</a><br>
E-mail: <a href="mailto:joschi.brauchle@tum.de" target="_blank">joschi.brauchle@tum.de</a><br>
Web: <a href="http://www.lnt.ei.tum.de/" target="_blank">http://www.lnt.ei.tum.de/</a><br>
<br>
</font></span><br>_______________________________________________<br>
Csync2 mailing list<br>
<a href="mailto:Csync2@lists.linbit.com">Csync2@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/csync2" target="_blank">http://lists.linbit.com/mailman/listinfo/csync2</a><br>
<br></blockquote></div><br>