Running Db2 High Availability Instance Configuration Utility (db2haicu) 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.
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
There is a set of sample XML input files located in the samples subdirectory of the sqllib directory that you can modify and use with db2haicu to configure your clustered environment. For more information, see: Sample XML input files for Db2 High Availability Instance Configuration Utility (db2haicu)
For a detailed scenario that uses db2haicu with a sample XML
input file to set up an HADR pair, see Automated Cluster Controlled HADR (High Availability Disaster
Recovery) Configuration Setup using the IBM Db2 High Availability
Instance Configuration Utility (db2haicu)
.
Procedure
What to do next
For more information, see: Troubleshooting Db2 High Availability Instance Configuration Utility (db2haicu)