IBM Books

Quick Beginnings


Step 4. Removing DB2 Instances

You can optionally remove some or all of the DB2 Version 5 Instances on your system. Once an instance is removed, all the DB2 databases owned by the instance, if any, will not be usable. Remove DB2 Instances only if you are not planning to use DB2 Version 5 products , or if you do not want to migrate existing instances to a later version of DB2. See Chapter 6. "Migrating from Previous Versions" for more information on how to migrate or upgrade to higher versions of DB2.

To remove DB2 Instances, you need to perform the following steps:

  1. Log in as root.

  2. Obtain a list of the names of all DB2 instances on your system using the following command:
       DB2DIR/bin/db2ilist
    

    where DB2DIR = /usr/lpp/db2_05_00 on AIX


    = /opt/IBMdb2/V5.0 on HP-UX or Solaris

  3. Remove the instance. See "Removing Instances" for information on how to remove a DB2 instance.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]