Sun Directory Server 6.2 upgrade process



This blog entry outlines the process of upgrading the Sun Directory Server from version 6.0 to version 6.2


Assumptions

This procedure assumes the following:

  1. The operating system is Solaris SPARC.

  2. The PKG version of Directory Server 6.0 has been installed.

  3. The DCC is deployed in the Sun Java Web Console (not as a .war file in a J2EE container).

  4. The services are managed in SMF.

  5. The patches are downloaded to a directory “RequiredPatches”. Note: installation of the first patch requires a reboot, therefore do NOT download the patches to /tmp or /var/tmp (some systems) otherwise the files will be lost after the reboot.

  6. The installation paths are as follows:



Software

Instances

DSCC

Cacao

WebConsole

/opt/SUNWdsee

/var/opt/SUNWdsee/dsins1

/var/opt/SUNWdsee/dscc/ads

/var/cacao

/usr/share/webconsole


Patches required before upgrade

Inventory the patches on each server and establish what versions exist.

To inventory the patches, execute ‘showrev –p | grep “Patch: <patchnumber>”’

Example:

# showrev -p | grep "Patch: 119963"

Patch: 119963-05 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC

Patch: 119963-08 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC

#


The list of patches is in column one and is hyperlinked to enable download of the patch from sunsolve.sun.com


Patch to install

118833-36

119963-08

119254-44

125378-02

119810-04

119345-05

119044-03

123893-04

125937-05


Patches required to perform 6.2 upgrade



125276-05



Verify current version installed


Execute LDAPSEARCH to display the current version, substituting <PASSWORD> for the Directory Manager password.


# ldapsearch -h localhost -b cn=config -D "cn=directory manager" -w <PASSWORD> objectclass=nsslapdConfig nsslapd-versionstring

version: 1

dn: cn=config

nsslapd-versionstring: Sun-Java(tm)-System-Directory/6.0


Begin the upgrade process


Stop the processes


Disable DCC Directory server

# svcadm disable svc:/application/sun/ds:ds--var-opt-SUNWdsee-dscc6-dcc-ads


Disable LDAP instance

# svcadm disable svc:/application/sun/ds:ds--var-opt-SUNWdsee-dsins1


Disable CACAO

#svcadm disable svc:/application/management/common-agent-container-1:default


Disable Java Web Console

#svcadm disable svc:/application/management/wbem:default

#svcadm disable svc:/system/webconsole:console


Installation of patches


Before installing patch 118836 a workaround for a small defect is required.

(see note here)


Workaround

#mkdir /var/tmp/118833-36.SUNWcslr


Click each of the following to view the output of the above patch installations



118833-36.txt see above workaround. Also, reboot after installing this patch.

119044-03.txt

119254-44.txt

119810-04.txt

123893-04.txt

125378-02.txt

125937-05.txt

Upgrade to Directory Server 6.2

Install patch 125276-05.txt


Restart Directory and Console services


Start cacaoagent

#svcadm enable svc:/application/management/common-agent-container-1:default


Start DCC

# svcadm enable svc:/application/sun/ds:ds--var-opt-SUNWdsee-dscc6-dcc-ads


Start LDAP instance

# svcadm enable svc:/application/sun/ds:ds--var-opt-SUNWdsee-dsins1


Start Java Web Console

#svcadm enable svc:/application/management/wbem:default

#svcadm enable svc:/system/webconsole:console



Verify that server was upgraded

Execute LDAPSEARCH to display the current version, substituting <PASSWORD> for the Directory Manager password.


#ldapsearch -h localhost -b cn=config -D "cn=directory manager" -w <PASSWORD> objectclass=nsslapdConfig nsslapd-versionstring

version: 1

dn: cn=config

nsslapd-versionstring: Sun-Java(tm)-System-Directory/6.2


View the Directory Server documentation here

Comments:

I understand not downloading the patches to /tmp because of the reboot, but why not /var/tmp? /var/tmp is disk based.

Posted by William Hathaway on November 12, 2007 at 01:56 AM PST #

William,
Thank you for your comment.
Some systems can be configured to clear /var/tmp upon reboot. I have made a small annotation to the blog entry to reflect this.

Posted by Jonathan on November 12, 2007 at 03:54 AM PST #

Post a Comment:
Comments are closed for this entry.
About

Jonathan Gershater

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today