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.