Starting and stopping the Db2 administration server (DAS)

To start or stop the DAS use the db2admin start or db2admin stop commands.

Before you begin

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 manually start or stop the DAS on Windows, you must first log on to the computer using an account or user ID that belongs to either Administrators, Server Operators, or Power Users groups.

To manually start or stop the DAS on Linux®, the account or user ID must be made part of the dasadm_group. The dasadm_group is specified in the DAS configuration parameters.

Procedure

When working with the Db2 database manager for any of the Linux operating systems, you must do the following:

  • To start the DAS:
    1. Log in as the DAS owner.
    2. Run the start up 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 Db2 administration server.
    3. To start the DAS use the db2admin command:
      db2admin start 
      Note: The DAS is automatically started after each system restart. The default startup behavior of the DAS can be altered using the dasauto command.
  • To stop the DAS:
    1. Log in as an account or user ID that is part of the dasadm_group.
    2. Stop the DAS using the db2admin command as follows:
      db2admin stop