You must remove the Administration Server before you remove DB2. To remove the Administration Server, you need to perform the following steps:
Step 1. | Log in as user with root authority. |
Step 2. | Obtain the name of the Administration Server by entering the following command: DB2DIR/bin/dasilist |
Step 3. | Log in as the Administration Server owner. |
Step 4. | Run the start up script as follows: . INSTHOME/sqllib/db2profile (for Bash, Bourne, or Korn shell) source INSTHOME/sqllib/db2cshrc (for C shell) where INSTHOME is the home directory of the instance. |
Step 5. | Back up the files in the ASHOME/sqllib directory, if needed, where ASHOME is the home directory of the Administration Server. |
Step 6. | Log off. |
Step 7. | Log in as root and remove the Administration Server by entering the following command: DB2DIR/instance/dasidrop ASName where 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.