You must remove the Administration Server before you remove DB2.
To remove the Administration Server:
. INSTHOME/ sqllib/db2profile (bash, Bourne, or Korn shells) source INSTHOME/sqllib/db2cshrc (C shell)
where INSTHOME is the home directory of the user who owns the Administration Server.
DB2DIR/instance/dasidrop ASName
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 |
and ASName represents the name of the administration instance being removed.
The dasidrop command removes the /sqllib directory under the home directory of the Administration Server.