<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
! CDDL HEADER START
!
! The contents of this file are subject to the terms of the
! Common Development and Distribution License, Version 1.0 only
! (the "License"). You may not use this file except in compliance
! with the License.
!
! You can obtain a copy of the license at
! See the License for the specific language governing permissions
! and limitations under the License.
!
! When distributing Covered Code, include this CDDL HEADER in each
! file and include the License file at
! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
! add the following below this CDDL HEADER, with the fields enclosed
! by brackets "[]" replaced with your own identifying information:
! Portions Copyright [yyyy] [name of copyright owner]
!
! CDDL HEADER END
!
! Copyright 2008 Sun Microsystems, Inc.
! -->
<HTML>
<title>upgrade_revert_replicated_topology</title>
<HEAD>
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="StarOffice 8 (Solaris Sparc)">
<META NAME="CREATED" CONTENT="20080130;17044400">
<META NAME="CHANGED" CONTENT="20080130;20091700">
<!--
@page { size: 8.5in 11in; margin-left: 1.25in; margin-right: 1.25in; margin-top: 1in; margin-bottom: 1in }
-->
</STYLE>
</HEAD>
<BODY LANG="en-US" DIR="LTR">
<P><FONT SIZE=5 STYLE="font-size: 20pt"><U><B>Upgrade-Revert 2-server
replication topology</B></U></FONT></P>
<P><BR><BR>
</P>
<TABLE WIDTH=100% BORDER=1 CELLPADDING=4 CELLSPACING=3 STYLE="page-break-inside: avoid">
<COL WIDTH=256*>
<TR>
<TD WIDTH=100% VALIGN=TOP>
2-server replicated topology</P>
</TD>
</TR>
<TR>
<TD WIDTH=100% VALIGN=TOP>
<P><I><B>Test summary:</B></I> Set up topology using OpenDS
“version-0” zip package; upgrade the servers in the
topology to OpenDS “version-1”; revert the servers in
the topology to original “version-0”.</P>
</TD>
</TR>
<TR>
<TD WIDTH=100% VALIGN=TOP>
<P><I><B>Test steps:</B></I></P>
<OL START=0>
<LI><P><A HREF="#Step-0">Pick up OpenDS zip package, version-0</A></P>
<LI><P><A HREF="#Step-1">Set up 1st server using GUI</A></P>
<LI><P><A HREF="#Step-2">Set up 2nd server using GUI</A></P>
<LI><P><A HREF="#Step-3">Add one entry on each server instance</A></P>
<LI><P><A HREF="#Step-4">Upgrade 1st server to version-1</A></P>
<LI><P><A HREF="#Step-5">Add one entry on each server instance</A></P>
<LI><P><A HREF="#Step-6">Upgrade 2nd server to version-1</A></P>
<LI><P><A HREF="#Step-7">Add entry on each server instance</A></P>
<LI><P><A HREF="#Step-8">Restart server instances</A></P>
<LI><P><A HREF="#Step-9">Delete entry on one server</A></P>
<LI><P><A HREF="#Step-10">Downgrade (revert) 1st server</A></P>
<LI><P><A HREF="#Step-11">Delete entry on server instance</A></P>
<LI><P><A HREF="#Step-12">Downgrade 2nd server</A></P>
<LI><P><A HREF="#Step-13">Delete entry on server instance</A></P>
<LI><P><A HREF="#Step-14">Restart servers</A></P>
<LI><P><A HREF="#Step-15">Delete entry on server instance</A></P>
</OL>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<HR>
<P><BR><BR>
</P>
<P><A NAME="Step-0"></A><BR><B>0. Pick up OpenDS zip package,
version-0</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
start-ds -F</B><BR>OpenDS Directory Server 1.0.0<BR>Build
ID:
20080125094425Z<BR>Major Version:
1<BR>Minor Version:
0<BR>Point Version:
0<BR>Version Qualifier:<BR>Revision Number:
3751<BR>Fix IDs:<BR>Debug Build:
false<BR>Build OS:
SunOS 5.10 sparc<BR>Build User:
ugaston<BR>Build Java Version:
1.6.0<BR>Build Java Vendor:
Sun Microsystems Inc.<BR>Build JVM Version:
1.6.0-b105<BR>Build JVM Vendor:
Sun Microsystems Inc.<BR>Upgrade Event IDs:
1,2,3,4,5<BR></FONT></FONT><BR>
</P>
</TD>
</TR>
</TABLE>
<P><A NAME="Step-1"></A><A NAME="Step-2"></A><A NAME="Step-3"></A><BR><BR><BR><B>1.
Set up 1st server using setup GUI:</B><BR><BR>
<I>Settings</I>:<BR> - ldap: 1389<BR>
- ldaps: 1636<BR> - self-signed certificate<BR>
- startTLS enabled<BR> <BR>
<I>Topology options:</I><BR> - part of replication
topology<BR> - replication port: 1212<BR><BR>
<I>Directory Data:</I><BR> - base DN: o=example<BR>
Set up 2nd server using setup GUI:</B><BR><BR>
<I>Settings</I>:<BR> - ldap: 2389<BR>
- ldaps: 2636<BR> - self-signed certificate<BR>
- startTLS enabled<BR><BR> <I>Topology options:</I><BR>
- part of replication topology<BR> - replication
port: 2323<BR> - already another server in topology
(port: 1389)<BR><BR> Global admin ID: admin<BR>
Global admin pwd: admin<BR><BR> <I>Data
Replication:</I><BR> - create local instance of
existing base DN and configure replication (o=example, 100
entries)<BR><BR><BR><BR><B>3. Add one entry on each server instance:</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 100<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 100</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapmodify -a -p 1389 -D "cn=directory manager"
-w secret12<BR>dn: uid=pmoriarty, ou=People, o=example<BR>cn:
Professor Moriarty<BR>sn: Moriarty<BR>givenname:
Professor<BR>objectclass: top<BR>objectclass: person<BR>objectclass:
organizationalPerson<BR>objectclass: inetOrgPerson<BR>ou:
Accounting<BR>ou: People<BR>l: London<BR>uid:
pmoriarty<BR>userpassword: jajejijoju<BR></B><SPAN STYLE="font-weight: medium"><BR>Processing
ADD request for uid=pmoriarty,ou=People,o=example<BR>ADD operation
successful for DN uid=pmoriarty,ou=People,o=example<BR>$</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 101<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 101</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><SPAN STYLE="font-weight: medium"><BR></SPAN><B>$
/ldapmodify -a -p 2389 -D "cn=directory manager"
-w secret12<BR>dn: uid=dwatson, ou=People, o=example<BR>cn: Doctor
Watson<BR>sn: Watson<BR>givenname: Doctor<BR>objectclass:
top<BR>objectclass: person<BR>objectclass:
organizationalPerson<BR>objectclass: inetOrgPerson<BR>ou:
Accounting<BR>ou: People<BR>l: Baker Street<BR>uid:
dwatson<BR>userpassword: elementary</B><SPAN STYLE="font-weight: medium"><BR><BR>Processing
ADD request for uid=dwatson,ou=People,o=example<BR>ADD operation
successful for DN uid=dwatson,ou=People,o=example<BR>$</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 102<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 102</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><A NAME="Step-4"></A><BR><BR><BR><B>4. Upgrade 1st server to
version-1:</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
upgrade<BR></B><SPAN STYLE="font-weight: medium">Would you like to
upgrade this installation to a newer version or revert to an<BR>older
version?<BR><BR> 1) Upgrade to a newer
version<BR> 2) Revert to a previous
version<BR><BR>Enter choice [1]:<BR>Enter the name and path of the
OpenDS install file (.zip):
</SPAN><B>/usr/project/iplanet/ws/opends.ug/opends/build/package/OpenDS-1.0.0.zip</B><SPAN STYLE="font-weight: medium"><BR>Initializing
Upgrade ..... Done.<BR>Calculating Schema Customizations .....
Done.<BR>Calculating Configuration Customizations .....
Done.<BR>Backing Up Files ..... Done.<BR>Upgrading Components
..... Done.<BR>Preparing Customizations ..... Done.<BR>Applying
Schema Customizations ..... Done.<BR>Applying Configuration
Customizations ..... Done.<BR>Verifying Upgrade .....
Done.<BR>Starting Directory Server ..... Done.<BR>Cleaning Up
..... Done.<BR>Recording Upgrade History ..... Done.<BR>See
installation<BR>history.<BR>OpenDS QuickUpgrade Completed
Successfully. The OpenDS installation
to version OpenDS<BR>Directory Server 1.0.0 (Build ID:
a detailed log of this operation.<BR><BR></SPAN><B><BR>$ tail
28, 2008 4:54:39 PM
deleting directory
clean up complete<BR>Jan 28, 2008 4:54:39 PM
upgrade history<BR>Jan 28, 2008 4:54:39 PM
recorded<BR>Jan 28, 2008 4:54:39 PM
completed successfully</SPAN><B><BR><BR><BR>$ grep ERROR
severity=SEVERE_ERROR msgID=14942294 msg=Replication server caught
exception while listening for client connections Socket
severity=SEVERE_ERROR msgID=-1 msg=Error during the changelog
database trimming or flush process. The Changelog service is going
to shutdown(JE 3.2.70) Can't open a cursor Database state can't be
category=SYNC severity=SEVERE_ERROR msgID=-1 msg=Error closing the
changelog database :(JE 3.2.70) There is 1 open Database in the
Environment.<BR><BR><BR></SPAN><B><BR>$ start-ds -F<BR></B><SPAN STYLE="font-weight: medium">OpenDS
Directory Server 1.0.0<BR>Build ID:
20080128143348Z<BR>Major Version:
1<BR>Minor Version:
0<BR>Point Version:
0<BR>Version Qualifier:<BR>Revision Number:
3777<BR>Fix IDs:<BR>Debug Build:
false<BR>Build OS:
SunOS 5.10 sparc<BR>Build User:
ugaston<BR>Build Java Version:
1.6.0<BR>Build Java Vendor:
Sun Microsystems Inc.<BR>Build JVM Version:
1.6.0-b105<BR>Build JVM Vendor:
Sun Microsystems Inc.<BR>Upgrade Event IDs:
1,2,3,4,5</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 102<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 102</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><A NAME="Step-5"></A><BR><BR><BR><B>5. Add one entry on each
server instance:</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapmodify -a -p 1389 -D "cn=directory manager"
-w secret12<BR>dn: uid=ilestrade, ou=People, o=example<BR>cn:
Inspecteur Lestrade<BR>sn: Lestrade<BR>givenname:
Inspecteur<BR>objectclass: top<BR>objectclass: person<BR>objectclass:
organizationalPerson<BR>objectclass: inetOrgPerson<BR>ou:
Accounting<BR>ou: People<BR>l: Scotland Yard<BR>uid:
ilestrade<BR>userpassword: illcatchyou<BR></B><SPAN STYLE="font-weight: medium"><BR>Processing
ADD request for uid=ilestrade,ou=People,o=example<BR>ADD operation
successful for DN uid=ilestrade,ou=People,o=example<BR>$</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 103<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 103</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapmodify -a -p 2389 -D "cn=directory manager"
-w secret12<BR>dn: uid=acdoyle, ou=People, o=example<BR>cn: Arthur
Connan Doyle<BR>sn: Doyle<BR>givenname: Arthur Connan<BR>objectclass:
top<BR>objectclass: person<BR>objectclass:
organizationalPerson<BR>objectclass: inetOrgPerson<BR>ou:
Accounting<BR>ou: People<BR>l: London<BR>uid:
acdoyle<BR>userpassword: sherlock</B><SPAN STYLE="font-weight: medium"><BR><BR>Processing
ADD request for uid=acdoyle,ou=People,o=example<BR>ADD operation
successful for DN uid=acdoyle,ou=People,o=example<BR>$</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 104<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 104</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><A NAME="Step-6"></A><BR><BR><BR><B>6. Upgrade 2nd server to
version-1:</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
upgrade<BR></B><SPAN STYLE="font-weight: medium">Would you like to
upgrade this installation to a newer version or revert to an<BR>older
version?<BR><BR> 1) Upgrade to a newer
version<BR> 2) Revert to a previous
version<BR><BR>Enter choice [1]:<BR>Enter the name and path of the
OpenDS install file (.zip):
</SPAN><B>/usr/project/iplanet/ws/opends.ug/opends/build/package/OpenDS-1.0.0.zip</B><SPAN STYLE="font-weight: medium"><BR>Initializing
Upgrade ..... Done.<BR>Calculating Schema Customizations .....
Done.<BR>Calculating Configuration Customizations .....
Done.<BR>Backing Up Files ..... Done.<BR>Upgrading Components
..... Done.<BR>Preparing Customizations ..... Done.<BR>Applying
Schema Customizations ..... Done.<BR>Applying Configuration
Customizations ..... Done.<BR>Verifying Upgrade .....
Done.<BR>Starting Directory Server ..... Done.<BR>Cleaning Up
..... Done.<BR>Recording Upgrade History ..... Done.<BR>See
installation<BR>history.<BR>OpenDS QuickUpgrade Completed
Successfully. The OpenDS installation
to version OpenDS<BR>Directory Server 1.0.0 (Build ID:
a detailed log of this operation.<BR><BR></SPAN><B><BR>$ tail
28, 2008 5:16:07 PM
deleting directory
clean up complete<BR>Jan 28, 2008 5:16:07 PM
upgrade history<BR>Jan 28, 2008 5:16:07 PM
recorded<BR>Jan 28, 2008 5:16:07 PM
completed successfully<BR><BR></SPAN><B><BR>$ grep ERROR
severity=SEVERE_ERROR msgID=14942294 msg=Replication server caught
exception while listening for client connections Socket
closed</SPAN><B><BR><BR><BR><BR>$ start-ds -F<BR></B><SPAN STYLE="font-weight: medium">OpenDS
Directory Server 1.0.0<BR>Build ID:
20080128143348Z<BR>Major Version:
1<BR>Minor Version:
0<BR>Point Version:
0<BR>Version Qualifier:<BR>Revision Number:
3777<BR>Fix IDs:<BR>Debug Build:
false<BR>Build OS:
SunOS 5.10 sparc<BR>Build User:
ugaston<BR>Build Java Version:
1.6.0<BR>Build Java Vendor:
Sun Microsystems Inc.<BR>Build JVM Version:
1.6.0-b105<BR>Build JVM Vendor:
Sun Microsystems Inc.<BR>Upgrade Event IDs:
1,2,3,4,5</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 104<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 104</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><A NAME="Step-7"></A><BR><BR><BR><B>7. Add entry on each server
instance:</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapmodify -a -p 2389 -D "cn=directory manager"
-w secret12<BR>dn: uid=hpoirot, ou=People, o=example<BR>cn:
Hercules Poirot<BR>sn: Poirot<BR>givenname: Hercules<BR>objectclass:
top<BR>objectclass: person<BR>objectclass:
organizationalPerson<BR>objectclass: inetOrgPerson<BR>ou:
Accounting<BR>ou: People<BR>l: Belgium<BR>uid:
hpoirot<BR>userpassword: hastings<BR></B><SPAN STYLE="font-weight: medium"><BR>Processing
ADD request for uid=hpoirot,ou=People,o=example<BR>ADD operation
successful for DN uid=hpoirot,ou=People,o=example<BR>$</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 105<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 105</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapmodify -a -p 1389 -D "cn=directory manager"
-w secret12<BR>dn: uid=mmarple, ou=People, o=example<BR>cn: Miss
Marple<BR>sn: Marple<BR>givenname: Miss<BR>objectclass:
top<BR>objectclass: person<BR>objectclass:
organizationalPerson<BR>objectclass: inetOrgPerson<BR>ou:
Accounting<BR>ou: People<BR>l: Kent<BR>uid: mmarple<BR>userpassword:
teapot<BR></B><SPAN STYLE="font-weight: medium"><BR>Processing ADD
request for uid=mmarple,ou=People,o=example<BR>ADD operation
successful for DN uid=mmarple,ou=People,o=example<BR>$</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 106<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 106</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><A NAME="Step-8"></A><BR><BR><BR><B>8. Restart server instances</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
</TD>
</TR>
</TABLE>
<P><A NAME="Step-9"></A><BR><BR><BR><B>9. Delete entry on one server:</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapdelete -p 1389 -D "cn=directory manager" -w
secret12 "uid=mmarple, ou=People, o=example" <BR></B><SPAN STYLE="font-weight: medium">Processing
DELETE request for uid=mmarple, ou=People, o=example<BR>DELETE
operation successful for DN uid=mmarple, ou=People, o=example<BR>$</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 105<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 105</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><A NAME="Step-10"></A><BR><BR><BR><B>10. Downgrade (revert) 1st
server:</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
upgrade<BR></B><SPAN STYLE="font-weight: medium">Would you like to
upgrade this installation to a newer version or revert to an<BR>older
version?<BR><BR> 1) Upgrade to a newer
version<BR> 2) Revert to a previous
version<BR><BR>Enter choice [1]: </SPAN><B>2</B><SPAN STYLE="font-weight: medium"><BR>Confirm
Reversion<BR>How would you like to specify the archive used to
revert this instance?<BR><BR> 1) Use the
most recent versioned archive<BR> 2)
Manually specify a reversion archive directory<BR><BR>Enter choice
[1]: </SPAN><B>1</B><SPAN STYLE="font-weight: medium"><BR>Confirm
Reversion<BR>This installation will be reverted to version OpenDS
Directory Server 1.0.0<BR>(Build ID: 20080125094425Z) using the
files
1) Continue<BR> 2) Cancel<BR><BR>Enter
choice [1]:<BR>Stopping Directory Server ..... Done.<BR>Initializing
Reversion ..... Done.<BR>Reverting Components ..... Done.<BR>Starting
Directory Server ..... Done.<BR>Cleaning Up ..... Done.<BR>Recording
Reversion History ..... Done.<BR>See
installation<BR>history.<BR>OpenDS Reversion Completed
Successfully. The OpenDS installation
to version OpenDS<BR>Directory Server 1.0.0 (Build ID:
detailed log of this operation.<BR>$<BR><BR></SPAN><B><BR>$ tail
28, 2008 6:03:49 PM
deleting directory
2008 6:03:49 PM
deleting directory
Recording history<BR>Jan 28, 2008 6:03:49 PM
recorded<BR>Jan 28, 2008 6:03:49 PM
completed successfully<BR></SPAN><B><BR>$ grep ERROR
severity=SEVERE_ERROR msgID=14942294 msg=Replication server caught
exception while listening for client connections Socket closed<BR><BR></SPAN><B><BR>$
start-ds -F<BR></B><SPAN STYLE="font-weight: medium">OpenDS
Directory Server 1.0.0<BR>Build ID:
20080125094425Z<BR>Major Version:
1<BR>Minor Version:
0<BR>Point Version:
0<BR>Version Qualifier:<BR>Revision Number:
3751<BR>Fix IDs:<BR>Debug Build:
false<BR>Build OS:
SunOS 5.10 sparc<BR>Build User:
ugaston<BR>Build Java Version:
1.6.0<BR>Build Java Vendor:
Sun Microsystems Inc.<BR>Build JVM Version:
1.6.0-b105<BR>Build JVM Vendor:
Sun Microsystems Inc.<BR>Upgrade Event IDs:
1,2,3,4,5<BR>$</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><A NAME="Step-11"></A><BR><BR><BR><B>11. Delete entry on server
instance:</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapdelete -p 1389 -D "cn=directory manager" -w
secret12 "uid=hpoirot, ou=People, o=example" <BR></B><SPAN STYLE="font-weight: medium">Processing
DELETE request for uid=hpoirot, ou=People, o=example<BR>DELETE
operation successful for DN uid=hpoirot, ou=People, o=example<BR>$</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 104<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 104</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><A NAME="Step-12"></A><BR><BR><BR><B>12. Downgrade 2nd server:</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
upgrade<BR></B><SPAN STYLE="font-weight: medium">Would you like to
upgrade this installation to a newer version or revert to an<BR>older
version?<BR><BR> 1) Upgrade to a newer
version<BR> 2) Revert to a previous
version<BR><BR>Enter choice [1]: </SPAN><B>2</B><SPAN STYLE="font-weight: medium"><BR>Confirm
Reversion<BR>How would you like to specify the archive used to
revert this instance?<BR><BR> 1) Use the
most recent versioned archive<BR> 2)
Manually specify a reversion archive directory<BR><BR>Enter choice
[1]: </SPAN><B>1</B><SPAN STYLE="font-weight: medium"><BR>Confirm
Reversion<BR>This installation will be reverted to version OpenDS
Directory Server 1.0.0<BR>(Build ID: 20080125094425Z) using the
files
1) Continue<BR> 2) Cancel<BR><BR>Enter
choice [1]:<BR>Stopping Directory Server ..... Done.<BR>Initializing
Reversion ..... Done.<BR>Reverting Components ..... Done.<BR>Starting
Directory Server ..... Done.<BR>Cleaning Up ..... Done.<BR>Recording
Reversion History ..... Done.<BR>See
installation<BR>history.<BR>OpenDS Reversion Completed
Successfully. The OpenDS installation
to version OpenDS<BR>Directory Server 1.0.0 (Build ID:
detailed log of this operation.<BR>$<BR></SPAN><B><BR>$ tail
28, 2008 6:10:27 PM
deleting directory
2008 6:10:27 PM
deleting directory
Recording history<BR>Jan 28, 2008 6:10:27 PM
recorded<BR>Jan 28, 2008 6:10:27 PM
completed successfully<BR></SPAN><B><BR>$ grep ERROR
start-ds -F<BR></B><SPAN STYLE="font-weight: medium">OpenDS
Directory Server 1.0.0<BR>Build ID:
20080125094425Z<BR>Major Version:
1<BR>Minor Version:
0<BR>Point Version:
0<BR>Version Qualifier:<BR>Revision Number:
3751<BR>Fix IDs:<BR>Debug Build:
false<BR>Build OS:
SunOS 5.10 sparc<BR>Build User:
ugaston<BR>Build Java Version:
1.6.0<BR>Build Java Vendor:
Sun Microsystems Inc.<BR>Build JVM Version:
1.6.0-b105<BR>Build JVM Vendor:
Sun Microsystems Inc.<BR>Upgrade Event IDs:
1,2,3,4,5</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><A NAME="Step-13"></A><BR><BR><BR><B>13. Delete entry on server
instance:</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapdelete -p 2389 -D "cn=directory manager" -w
secret12 "uid=acdoyle, ou=People, o=example”<BR></B><SPAN STYLE="font-weight: medium">Processing
DELETE request for uid=acdoyle, ou=People, o=example<BR>DELETE
operation successful for DN uid=acdoyle, ou=People, o=example<BR>$</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 103<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 103</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><A NAME="Step-14"></A><BR><BR><BR><B>14. Restart servers</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
</TD>
</TR>
</TABLE>
<P><A NAME="Step-15"></A><BR><BR><BR><B>15. Delete entry on server
instance:</B></P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$/ldapdelete
-p 1389 -D "cn=directory manager" -w secret12
"uid=ilestrade, ou=People, o=example”<BR></B></FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2><SPAN STYLE="font-weight: medium">Processing
DELETE request for uid=ilestrade, ou=People, o=example<BR>DELETE
operation successful for DN uid=ilestrade, ou=People, o=example<BR>$</SPAN></FONT></FONT></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 102<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 102</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapdelete -p 2389 -D "cn=directory manager" -w
secret12 "uid=dwatson, ou=People, o=example”</B><SPAN STYLE="font-weight: medium"><BR>Processing
DELETE request for uid=dwatson, ou=People, o=example<BR>DELETE
operation successful for DN uid=dwatson, ou=People, o=example<BR>$</SPAN></FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
<TABLE WIDTH=884 BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#f1f1f1" STYLE="page-break-inside: avoid">
<COL WIDTH=876>
<TR>
<TD WIDTH=876 VALIGN=TOP>
<P STYLE="background: #f1f1f1"><FONT FACE="Courier New, monospace"><FONT SIZE=2><B><BR>$
/ldapsearch -p 1389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 101<BR><B>$
/ldapsearch -p 2389 -D "cn=directory manager" -w
secret12 -b "o=example" "objectclass=*" dn |
grep 'dn: ' | wc -l</B><BR> 101</FONT></FONT></P>
</TD>
</TR>
</TABLE>
<P><BR><BR>
</P>
</BODY>
</HTML>