Upgrading a Db2 server (Windows)
Upgrading a Db2 server on Windows to version 12.1 requires that you install a new version 12.1 copy and then upgrade your existing instances and databases to this new copy.
If you choose to automatically upgrade your existing pre- version 12.1 copy during the version 12.1 installation, your instances are upgraded but you still need to upgrade your databases after installation. If you choose to install a new version 12.1 copy, you must manually upgrade your instances, and databases.
This upgrade task describes the steps for direct upgrade to Db2 version 12.1 from version 11.1 or version 10.5. Review the steps in upgrading environments with specific characteristics and determine which task applies better to your environment.
Before you begin
- Ensure that you have Local Administrator authority. See the Prerequisites section in Installing Db2 servers (Windows) for additional authorization details.
- Ensure that you meet the installation prerequisites.
- Review upgrade recommendations and disk space requirements. Refer to Best practices for upgrading Db2 servers and Disk space requirements for Db2 server upgrades.
- Perform pre-upgrade tasks. Refer to Pre-upgrade tasks for Db2 servers.
Restrictions
This procedure applies only to upgrade from Db2 32-bit servers when you install the version 12.1 32-bit database product or from 64-bit servers when you install the version 12.1 64-bit database product. The instance bit size is determined by the operating system and the version 12.1 database product that you install, see Support changes for 32-bit and 64-bit Db2 servers for details.
- Additional upgrade restrictions apply. Refer to Upgrade restrictions for Db2 servers. Review the complete list.
Procedure
To upgrade a Db2 server to Db2 version 12.1: