Configuring DB2 HADR

You can configure DB2® HADR to ensure that it integrates with the high availability topology. Cluster management software can be used to automate the takeover of the primary server when a failure occurs.

About this task

DB2 HADR can be configured with a service IP, by using a cluster manager such as IBM® Tivoli® System Automation for Multiplatforms. This solution can help to achieve seamless failover in your product operations. When you configure the database parameters in your product, specify the service IP as the database server host.

Procedure

  1. Install DB2 on both systems and create a common DB2 instance on both.
  2. Configure DB2 HADR . You can use the DB2 High Availability Instance Configuration Utility (db2haicu) to assist with configuring the policy.
  3. Configure the product to point to the Service IP as the database host. If you installed your product before you configured DB2 HADR, you must redeploy the application with the new Service IP. If you install the product after you configure DB2 HADR, you can provide the Service IP and database name during the installation.


Feedback