From 341443ebc935ef18647ba9ee78d7992eb5231b36 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Tue, 17 Jul 2012 13:06:39 +0000
Subject: [PATCH] Fix for OPENDJ-533: Config examples should use instances on 2 different hosts, instead of the 2 instances on the same host

---
 opendj3/src/main/docbkx/shared/man-dsreplication.xml |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/opendj3/src/main/docbkx/shared/man-dsreplication.xml b/opendj3/src/main/docbkx/shared/man-dsreplication.xml
index 0d93876..baa06fe 100644
--- a/opendj3/src/main/docbkx/shared/man-dsreplication.xml
+++ b/opendj3/src/main/docbkx/shared/man-dsreplication.xml
@@ -352,34 +352,34 @@
  <refsect1>
   <title>Examples</title>
   <para>The following example enables and then initializes replication
-  for a new replica whose admin port is 5444 from an existing replica
-  whose admin port is 4444.</para>
+  for a new replica on <literal>opendj2.example.com</literal> from an existing
+  replica on <literal>opendj.example.com</literal>.</para>
   
   <screen>$ dsreplication enable -I admin -w password -X -n -b dc=example,dc=com
  --host1 opendj.example.com --port1 4444 --bindDN1 "cn=Directory Manager"
  --bindPassword1 password --replicationPort1 8989
- --host2 opendj.example.com --port2 5444 --bindDN2 "cn=Directory Manager"
- --bindPassword2 password --replicationPort2 9989
+ --host2 opendj2.example.com --port2 4444 --bindDN2 "cn=Directory Manager"
+ --bindPassword2 password --replicationPort2 8989
 
 Establishing connections ..... Done.
 Checking registration information ..... Done.
 Updating remote references on server opendj.example.com:4444 ..... Done.
-Configuring Replication port on server opendj.example.com:5444 ..... Done.
+Configuring Replication port on server opendj2.example.com:4444 ..... Done.
 Updating replication configuration for baseDN dc=example,dc=com on server
  opendj.example.com:4444 ..... Done.
 Updating replication configuration for baseDN dc=example,dc=com on server
- opendj.example.com:5444 ..... Done.
+ opendj2.example.com:4444 ..... Done.
 Updating registration configuration on server
  opendj.example.com:4444 ..... Done.
 Updating registration configuration on server
- opendj.example.com:5444 ..... Done.
+ opendj2.example.com:4444 ..... Done.
 Updating replication configuration for baseDN cn=schema on server
  opendj.example.com:4444 ..... Done.
 Updating replication configuration for baseDN cn=schema on server
- opendj.example.com:5444 ..... Done.
-Initializing registration information on server opendj.example.com:5444 with
+ opendj2.example.com:4444 ..... Done.
+Initializing registration information on server opendj2.example.com:4444 with
  the contents of server opendj.example.com:4444 ..... Done.
-Initializing schema on server opendj.example.com:5444 with the contents of
+Initializing schema on server opendj2.example.com:4444 with the contents of
  server opendj.example.com:4444 ..... Done.
 
 Replication has been successfully enabled.  Note that for replication to

--
Gitblit v1.10.0