Sie sind auf Seite 1von 3

Please ensure the schedulers have cut a task and EESM created before you proceed with your

upgrade. For Shared, this has to be done during change window.

1. Prerequisites:
1.1 Logon to the DB2 client server (eg. ATS/Domino etc) 1.2 Check the current DB2 Client/ Connect is install:
root@c25a0028::/> /usr/local/bin/db2ls Install Path
Level Fix Pack Special Install Number Install Date Installer UID ------------------------------------------------------------------------------------------------/opt/IBM/db2/V9.5 9.5.0.4 4 Fri Jul 31 10:50:32 2009 CDT 0

1.3 According the Install Path listed before you can discover the instance name: root@c25a0028::/> /opt/IBM/db2/V9.5/instance/db2ilist db9cl001

2. Check file system space:


2.1 Verify if the server have space: DB2 binary need: 2Gb free /tmp need : 20Mb free DB2 binary = Install path
root@c25a0028::/> cd /opt/IBM/db2/V9.5 root@c25a0028::/opt/IBM/db2/V9.5> df -g . Filesystem GB blocks Free %Used /dev/db2codelv 2.00 0.95 53% Iused %Iused Mounted on 6240 3% /opt/IBM/db2

If more space is required: 2.2 Discover the VG exist:


root@c25a0028::/opt/IBM/db2/V9.5> lsvg rootvg c25a0028vg

2.3 Discover the filesystem of DB2 binary was mounted (usually is on datavg):
root@c25a0028::/opt/IBM/db2/V9.5> lsvgfs c25a0028vg /notes/c25a0028 /domlog/c25a0028 /tdprestore /opt/IBM/db2 /db9cl001 /csld_work /ii4c

2.4 Check how much space resides on the datavg:


root@c25a0028::/opt/IBM/db2/V9.5> lsvg c25a0028vg VOLUME GROUP: c25a0028vg VG IDENTIFIER: VG STATE: active PP SIZE: VG PERMISSION: read/write TOTAL PPs: MAX LVs: 512 FREE PPs: 00cc9e8c00004c000000011e980bedf2 512 megabyte(s) 799 (409088 megabytes) 403 (206336 megabytes)

LVs: 8 OPEN LVs: 8 TOTAL PVs: 1 STALE PVs: 0 ACTIVE PVs: 1 MAX PPs per VG: 130048 MAX PPs per PV: 1016 LTG size (Dynamic): 256 kilobyte(s) HOT SPARE: no root@c25a0028::/opt/IBM/db2/V9.5>

USED PPs: QUORUM: VG DESCRIPTORS: STALE PPs: AUTO ON: MAX PVs: AUTO SYNC: BB POLICY:

396 (202752 megabytes) 2 (Enabled) 2 0 yes 128 no relocatable

2.5 If have space, increase the filesystem:


root@c25a0028::/> chfs -a size=+1G /opt/IBM/db2 Filesystem size changed to 6291456 root@c25a0028::/> df -g /opt/IBM/db2 Filesystem GB blocks Free %Used /dev/db2codelv 3.00 1.95 36% Iused %Iused Mounted on 6240 2% /opt/IBM/db2

3. Prepare DB2 Client to install.


3.1 Connect to db2 client instance and execute a safe backup of entries of the DB2 client/connect : root@c25a0028::/> su - db9cl001
Check if exist the backup directory for backup, if do not create:

db9cl001@c25a0028::/db9cl001> ls -ltr total 8 drwxr-xr-x 2 root system drwx-----2 db9cl001 db2admin drwxrwsr-t 19 db9cl001 db2admin drwx-----2 db9cl001 db2admin db9cl001@c25a0028::/db9cl001> cd backup 3.1 Execute the command for backup:
Name of file you put the instance name.

256 256 4096 256

Jan Jan Jul Apr

23 24 31 21

2009 2009 2009 22:20

lost+found db2ddl sqllib backup

db9cl001@c25a0028::/db9cl001/backup> db2cfexp db9cl001_catalog.txt backup db9cl001@c25a0028::/db9cl001/backup> ls -ltr total 8 -rw-r----1 db9cl001 db2admin 2063 Apr 22 12:34 db9cl001_catalog.txt

4. Install DB2 Client fixpack. (as root user)


DB2 Path : /opt/IBM/db2/<Version_created> 4.1 Mount ninserver as : mount nimserver:/cdt /mnt 4.2 Find the DB2 fixpack will be implemented: root@c25a0028::/> cd /mnt/db2 root@c25a0530::/mnt/db2> ls -ltr|grep db2v95fp drwxr-sr-x 3 root system 512 May 28 2008

db2v95fp1

drwxr-sr-x drwxr-srwx drwxr-sr-x drwxr-sr-x drwxr-sr-x

3 2 3 3 3

root root root root root

system system system system system

512 512 512 512 512

Nov Jan Jun Jul Nov

17 09 17 09 07

2008 2009 2009 2009 00:52

db2v95fp2a db2v95fp2 db2v95fp3 db2v95fp3b db2v95fp6a

4.3 On the path of fixpack : root@v25test002::/mnt/db2/db2v95fp6a/universal> 4.4 Execute the command below: root@v25test002 /mnt/db2/db2v95fp6a/universal> ./installFixPack -b /opt/IBM/db2/V9.5 4.5. Validate if was applied the fixpack:
root@c25a0028::/> /usr/local/bin/db2ls Install Path Level Fix Pack Special Install Number Install Date Installer UID -------------------------------------------------------------------------------------------------/opt/IBM/db2/V9.5 9.5.0.6 6a Fri Apr 22 12:46:40 2011 CDT 0 Connect to db2 client instance : root@c25a0028::/> su - db9cl001 db9cl001@c25a0028::/db9cl001> db2level DB21085I Instance "db9cl001" uses "64" bits and DB2 code release "SQL09055" with level identifier "06060107". Informational tokens are "DB2 v9.5.0.6", "s091123", "U829462", and Fix Pack"6a". Product is installed at "/opt/IBM/db2/V9.5".

4.6 Request to customer test the connectivity with the DB2 client.

5. Unmount nimserver
root@a25sod024::/> umount /mnt

Das könnte Ihnen auch gefallen