From fada56a77c157a784dc21c7ae558c4d5d8e5d3f1 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Mon, 28 Nov 2011 09:33:44 +0000
Subject: [PATCH] Partial fix for OPENDJ-368: Purge doc (including screenshots) of non fully qualified host names

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

diff --git a/opendj3/src/main/docbkx/shared/man-dsreplication.xml b/opendj3/src/main/docbkx/shared/man-dsreplication.xml
index e975089..86b4cf8 100644
--- a/opendj3/src/main/docbkx/shared/man-dsreplication.xml
+++ b/opendj3/src/main/docbkx/shared/man-dsreplication.xml
@@ -354,29 +354,31 @@
   whose admin port is 4444.</para>
   
   <screen>$ dsreplication enable -I admin -w password -X -n -b dc=example,dc=com
- --host1 `hostname` --port1 4444 --bindDN1 "cn=Directory Manager"
+ --host1 opendj.example.com --port1 4444 --bindDN1 "cn=Directory Manager"
  --bindPassword1 password --replicationPort1 8989
- --host2 `hostname` --port2 5444 --bindDN2 "cn=Directory Manager"
+ --host2 opendj.example.com --port2 5444 --bindDN2 "cn=Directory Manager"
  --bindPassword2 password --replicationPort2 9989
 
 Establishing connections ..... Done.
 Checking registration information ..... Done.
-Updating remote references on server localhost:4444 ..... Done.
-Configuring Replication port on server localhost:5444 ..... Done.
+Updating remote references on server opendj.example.com:4444 ..... Done.
+Configuring Replication port on server opendj.example.com:5444 ..... Done.
 Updating replication configuration for baseDN dc=example,dc=com on server
- localhost:4444 ..... Done.
+ opendj.example.com:4444 ..... Done.
 Updating replication configuration for baseDN dc=example,dc=com on server
- localhost:5444 ..... Done.
-Updating registration configuration on server localhost:4444 ..... Done.
-Updating registration configuration on server localhost:5444 ..... Done.
+ opendj.example.com:5444 ..... Done.
+Updating registration configuration on server
+ opendj.example.com:4444 ..... Done.
+Updating registration configuration on server
+ opendj.example.com:5444 ..... Done.
 Updating replication configuration for baseDN cn=schema on server
- localhost:4444 ..... Done.
+ opendj.example.com:4444 ..... Done.
 Updating replication configuration for baseDN cn=schema on server
- localhost:5444 ..... Done.
-Initializing registration information on server localhost:5444 with the
- contents of server localhost:4444 ..... Done.
-Initializing schema on server localhost:5444 with the contents of server
- localhost:4444 ..... Done.
+ opendj.example.com:5444 ..... Done.
+Initializing registration information on server opendj.example.com:5444 with
+ the contents of server opendj.example.com:4444 ..... Done.
+Initializing schema on server opendj.example.com:5444 with the contents of
+ server opendj.example.com:4444 ..... Done.
 
 Replication has been successfully enabled.  Note that for replication to
  work you must initialize the contents of the base DN's that are being
@@ -386,10 +388,10 @@
 /var/.../opends-replication-7958637258600693490.log
 for a detailed log of this operation.
 $ dsreplication initialize-all -I admin -w password -X -n -b dc=example,dc=com
- -h `hostname` -p 4444
+ -h opendj.example.com -p 4444
 
-Initializing base DN dc=example,dc=com with the contents from localhost:4444:
-160 entries processed (100 % complete).
+Initializing base DN dc=example,dc=com with the contents from
+ opendj.example.com:4444: 160 entries processed (100 % complete).
 Base DN initialized successfully.
 
 See

--
Gitblit v1.10.0