Removing the Db2 administration server (DAS)

Use the db2admin or dasdrop command to drop the DAS from Windows or Linux® platforms.

Procedure

Important: The Db2® Administration Server (DAS) has been deprecated and might be removed in a future release. The DAS is not supported in Db2 pureScale® environments. Use software programs that use the Secure Shell protocol for remote administration. For more information, see Db2 administration server (DAS) has been deprecated .
To remove the DAS:

  • On Windows operating systems:
    1. Log on to the computer using an account or user ID that has the correct authorization to remove a service.
    2. Stop the DAS, using db2admin stop.
    3. Backup (if needed) all the files in the db2das00 subdirectory under the sqllib subdirectory.
      Note: This example assumes db2das00 is the name of the DAS to be removed. It is possible to have a DAS with a name other than DB2DAS00 if a user has created a Db2 database instance that has the name DB2DAS00. In this case, the DAS will be named DB2DAS01 (or, if that is taken, DB2DAS02 and so forth). You should look for the service with the "DB2DAS" prefix to identify the specific DAS from the list of several DAS that might exist. You can use the db2admin command without any options to list all DAS.
    4. Drop the DAS, using db2admin drop.
  • On Linux operating systems:
    1. Login as a user with DASADM authority.
    2. Run the startup script using one of the following:
      . DASHOME/das/dasprofile    (for Bourne or Korn shell)    
      source DASHOME/das/dascshrc (for C shell) 
      where DASHOME is the home directory of the DAS owner.
    3. Stop the DAS using the db2admin command as follows: db2admin stop
    4. Back up (if needed) all the files in the das subdirectory under the home directory of the DAS.
    5. Log off.
    6. Log in as root and remove the DAS using the dasdrop command.
      The dasdrop command is found in the instance subdirectory under the subdirectory specific to the installed Db2 database manager version and release.
      Note: The dasdrop command removes the das subdirectory under the home directory of the Db2 administration server (DAS).