<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
 <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
 </head>
 <body>
  <p style="margin: 0;">
   <span>Hello,</span>
  </p>
  <p style="margin: 0;">
   <span>&#160;</span>
  </p>
  <p style="margin: 0;">
   <span>I&#39;ve got two webservers which I share load between. The servers holds the excact same content, and</span>
  </p>
  <p style="margin: 0;">
   <span>are &#34;equals&#34; meaning that all creates, updates and deletes on one servers should be replicated to</span>
  </p>
  <p style="margin: 0;">
   <span>the other server.</span>
  </p>
  <p style="margin: 0;">
   <span>&#160;</span>
  </p>
  <p style="margin: 0;">
   <span>I&#39;ve been doing my best to get things up and running right, but I&#39;d like to hear if my configuration</span>
  </p>
  <p style="margin: 0;">
   <span>files indeed look alright. Here is what I&#39;ve got</span>
  </p>
  <p style="margin: 0;">
   <span>&#160;</span>
  </p>
  <p style="margin: 0;">
   <span>Server 1 (web03)</span>
  </p>
  <p style="margin: 0;">
   <span>&#160;</span>
  </p>
  <p>
   nossl * *;
   <br/>
   group web03
   <br/>
   {
   <br/>
   &#160;host web03;
   <br/>
   &#160;host (web05);
   <br/>
   &#160;key /usr/share/csync2/csync2.key;
   <br/>
   &#160;include /home;
   <br/>
   &#160;exclude *~ .*;
   <br/>
   &#160;exclude /home/*/www/logs*;
   <br/>
   &#160;auto younger;
   <br/>
   }
  </p>
  <p>&#160;</p>
  <p>Server 2 (web05)</p>
  <p>&#160;</p>
  <p>
   nossl * *;
   <br/>
   group web05
   <br/>
   {
   <br/>
   &#160;host web05;
   <br/>
   &#160;host (web03);
   <br/>
   &#160;key /usr/share/csync2/csync2.key;
   <br/>
   &#160;include /home;
   <br/>
   &#160;exclude *~ .*;
   <br/>
   &#160;exclude /home/*/www/logs*;
   <br/>
   &#160;auto younger;
   <br/>
   }
  </p>
  <p>&#160;</p>
  <p>I&#39;ve enabled conflict resolution and set it to use the &#34;younger&#34; algorithm to make sure that the &#34;latest&#34;</p>
  <p>update always wins.&#160;</p>
  <p>&#160;</p>
  <p>Does the setup look alright for the simple case of making sure that the two servers are in sync?</p>
  <p>&#160;</p>
  <p>Rgds,</p>
  <p>Stian Brattland</p>
  <p style="margin: 0;">
   <span>
    <span></span>
   </span>
  </p>
  <p style="margin: 0px; "></p>
 </body>
</html>