Upgrading Db2 servers in HADR environments
Upgrading a single partition Db2 version 10.5 Fix Pack 6 or earlier primary database, a Db2 pureScale® version 10.5 Fix Pack 8 or earlier primary database, or a Db2 pureScale version 11.1 GA primary database to Db2 version 11.5 changes the database role from primary to standard.
Upgrading a single partition Db2 version 10.5 Fix Pack 6 or earlier standby database, Db2 pureScale version 10.5 Fix Pack 8 or earlier standby database, or a Db2 pureScale version 11.1 GA standby database to Db2 version 11.5 is not supported because these databases are in rollforward pending state.
Because of these restrictions, upgrading an HADR environment to Db2 version 11.5 requires that you stop HADR, upgrade your Db2 server where the primary database resides, and then reinitialize HADR.
- Stop the HADR primary or standby databases. For more information, see Stopping DB2® High Availability Disaster Recovery (HADR).
- Upgrade the Db2 server where the primary database resides by using one of the following tasks:
- Reinitialize HADR database. For more information, see Initializing high availability disaster recovery (HADR). Before you activate your standby database, you must move the log files from the previous version of Db2 out of the log path of the new version of Db2. If you do not move the log files, Db2 might try to use the old files and fail to initialize.