DB2 10.5 for Linux, UNIX, and Windows

db2nrupgrade - Upgrade non-root instance command

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

Read syntax diagramSkip visual syntax diagram
>>-db2nrupgrade--+-----+--+---------------+--+-----------------+--+-------------------------------------+--+----------+-><
                 '- -d-'  '- -a--AuthType-'  '- -b--backup_dir-'  '- -j--"TEXT_SEARCH-+-------------+-"-'  '- -h | -?-'   
                                                                                      '-,portnumber-'                     

Command parameters

-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.
-j "TEXT_SEARCH"
Configures the DB2 Text Search server using generated default values for service name and TCP/IP port number. This parameter cannot be used if the instance type is client.
-j "TEXT_SEARCH, portnumber"

Configures the DB2 Text Search server using a default service name and the provided port number. Valid port numbers must be within the 1024 - 65535 range.

-h | -?
Displays help information.

Usage notes