Configuring DB2 HA Feature for LUW

You can configure DB2® HA Feature for LUW to make database servers highly available. IBM® Tivoli® System Automation for Multiplatforms can be introduced to automate the mounting of the shared file system and to facilitate failover of the application and service IP to the standby node.

About this task

DB2 HA Feature for LUW 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. Configure a highly available shared disk that can be mounted from both nodes and used for the DB2 instance and database files.
  2. Install DB2. You can place the entire DB2 installation directory on the shared disk, or the instance and database files only. If you install the instance and database files only to the shared disk, then DB2 must be installed on both nodes of the cluster. The DB2 instance administrator user must have the same password on both nodes of the cluster.
  3. Configure DB2 HA Feature for LUW as a single partition with shared storage. You can use the DB2 High Availability Instance Configuration Utility (db2haicu) to assist with configuring the policy.
  4. Configure the product to point to the Service IP as the database host. If you installed your product before you configured DB2 HA Feature for LUW, you must redeploy the application with the new Service IP. If you install the product after you configure DB2 HA Feature for LUW, you can provide the Service IP and database name during the installation.


Feedback