<!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> </span>
</p>
<p style="margin: 0;">
<span>I'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 "equals" 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> </span>
</p>
<p style="margin: 0;">
<span>I've been doing my best to get things up and running right, but I'd like to hear if my configuration</span>
</p>
<p style="margin: 0;">
<span>files indeed look alright. Here is what I've got</span>
</p>
<p style="margin: 0;">
<span> </span>
</p>
<p style="margin: 0;">
<span>Server 1 (web03)</span>
</p>
<p style="margin: 0;">
<span> </span>
</p>
<p>
nossl * *;
<br/>
group web03
<br/>
{
<br/>
 host web03;
<br/>
 host (web05);
<br/>
 key /usr/share/csync2/csync2.key;
<br/>
 include /home;
<br/>
 exclude *~ .*;
<br/>
 exclude /home/*/www/logs*;
<br/>
 auto younger;
<br/>
}
</p>
<p> </p>
<p>Server 2 (web05)</p>
<p> </p>
<p>
nossl * *;
<br/>
group web05
<br/>
{
<br/>
 host web05;
<br/>
 host (web03);
<br/>
 key /usr/share/csync2/csync2.key;
<br/>
 include /home;
<br/>
 exclude *~ .*;
<br/>
 exclude /home/*/www/logs*;
<br/>
 auto younger;
<br/>
}
</p>
<p> </p>
<p>I've enabled conflict resolution and set it to use the "younger" algorithm to make sure that the "latest"</p>
<p>update always wins. </p>
<p> </p>
<p>Does the setup look alright for the simple case of making sure that the two servers are in sync?</p>
<p> </p>
<p>Rgds,</p>
<p>Stian Brattland</p>
<p style="margin: 0;">
<span>
<span></span>
</span>
</p>
<p style="margin: 0px; "></p>
</body>
</html>