If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > uninstalling DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-27-09, 11:46
samu78nyc samu78nyc is offline
Registered User
 
Join Date: Nov 2006
Posts: 31
uninstalling DB2

Hi all,
I recently migrated from DB2 V8.2 to V9.1. Can I use the installp -u db2_08_01 command to uninstall V8.2? Does it have any effect on the current DB2 V9.1 instance? Do I need to verify or backup any files before I run this command.Below is db2level,db2ls and list of db2_o8 files.Is there a cleaner way to uninstall other than installp command?

DB2 9.1 install path - /opt/IBM/db2/V9.1/instance
DB2 8.2 install path - /usr/opt/db2_08_01/instance


db2inst1=> db2level
DB21085I Instance "db2inst1" uses "64" bits and DB2 code release "SQL09016"
with level identifier "01070107".
Informational tokens are "DB2 v9.1.0.6", "s081211", "U823469", and Fix Pack
"6a".
Product is installed at "cd".

db2inst1=> db2ls

Install Path Level Fix Pack Special Install Number Install Date
--------------------------------------------------------------------------------------------
/opt/IBM/db2/V9.1 9.1.0.6 6a Sat Apr 18 00:56:36 2009 CUT

db2inst1=> lslpp -l|grep db2
db2_08_01.acsg 8.1.1.96 COMMITTED Product Signature for DB2
db2_08_01.adt.rte 8.1.1.96 COMMITTED Base Application Development
db2_08_01.adt.samples 8.1.1.96 COMMITTED ADT Sample Programs
db2_08_01.ca 8.1.1.96 COMMITTED Configuration Assistant
db2_08_01.cc 8.1.1.96 COMMITTED Control Center
db2_08_01.ch.en_US.iso88591
db2_08_01.cj 8.1.1.96 COMMITTED Java Common files
db2_08_01.client 8.1.1.96 COMMITTED Base Client Support
db2_08_01.cnvucs 8.1.1.96 COMMITTED Code Page Conversion Tables -
db2_08_01.conn 8.1.1.96 COMMITTED Connect Support
db2_08_01.conv 8.1.1.96 COMMITTED Code Page Conversion Tables
db2_08_01.cs.rte 8.1.1.96 COMMITTED Communication Support - TCP/IP
db2_08_01.ctsr 8.1.1.96 COMMITTED Control Server
db2_08_01.das 8.1.1.96 COMMITTED Administration Server
db2_08_01.db2.engn 8.1.1.96 COMMITTED Base DB2 UDB Support
db2_08_01.db2.rte 8.1.1.96 COMMITTED Run-time Environment
db2_08_01.db2.samples 8.1.1.96 COMMITTED Sample Database Source
db2_08_01.dc 8.1.1.96 COMMITTED Development Center
db2_08_01.dj 8.1.1.96 COMMITTED DB2 Data Source Support
db2_08_01.djinx 8.1.1.96 COMMITTED Informix Data Source Support
db2_08_01.djx 8.1.1.96 COMMITTED Relational wrappers common
db2_08_01.dw.cmn 8.1.1.96 COMMITTED Data Warehouse Common
db2_08_01.dw.sampledb 8.1.1.96 COMMITTED Warehouse Sample Database
db2_08_01.dw.srv 8.1.1.96 COMMITTED Warehouse Server
db2_08_01.dwc 8.1.1.96 COMMITTED Data Warehouse Center
db2_08_01.essg 8.1.1.96 COMMITTED Product Signature for DB2 UDB
db2_08_01.fs 8.1.1.96 COMMITTED First Steps
db2_08_01.gcln 8.1.1.96 COMMITTED Spatial Extender Client
db2_08_01.gse.samples 8.1.1.96 COMMITTED Spatial Extender Samples
db2_08_01.icc 8.1.1.64 COMMITTED Information Catalog Center
db2_08_01.icm.samples 8.1.1.96 COMMITTED Information Catalog Manager
db2_08_01.icuc 8.1.1.96 COMMITTED ICU Collation
db2_08_01.icut 8.1.1.96 COMMITTED ICU Utilities
db2_08_01.icw 8.1.1.96 COMMITTED Information Catalog Center for
db2_08_01.inst 8.1.1.96 COMMITTED DB2 Instance Setup Wizard
db2_08_01.jdbc 8.1.1.96 COMMITTED Java Support
db2_08_01.jhlp.en_US.iso88591
db2_08_01.ldap 8.1.1.96 COMMITTED DB2 LDAP Support
db2_08_01.msg.en_US.iso88591
db2_08_01.pext 8.1.1.96 COMMITTED Parallel Extension
db2_08_01.repl 8.1.1.96 COMMITTED Replication
db2_08_01.sqlproc 8.1.1.96 COMMITTED SQL Procedures
db2_08_01.webdb2 8.1.1.96 COMMITTED DB2 Web Tools
db2_08_01.wm.samples 8.1.1.96 COMMITTED Warehouse Samples
db2_08_01.xml.ext 8.1.1.96 COMMITTED XML Extender
db2_08_01.xml.samp 8.1.1.96 COMMITTED XML Extender Samples

-Thanks in advance.
Sam
Reply With Quote
  #2 (permalink)  
Old 04-27-09, 19:21
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
To remove DB2 products from your UNIX system:

Log in as user with root authority.
Mount the DB2 Version 8 product CD-ROM.
Run the db2_deinstall -n command from the root directory of your DB2 Version 8 product CD-ROM. The -n parameter makes pkgrm non-interactive. The -n parameter is only on System V (Solaris).
This command will remove all DB2 products from your system.

There are alternative methods for removing DB2 products from your operating system. You may employ one of these methods if you only want to remove a subset of DB2 products from your system. Alternative methods for removing DB2 products include:

AIX
You can use the System Management Interface Tool (SMIT) to remove some or all DB2 products. If you use SMIT to remove DB2, DB2 Version 8 products can be identified by their prefix of db2_08_01. You can also remove all DB2 products from AIX systems using the installp command by entering installp -u db2_08_01.


Removing v8 doesn't have any effect on v9.
Reply With Quote
  #3 (permalink)  
Old 04-28-09, 15:36
samu78nyc samu78nyc is offline
Registered User
 
Join Date: Nov 2006
Posts: 31
Thanks

Thanks for the response.
Reply With Quote
  #4 (permalink)  
Old 08-14-10, 19:16
bcm1020 bcm1020 is offline
Registered User
 
Join Date: Aug 2010
Posts: 1
hi samu78nyc,

may i know which procedure you used to uninstall the db2 v8?

thanks in advance!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On