wiki:DS_patching

Version 2 (modified by lttoth@…, 10 years ago) (diff)

--

Patches Applies in 2006

These may not be the same patches as applied today. I will be verifying the patch level and number for the E-boxes as well as the IDMP cluster.

The following output is from upgraing DS 5.2 Patch 4 to DS 5.2 Patch 6 on Edgar on 11/06/2007

$ cd /e01/iplanet
$ ls -al
total 8
drwxr-xr-x   4 root     iplanet      512 Nov  6 10:18 .
drwxr-xr-x   9 root     root         512 Oct  8 09:17 ..
drwxr-xr-x   3 iplanet  iplanet      512 Nov  6 08:53 patches
drwxr-xr-x  26 iplanet  iplanet     1024 Mar 27  2007 servers

$ cd patches
$ ls -al
total 137014
drwxr-xr-x   3 iplanet  iplanet      512 Nov  6 08:53 .
drwxr-xr-x   4 root     iplanet      512 Nov  6 10:18 ..
drwxr-xr-x   5 iplanet  iplanet      512 Nov  6 09:41 117665-05
-rw-r--r--   1 iplanet  iplanet  70098103 Oct  5 08:23 117665-05.zip

$ cd 117665-05
$ ls -al
total 286116
drwxr-xr-x   5 iplanet  iplanet      512 Nov  6 09:41 .
drwxr-xr-x   3 iplanet  iplanet      512 Nov  6 08:53 ..
-r--r--r--   1 iplanet  iplanet    14684 Mar 23  2007 LEGAL_LICENSE.TXT
-rw-r--r--   1 iplanet  iplanet    91394 Sep 21 12:56 README.117665-05
drwxr-xr-x   3 iplanet  iplanet      512 Aug  9 08:31 bin
-rw-r--r--   1 iplanet  iplanet  16992867 Aug  9 08:30 directory-5.2_Patch_6-us.sparc-sun-solaris2.8.tar.gz
-rwxr-xr-x   1 iplanet  iplanet   109292 Aug  9 08:30 idsktune
-rwxr-xr-x   1 iplanet  iplanet     2293 Aug  9 08:30 install.sh
drwxr-xr-x   3 iplanet  iplanet      512 Aug 29  2000 lib
-rw-r--r--   1 iplanet  iplanet  4610712 Aug  9 08:31 nsadmin.zip
-rw-r--r--   1 iplanet  iplanet   214938 Aug  9 08:31 nsadminclient.zip
-rw-r--r--   1 iplanet  iplanet  13174161 Aug  9 08:31 nsbase.zip
-rw-r--r--   1 iplanet  iplanet  3848036 Aug  9 08:31 nsclient.zip
-rw-r--r--   1 iplanet  iplanet  26539950 Aug  9 08:31 nsjre.zip
-rw-r--r--   1 iplanet  iplanet  2972458 Aug  9 08:31 nsperl553.zip
-rwxr-xr-x   1 iplanet  iplanet      171 Sep 12 04:03 patchinfo
-rwxr-xr-x   1 iplanet  iplanet  77588480 Sep 12 04:03 patchzip-directory-5.2_Patch_6-us.sparc-sun-solaris2.8.tar
drwxr-xr-x   2 iplanet  iplanet      512 Aug  9 08:31 tzupdater
-rw-r--r--   1 iplanet  iplanet   106844 Aug  9 08:30 unzip
-rw-r--r--   1 iplanet  iplanet    16329 Aug  9 08:30 upgrade.pl

$ ps -ef | grep slapd | grep -v grep
 iplanet 14852     1  0 12:49:21 ?        0:03 ./ns-slapd -D /e01/iplanet/servers/slapd-edgar -i /e01/iplanet/servers/slapd-ed
 iplanet 15808     1  0 12:50:50 ?        0:07 ./ns-slapd -D /e01/iplanet/servers/slapd-edgarProd -i /e01/iplanet/servers/slap
 iplanet 15699     1  0 12:50:35 ?        0:02 ./ns-slapd -D /e01/iplanet/servers/slapd-edgarPrep -i /e01/iplanet/servers/slap
 iplanet 15148     1  0 12:50:08 ?        0:02 ./ns-slapd -D /e01/iplanet/servers/slapd-edgarTest -i /e01/iplanet/servers/slap

$ /e01/iplanet/servers/bin/slapd/server/ns-slapd -v
Sun Microsystems, Inc.
Sun Java(TM) System Directory Server/5.2_Patch_6 B2007.221.1746

