Author: tchemineau
Date: 2010-09-23 11:40:17 +0200 (Thu, 23 Sep 2010)
New Revision: 133

Modified:
   openldap-mmr/trunk/README
Log:
adding some details on how to use openldap-mmr tools

Modified: openldap-mmr/trunk/README
===================================================================
--- openldap-mmr/trunk/README   2010-09-23 09:00:41 UTC (rev 132)
+++ openldap-mmr/trunk/README   2010-09-23 09:40:17 UTC (rev 133)
@@ -1,19 +1,17 @@
-
 -------------------------------------------------------------------------------
- README
+ README - Openldap MMR Tools
+ Author(s): Thomas Chemineau - [email protected]
 -------------------------------------------------------------------------------
 
 
-
 1. Configure MMR Tools
 
   Edit the configuration file (openldap-mmr.conf), to fit your installation.
   Then, take care of a few needs, such as the following:
   - Create all missing directories on the system;
-  - Allow directories should be own by appropriate user/group
+  - Allowed directories should be own by appropriate user/group.
 
 
-
 2. Initialize the first provider
 
   Then, choose a server. It will be used as the first provider. Type the
@@ -21,8 +19,17 @@
 
     ./mmr-initprov
 
+  It will ask you:
+  - The local IP to use for this first provider;
+  - The new password for the cn=config backend.
 
+  Once you have answer to all questions, it will:
+  - Create a boostrap file for your provider installation;
+  - Replace all variables into this bootstrap file;
+  - Create the slapd.d directory, which will store files for cn=config;
+  - Fixe rights on few directories (databases, etc.).
 
+
 3. Initialize other provider(s)
 
   On a provider (not the first one), type the following command, and follow
@@ -30,8 +37,23 @@
 
     ./mmr-addnode
 
+  It will ask you:
+  - The local IP to use for this new node;
+  - The remote IP to use to connect to the first provider;
+  - The password for the cn=config backend;
+  - The serverID for this node (automatically calculated from the provider).
 
+  Once you have answer to all questions, it will:
+  - Create a simple boostrap file for your node installation;
+  - Replace all variables into this bootstrap file;
+  - Create the slapd.d directory, which will store files for cn=config;
+  - Fixe rights on few directories (databases, etc.).
 
+  When you will run your Openldap server, replication should work and all
+  configuration should be synchronized. I recommand you to stop your Openldap
+  server one time, and restarting it, to make databases replications work. 
+
+
 4. Adapt Openldap settings
 
   Once all of the above command was successfully executed, adapt settings
@@ -44,6 +66,8 @@
     #SLAPD_CONF="$SLAPD_PATH/etc/openldap/slapd.conf"
     SLAPD_CONF_DIR="$SLAPD_PATH/etc/openldap/slapd.d"
 
+  You should also fix IP into each server configuration, in /etc/default/slapd
+  too (simple and SSL).
 
 
 5. Run Openldap servers

_______________________________________________
ltb-changes mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-changes

Reply via email to