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

---
 opends/resource/man/man1/dsreplication.1 |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/opends/resource/man/man1/dsreplication.1 b/opends/resource/man/man1/dsreplication.1
index 931830b..d2e44e7 100644
--- a/opends/resource/man/man1/dsreplication.1
+++ b/opends/resource/man/man1/dsreplication.1
@@ -2,12 +2,12 @@
 .\"     Title: dsreplication
 .\"    Author: 
 .\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\"      Date: 03/21/2012
+.\"      Date: 07/17/2012
 .\"    Manual: Tools Reference
 .\"    Source: OpenDJ 2.5.0
 .\"  Language: English
 .\"
-.TH "DSREPLICATION" "1" "03/21/2012" "OpenDJ 2\&.5\&.0" "Tools Reference"
+.TH "DSREPLICATION" "1" "07/17/2012" "OpenDJ 2\&.5\&.0" "Tools Reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -250,7 +250,10 @@
 .RE
 .SH "EXAMPLES"
 .PP
-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\&.
+The following example enables and then initializes replication for a new replica on
+opendj2\&.example\&.com
+from an existing replica on
+opendj\&.example\&.com\&.
 .sp
 .if n \{\
 .RS 4
@@ -259,28 +262,28 @@
 $ 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