The
DB2 administration server (DAS) is a control point used only to assist
with tasks on DB2 database instances.
Before you begin
Important: The DB2® Administration Server (DAS)
has been deprecated in Version 9.7 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 create a DAS, you must have root user
authority on Linux operating
systems or use an account that has the correct authorization to create
a service. On Windows, if
a specific user is to be identified,
create a user with local Administrator authority. Enter db2admin
create.
If a specific user account is desired, you must use /USER: and /PASSWORD: when
issuing the db2admin create command.
About this task
You can have only one DAS in a database server. If one
is already created, you need to drop it by issuing db2admin
drop.
Typically, the setup program
creates a DAS on the instance-owning computer during DB2 database product installation. If, however,
the setup program failed to create it, you can
manually create a DAS.
Procedure
As an overview of what occurs during the installation
process as it relates to DAS, consider the following:
- On Windows operating
systems:
- Log on to the computer you want to create the DAS on
using an account that has the correct authorization to create a service.
When creating the DAS, you can optionally provide a user
account name and a user password. If valid, the user account name
and password identify the owner of the DAS. Do not use the user ID
or account name created for the DAS as a user account. Set the password
for the account name to Password Never Expires.
After you create the DAS, you can establish or modify its ownership
by providing a user account name and user password with the db2admin
setid command.
- On Linux operating
systems:
- Ensure that you have root user authority.
- At a command prompt, issue the following command from
the instance subdirectory in the DB2 installation
path:
dascrt -u DASUser
DASUser is
the user name of the DAS user you created when you were creating users
and groups for the DB2 database.