directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r925512 - in /websites/staging/directory/trunk/content: ./ apacheds/advanced-ug/5.4-replication.html
Date Sun, 12 Oct 2014 18:22:32 GMT
Author: buildbot
Date: Sun Oct 12 18:22:32 2014
New Revision: 925512

Log:
Staging update by buildbot for directory

Modified:
    websites/staging/directory/trunk/content/   (props changed)
    websites/staging/directory/trunk/content/apacheds/advanced-ug/5.4-replication.html

Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Oct 12 18:22:32 2014
@@ -1 +1 @@
-1631087
+1631235

Modified: websites/staging/directory/trunk/content/apacheds/advanced-ug/5.4-replication.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/advanced-ug/5.4-replication.html (original)
+++ websites/staging/directory/trunk/content/apacheds/advanced-ug/5.4-replication.html Sun
Oct 12 18:22:32 2014
@@ -157,7 +157,46 @@
 
 <h1 id="54-replication">5.4 - Replication</h1>
 <h2 id="541-replication-overview">5.4.1 Replication overview</h2>
-<p>TODO...</p>
+<p>ApacheDS supports both Master-Slave and Multi-Master replication based on the <a
href="http://tools.ietf.org/html/rfc4533">syncrepl</a> specification.</p>
+<h2 id="initial-steps">Initial steps</h2>
+<p>The below initial conditions must be met before configuring the replication in any
mode.</p>
+<ul>
+<li>
+<p>Make sure all the servers are up and running</p>
+</li>
+<li>
+<p>Add the configuration of the partition whose data needs to be replicated.
+  For example if we like to replicate the partition dc=apache,dc=org then
+  make sure to configure this partition in all the servers that are configured to replicate.
+  See <a href="../basic-ug/1.4.3-adding-partition.mdtext">Adding Partition</a></p>
+</li>
+</ul>
+<h2 id="configuring-master-slave-replication">Configuring Master-Slave replication</h2>
+<p>Assuming that the master is running on localhost at port 10389 and slave on localhost
at port 11997 and we want to
+replicate the data from partition dc=apache,dc=org</p>
+<p>The below configuration must be added in the slave server and restart slave.</p>
+<div class="codehilite"><pre><span class="n">dn</span><span class="o">:</span>
<span class="n">ads</span><span class="o">-</span><span class="n">replConsumerId</span><span
class="o">=</span><span class="n">consumer1</span><span class="o">,</span><span
class="n">ou</span><span class="o">=</span><span class="n">replConsumers</span><span
class="o">,</span><span class="n">ads</span><span class="o">-</span><span
class="n">serverId</span><span class="o">=</span><span class="n">ldapServer</span><span
class="o">,</span><span class="n">ou</span><span class="o">=</span><span
class="n">servers</span><span class="o">,</span><span class="n">ads</span><span
class="o">-</span><span class="n">directoryServiceId</span><span class="o">=</span><span
class="k">default</span><span class="o">,</span><span class="n">ou</span><span
class="o">=</span><span class="n">config</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replconsumerid</span><span
class="o">:</span> <span class="n">consumer1</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replstrictcertvalidation</span><span
class="o">:</span> <span class="n">FALSE</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replusetls</span><span
class="o">:</span> <span class="n">FALSE</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replsearchtimeout</span><span
class="o">:</span> <span class="mi">0</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replsearchfilter</span><span
class="o">:</span> <span class="o">(</span><span class="n">objectClass</span><span
class="o">=*)</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replsearchsizelimit</span><span
class="o">:</span> <span class="mi">0</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replattributes</span><span
class="o">:</span> <span class="o">*</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replrefreshinterval</span><span
class="o">:</span> <span class="mi">60000</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">repluserpassword</span><span
class="o">:</span> <span class="n">secret</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">repluserdn</span><span
class="o">:</span> <span class="n">uid</span><span class="o">=</span><span
class="n">admin</span><span class="o">,</span><span class="n">ou</span><span
class="o">=</span><span class="n">system</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replprovport</span><span
class="o">:</span> <span class="mi">10389</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replprovhostname</span><span
class="o">:</span> <span class="n">localhost</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replrefreshnpersist</span><span
class="o">:</span> <span class="n">TRUE</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replsearchscope</span><span
class="o">:</span> <span class="n">sub</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">searchbasedn</span><span
class="o">:</span> <span class="n">dc</span><span class="o">=</span><span
class="n">example</span><span class="o">,</span><span class="n">dc</span><span
class="o">=</span><span class="n">com</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">enabled</span><span
class="o">:</span> <span class="n">TRUE</span>
+<span class="n">objectclass</span><span class="o">:</span> <span
class="n">ads</span><span class="o">-</span><span class="n">replConsumer</span>
+<span class="n">objectclass</span><span class="o">:</span> <span
class="n">ads</span><span class="o">-</span><span class="n">base</span>
+<span class="n">objectclass</span><span class="o">:</span> <span
class="n">top</span>
+<span class="n">ads</span><span class="o">-</span><span class="n">replaliasderefmode</span><span
class="o">:</span> <span class="n">never</span>
+</pre></div>
 
 
     <div class="nav">



Mime
View raw message