On Linux and UNIX operating systems, updates
the DB2® Administration Server
(DAS) if the related DB2 database
system installation is updated.
On Linux, UNIX,
and Windows operating systems,
you can also use this utility to move the DAS from one installation
location to another if both are at the same version of DB2 database system.
This utility is located in the DB2DIR/instance directory
on Linux and UNIX operating systems, where DB2DIR is
the location where the current version of the DB2 database product is installed. On Windows operating systems, the dasupdt command
is located in the DB2DIR\bin directory.
On Windows operating
systems, this command updates the DAS from one DB2 copy to another within the same DB2 database version. To upgrade a DAS from an
older version, use the dasmigr command. With dasupdt,
the DAS will be updated to the DB2 copy
that the dasupdt command is executed from.
After
the installation of a fix pack, the dasupdt command
is executed automatically, if the DAS on the system is related to
the DB2 database product installation
path updated by installFixPack.
Authorization
Root user authority on Linux and UNIX operating systems or Local Administrator
authority on Windows operating
systems
Command syntax
- For Linux and UNIX operating systems
>>-dasupdt--+-----+--+-----+--+-----+--------------------------><
'- -d-' '- -D-' +- -h-+
'- -?-'
- For Windows operating
systems
>>-dasupdt--+-----+--+--------------------+--------------------><
'- -h-' '- -p--path override-'
Command parameters
- For Linux and UNIX operating systems
- -d
- Sets the debug mode, which is used for problem analysis.
- -D
- Moves the DAS from a higher code level on one path to a lower
code level installed on another path.
- -h | -?
- Displays usage information.
- For Windows operating
systems
- -h
- Displays usage information.
- -p path_override
- Indicates that the DAS profile should be moved as well. path_override is
a user specified path to be used instead of the default DAS profile
path.
Example
If
a DAS is running in one DB2 database
product installation path and you want to move the DAS to another
installation path at a lower level (but the two installation paths
are at the same version of DB2 database
system), issue the following command from the installation path at
the lower level:
dasupdt -D
Usage notes
On AIX® 6.1 (or higher), when running this command
from a shared DB2 copy
in a system workload partition (WPAR) global environment, this command
must be run as the root user. WPAR is not
supported in a DB2 pureScale® environment.