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.
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)".
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: Troubleshooting DB2 High Availability Instance Configuration Utility (db2haicu)