Learn how to configure a failover solution for IBM® DB2® for Linux®, UNIX®, and Windows®, using the DB2 high availability disaster recovery (HADR) feature and the the DB2 high availability instance configuration utility (db2haicu). This article walks you through the concepts and then shows how to set up two distinct configurations for automated failover.
In this article
- Overview of HADR and db2haicu concepts
- Setting up an automated multiple network HADR topology
- Setting up an automated single network HADR topology
- Post-configuration testing
Db2haicu is a tool available with DB2 9.7 for Linux, UNIX, and Windows, and stands for "DB2 high availability instance configuration utility." This utility takes in user input regarding the software and hardware environment of a DB2 instance, and configures the instance for high availability using the Tivoli® System Automation Cluster Manager.
The HADR feature of DB2 9.7 allows you to have one hot standby copy of any DB2 database such that, in the event of a primary database failure, a DBA can quickly switch over to the hot standby with minimal interruption to database clients. However, a HADR primary database does not automatically switch over to its standby database in the event of failure, but requires a DBA to manually perform the takeover operation.
The db2haicu tool can be used to automate such a HADR system. During the db2haicu configuration process, the necessary HADR resources and their relationships are defined to the cluster manager. Failure events in the HADR system can then be detected automatically and takeover operations can be executed without manual intervention.
|Article in PDF format||HADR_db2haicu.pdf||457KB|
- In the DB2 for Linux, UNIX, and Windows area on developerWorks, get the resources you need to advance your skills in DB2.
- Find information describing how to use DB2 in the DB2 for Linux, UNIX, and Windows Information Center.
- Browse the technology bookstore for books on these and other technical topics.
Get products and technologies
- Download DB2 Express-C 9.7, a no-charge version of DB2 Express database server for the community.
- Download a free trial version of DB2 9.7 for Linux, UNIX, and Windows..
- Download IBM product evaluation versions or explore the online trials in the IBM SOA Sandbox and get your hands on application development tools and middleware products from DB2, Lotus®, Rational®, Tivoli, and WebSphere®.