Beruflich Dokumente
Kultur Dokumente
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.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
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:
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.
23 24 31 21
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
db2v95fp1
3 2 3 3 3
17 09 17 09 07
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