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