Upgrades an instance to a DB2® copy of the current release from a DB2 copy of a previous release. The DB2 copy from where you are running the db2iupgrade command must support instance upgrade from the DB2 copy that you want to upgrade.
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 non-root installation.
On Windows operating systems, this command is located in the DB2PATH\bin directory, where DB2PATH is the location where the DB2 copy is installed. To move your instance profile from its current location to another location, use the /p option and specify the instance profile path. Otherwise, the instance profile will stay in its original location after the upgrade.
Root user authority on Linux and UNIX operating systems or Local Administrator on Windows operating systems.
>>-db2iupgrade--+-----+--+-----+--------------------------------> '- -d-' '- -k-' >--+------------------------------------------------------+-----> '- -j--"TEXT_SEARCH-+--------------+-+-------------+-"-' '-,servicename-' '-,portnumber-' >--+---------------+--+---------------+--InstName-------------->< '- -a--AuthType-' '- -u--FencedID-'
>>-db2iupgrade--InstName--/u:--username,password----------------> >--+----------------------------+--+----+--+---------------+----> '-/p:--instance-profile-path-' '-/q-' '-/a:--authType-' >--+-----------------------------------------------------+------> '-/j--"TEXT_SEARCH-+--------------+-+-------------+-"-' '-,servicename-' '-,portnumber-' >--+----+------------------------------------------------------>< '-/?-'
Configures the DB2 Text Search server using the provided service name and an automatically generated port number. If the service name has a port number assigned in the services file, it uses the assigned port number.
Configures the DB2 Text Search server using the provided service name and port number.
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.
Configures the DB2 Text Search server using the provided service name and an automatically generated port number. If the service name has a port number assigned in the services file, it uses the assigned port number.
Configures the DB2 Text Search server using the provided service name and port number.
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.
DB2 Enterprise Server Edition instances (instance type ese) and DB2 Advanced Enterprise Server Edition can be upgraded using the db2iupgrade command.
The db2iupgrade command calls the db2ckupgrade command with the -not1 parameter, and specifies upgrade.log as the log file for db2ckupgrade. The default log file created for db2iupgrade is /tmp/db2ckupgrade.log.processID. Verify that local databases are ready for upgrade before upgrading the instance. The -not1 parameter disables the check for type-1 indexes. The log file is created in the instance home directory for Linux and UNIX operating systems or in the current directory for Windows operating systems. The instance upgrade will not continue if the db2ckupgrade command returns any errors.
For partitioned database environments, run the db2ckupgrade command before you issue the db2iupgrade command. The db2ckupgrade command will check all partitions and will returns errors found in any partition. If you do not check whether all database partitions are ready for upgrade, subsequent database upgrades could fail even though the instance upgrade was successful. See db2ckupgrade for details.