Performing rolling updates in an automated high availability disaster recovery (HADR) environment
Use this procedure to perform a rolling update in an automated HADR environment because additional steps are required to update the DB2® database software, upgrade operating system software, upgrade hardware, or change database configuration parameters.
Before you begin
- Two DB2 instances (in this example, named stevera on each node).
- Two DB2 servers (grom04 and grom03). The grom04 computer is initially hosting the HADR Primary database.
- The instances are originally running at Version 10.5 GA code.
- The instances are configured with IBM® Tivoli® System Automation for Multiplatforms (SA MP) controlling HADR failover. The cluster domain is named test.
The HADR pair should be in peer state before starting the rolling update.
Restrictions
Use this procedure to perform a rolling update on your DB2 database system and update the DB2 database product software from one modification level to another in an automated HADR environment . For example, applying a fix pack to a DB2 database product software.
A rolling update cannot be used to upgrade a DB2 database system from an earlier version to a later version. For example, you cannot use this procedure to upgrade from Version 9.7 to Version 10.1.
You cannot use this procedure to update the DB2 HADR configuration parameters. Updates to HADR configuration parameters should be made separately. Because HADR requires the parameters on the primary and standby to be the same, this might require both the primary and standby databases to be deactivated and updated at the same time.