The DB2® administration
server (DAS) provides support services for DB2 tools such as the Control Center and the
Configuration Assistant.
Before you begin
To
create a DAS, you must have root user authority on Linux operating systems or using 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 db2admin create.
About this task
You
can only have 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 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 will 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 install
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.