Configuring a clustered environment using Db2 High Availability Instance Configuration Utility (db2haicu)
You can configure and administer your databases in a clustered environment using Db2® high availability instance configuration utility (db2haicu). When you specify database manager instance configuration details to db2haicu, db2haicu communicates the required cluster configuration details to your cluster managing software.
Before you begin
- Db2 high availability instance configuration utility (db2haicu) does not have a separate diagnostic log. You can investigate and diagnose db2haicu errors using the database manager diagnostic log, db2diag log file, and the db2pd tool. For more information, see: Db2 High Availability Instance Configuration Utility (db2haicu) prerequisites.
About this task
- Interactive mode
- When you invoke Db2 high availability instance configuration utility (db2haicu) by running the db2haicu command without specifying an XML input file with the -f parameter, the utility runs in interactive mode. In interactive mode, db2haicu displays information and queries you for information in a text-based format. For more information, see: Running Db2 High Availability Instance Configuration Utility (db2haicu) in interactive mode
- Batch mode with an XML input file
-
You can use the
-f input-file-name
parameter with the db2haicu command to run Db2 high availability instance configuration utility (db2haicu) with an XML input file specifying your configuration details. Running db2haicu with an XML input file is useful when you must perform configuration tasks multiple times, such as when you have multiple database partitions to be configured for high availability. For more information, see: Running Db2 High Availability Instance Configuration Utility (db2haicu) with an XML input file
Db2 instances that are configured in Version 9.1 for high availability by using the regdb2salin script are not supported on Versions 9.5 and later. Use the db2haicu utility to configure these instances for high availability.
Restrictions
There are some restrictions for using the Db2 high availability instance configuration utility (db2haicu). For more information, see: Db2 high availability instance configuration utility (db2haicu) restrictions.
Procedure
Perform the following steps for each database manager instance:
What to do next
The high availability instance configuration utility (db2haicu) sends logs to the db2diag.log file. This is the primary means for debugging issues related to the db2haicu utility. Furthermore, the db2haicu process performs extensive inter-process communication with the db2havend process for interactions with the cluster manager API. Examining messages in the db2diag.log files for both db2haicu and db2havend can help understand the cause of a db2haicu command failure.
For more information, see: Troubleshooting Db2 High Availability Instance Configuration Utility (db2haicu)
In addition, the cluster manager that is used by the db2haicu utility is IBM® Tivoli® System Automation for Multiplatforms (SA MP). When troubleshooting cluster manager related issues, it is often necessary to collect trace diagnostic information for SA MP. For this reason, it is highly recommended that you configure trace spooling for SA MP. For more information about configuring trace spooling for SA MP, see http://www-01.ibm.com/support/docview.wss?uid=swg21375626. The IBM Tivoli System Automation for Multiplatforms (SA MP) data collection guide also has an appendix that describes trace spooling with different stanzas for the various subcomponents that make up the Reliable Scalable Cluster Technology (RSCT) and SA MP.