You can remove some or all of the DB2 Version 7 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 7 products, or if you do not want to migrate existing instances to a later version of DB2.
On UNIX Systems:
To remove an instance:
DB2DIR/instance/db2idrop InstName
where
| where DB2DIR | = /usr/lpp/db2_07_01 on AIX | |
|
| = /opt/IBMdb2/V7.1 HP-UX, PTX, SGI IRIX, or Solaris | |
|
| = /usr/IBMdb2/V7.1 on Linux |
The db2idrop command removes the instance entry from the list of instances and removes the INSTHOME/sqllib directory, where INSTHOME is the home directory of the instance and where InstName is the login name of the instance.
This step is optional since the instance owner and the instance owner group may be used for other purposes.