Upgrades a non-root instance from a previous version of
the DB2® database system to the
current version of the DB2 copy
from where you are running the db2nrupgrade command.
This command is only available on Linux and UNIX operating systems.
This command is
located in the DB2DIR/instance directory,
where DB2DIR represents the installation location
where the new release of the DB2 database
system is installed. This command does not support instance upgrade
for a root installation.
Authorization
Non-root ID who owns the non-root
installation copy.
Command syntax
>>-db2nrupgrade--+-----+--+---------------+--+-----------------+--+----------+-><
'- -d-' '- -a--AuthType-' '- -b--backup_dir-' '- -h | -?-'
Command parameters
For Linux and UNIX operating systems
- -d
- Turns on debug mode. Use this option only when instructed by DB2 Support.
- -a AuthType
- Specifies the authentication type (SERVER, CLIENT,
or SERVER_ENCRYPT) for the instance. The default
is SERVER.
- -b backup_dir
- This
parameter is mandatory. Specifies the directory where the configuration
files from the old DB2 version
are stored. The backup directory is in the db2setup log in the format
of sqllib_vVR where V is
the version number and R is the release number
of the old copy. For example, if you have V9.5 installed and then
install V9.7 using the db2setup command, you can
find the name of the backup directory as sqllib_v95 in
the db2setup log file.
- -h | -?
- Displays help information.
Usage notes
- This command is run automatically during the copy upgrade. You
do not need to manually run this command unless the copy upgrade failed.