Upgrade Db2 High Availability Disaster Recovery (HADR) environments

You can upgrade the primary database of a Db2 high availability disaster recovery (HADR) deployment without reinitializing the standby database. Reinitialization of the standby is still an option, but is no longer the recommended option.

If you have multiple databases in the same instance, and under normal conditions the primary role for these databases are running on different hosts, you need to first move the primary role of all the databases in the instance to the same host, before executing HADR upgrade procedure. The HADR upgrade procedure requires that one system/instance be identified to contain all primary databases and the second system/instance be identified to contain all standby databases. Where necessary, issue graceful takeover to achieve this layout of primary and standby databases.