Upgrading a Db2 server with multiple Db2 copies
Upgrading a Db2 server with multiple pre- version 11.5 copies, requires that you install Db2 version 11.5 as a new copy and then manually upgrade the instances and databases after installation.
You can have a Db2 server with multiple copies of Db2 database products version 11.1 and version 10.5 installed.
You can manually upgrade a pre-Db2 version 11.5 instance at any fix pack level by executing the db2iupgrade command from the target Db2 version 11.5 copy of your choice.
After an instance is upgraded to a Db2 version 11.5 copy, you cannot upgrade it to another version 11.5copy. However, you can update an instance between different version 11.5 copies using the db2iupdt command.
Before you begin
- Ensure that you have root access on Linux® and UNIX operating systems or Local Administrator on Windows.
- Ensure that you meet the installation requirements for Db2 database products.. The requirements for operating systems have changed.
- Review upgrade recommendations and disk space requirements.
- Perform pre-upgrade tasks.
Restrictions
- This procedure does not apply to upgrade from Db2 32-bit servers to 64-bit systems on Windows. Refer to Upgrading Db2 32-bit servers to 64-bit systems (Windows) for details.
- On Linux and UNIX operating systems, you must not setup the instance environment for the root user. Running the db2iupgrade or the db2icrt command for a root user is not supported.
- Review the upgrade restrictions for Db2 servers.
Procedure
To upgrade a Db2 server with multiple Db2 copies:
What to do next
After upgrading the Db2 server, perform the recommended post-upgrade tasks such as resetting the diagnostic error level, adjusting log space size, and rebinding packages. In addition, verify that the upgrade of your Db2 server was successful.