$ ./install.sh /e01/iplanet/servers
Change dir to /e01/iplanet/servers/slapd-edgar
Stopping instance : slapd-edgar
./stop-slapd
Change dir to /e01/iplanet/servers/slapd-edgarTest
Stopping instance : slapd-edgarTest
./stop-slapd
Change dir to /e01/iplanet/servers/slapd-edgarPrep
Stopping instance : slapd-edgarPrep
./stop-slapd
Change dir to /e01/iplanet/servers/slapd-edgarProd
Stopping instance : slapd-edgarProd
./stop-slapd
Change dir to /e01/iplanet/servers
./stop-admin
./stop-admin: kill: no such process
Change dir to /e01/iplanet/patches/117665-05
cp directory-5.2_Patch_6-us.sparc-sun-solaris2.8.tar /e01/iplanet/servers
Change dir to /e01/iplanet/servers
tar xof directory-5.2_Patch_6-us.sparc-sun-solaris2.8.tar
Change dir to /e01/iplanet/patches/117665-05
cp nsbase.zip /e01/iplanet/servers
cp nsclient.zip /e01/iplanet/servers
cp nsjre.zip /e01/iplanet/servers
cp nsadmin.zip /e01/iplanet/servers
cp nsadminclient.zip /e01/iplanet/servers
Change dir to /e01/iplanet/servers
saving /e01/iplanet/servers/shared/config/certmap.conf
saving /e01/iplanet/servers/userdb/certmap.conf
/e01/iplanet/patches/117665-05/unzip -q -o nsbase.zip
/e01/iplanet/patches/117665-05/unzip -q -o nsclient.zip
/e01/iplanet/patches/117665-05/unzip -q -o nsjre.zip
/e01/iplanet/patches/117665-05/unzip -q -o nsadmin.zip
/e01/iplanet/patches/117665-05/unzip -q -o nsadminclient.zip
restoring /e01/iplanet/servers/shared/config/certmap.conf
restoring /e01/iplanet/servers/userdb/certmap.conf
Patch delivered jre
/e01/iplanet/servers/bin/base/jre/bin/java -jar /e01/iplanet/patches/117665-05/tzupdater/tzupdater.jar -u
cd /e01/iplanet/servers/slapd-edgar
Change dir to /e01/iplanet/servers/slapd-edgar
Starting instance : slapd-edgar
./start-slapd
cd /e01/iplanet/servers/slapd-edgarTest
Change dir to /e01/iplanet/servers/slapd-edgarTest
Starting instance : slapd-edgarTest
./start-slapd
cd /e01/iplanet/servers/slapd-edgarPrep
Change dir to /e01/iplanet/servers/slapd-edgarPrep
Starting instance : slapd-edgarPrep
./start-slapd
cd /e01/iplanet/servers/slapd-edgarProd
Change dir to /e01/iplanet/servers/slapd-edgarProd
Starting instance : slapd-edgarProd
./start-slapd
Please wait 20 seconds...
Change dir to /e01/iplanet/servers/bin/admin
Upgrading the Administration Server...
./sync-admin upgrade -r "/e01/iplanet/servers"
/e01/iplanet/servers/stop-admin: kill: no such process
Updating the Configuration Directory Server for the Admin Server...
./sync-admin-cds -r "/e01/iplanet/servers"
Admin Id: admin
Admin Password:
Change dir to /e01/iplanet/servers/shared/bin
Updating the Configuration Directory Server for the directory server instances
Updating the Configuration Directory Server for the Admin Server...
./sync-admin-cds -r "/e01/iplanet/servers"
Admin Id: admin
Admin Password:
Change dir to /e01/iplanet/servers/shared/bin
Updating the Configuration Directory Server for the directory server instances
./sync-product-cds -r "/e01/iplanet/servers" -i "cn=Sun ONE Directory Server, cn=Server Group, cn=edgar.alaska.edu, ou=alaska.edu, o=Nets
capeRoot" -j ds524.jar -g ds524.jar -v 5.2_Patch_6 -n "Sun Java(TM) System Directory Server" -b 2007.221.1746
Admin Id: admin
Admin Password:
Starting the admin server...
Change dir to /e01/iplanet/servers
./start-admin
SunONE-WebServer-Enterprise/6.0SP3 B05/19/2004 02:48
[LS ls1] http://edgar.alaska.edu, port 12003 ready to accept requests
startup: server started successfully


Done

$ /e01/iplanet/servers/bin/slapd/server/ns-slapd -v 
Sun Microsystems, Inc.
Sun Java(TM) System Directory Server/5.2_Patch_6 B2007.221.1746