Previous Month I have upgraded the Directory Server for one my client.
Below I posting the steps which I used during the Upgardations.
Pre Implementation steps
===================
1)Login to server through putty
2) In you home directory(/home/ldap) create a folder as below,
sudo mkdir DSUpgrade
3)change the permission of the folder as below,
sudo chmod 777 DSUpgrade
4) using Winscp copy the installer binary file(117665-05.zip) from D:\Pankaj\Softwares\Directory Server - to Solaris under
/home/ldap/DSUpgrade folder
5) change your current directory to DSUpgrade as below
cd DSUpgrade
6) unzip the file(117665-05.zip) as below
unzip 117665-05.zip
7) A folder will be created by named 117665-05
8) change your current directory to 117665-05 as below
cd 117665-05
9) run ls -l and confirm there is an file named patchzip-directory-5.2_Patch_6-us.sparc-sun-solaris2.8.tar.gz
10) extract the file as below
gunzip patchzip-directory-5.2_Patch_6-us.sparc-sun-solaris2.8.tar.gz
11) run tar -xvf patchzip-directory-5.2_Patch_6-us.sparc-sun-solaris2.8.tar
12) run ls and confirm the below files exist
$ ls
bin nsclient.zip
directory-5.2_Patch_6-us.sparc-sun-solaris2.8.tar.gz nsjre.zip
idsktune nsperl553.zip
install.sh patchinfo
LEGAL_LICENSE.TXT patchzip-directory-5.2_Patch_6-us.sparc-sun-solaris2.8.tar
lib README.117665-05
nsadmin.zip tzupdater
nsadminclient.zip unzip
nsbase.zip upgrade.pl
Preparation Steps
==============
1) Take a ldif backup by running the below command,
sudo /var/mps/slapd-isntacename/db2ldif -n userRoot
2) take a backup of dse.ldif file
sudo cp /var/mps/slapd-instancename/config/dse.ldif /home/ldap/
3) record the DS version by running th below commands,
cd /var/mps/bin/slapd/server
sudo ./ns-slapd -D /var/mps/slapd-instancename/ -V
4) record the prstat -a output before upgrade
5) Record idsktune output as below,
cd /home/ldap/DSUpgrade/117665-05
sudo ./idsktune > /home/ldap/idsktune.out
Implementation Step
================
Ensure no Directory Server console is opened before running the below command,
1) run the below command,
sudo ./install.sh /var/mps/ admin password
Record the output.
Post Implementation steps
====================
1)Perform a complete health check of the server(including a ldapsearch)
2)Inform other team which are using this ladap for testing.
I hope this article very useful for all.Please give me comment for this.