Db2 high availability instance configuration utility (db2haicu) restrictions
There are some restrictions for using the Db2® high availability instance configuration utility (db2haicu).
Software and hardware
db2haicu does not support the configuration of mount resources which are based off of Logical Volume Manager (LVM) on any platform other than AIX.
Configuration tasks
You cannot perform the following tasks using db2haicu:
You cannot configure automatic client reroute using db2haicu.
- When upgrading from one majorDb2 version 10.5 version to another, e.g. Db2 V10.5 to Db2 V11.5, you cannot use db2haicu to migrate your cluster configuration. To migrate a cluster configuration, you must perform the following steps:
- Delete the existing cluster domain via the db2haicu -delete command
- Upgrade the database server
- Re-create a new cluster domain using db2haicu
Usage notes
db2haicu is not supported in a Db2 pureScale® environment. Use the db2cluster command instead to configure clustered environments.
Consider the following db2haicu usage notes when planning your cluster configuration and administration activities:
Even though db2haicu performs some administration tasks that normally require root authority, db2haicu runs with the privileges of the database manager instance owner. db2haicu initialization, which is performed by the root user, enables db2haicu to carry out the required configuration changes despite having only instance owner privileges.
When you create a new cluster domain, db2haicu does not verify that the name you specify for the new cluster domain is valid. For example, db2haicu does not confirm that the name is a valid length, or contains valid characters, or that is not the same name as an existing cluster domain.
db2haicu does not verify or validate information that a user specifies and that is passed to a cluster manager. Because db2haicu cannot be aware of all cluster manager restrictions with respect to cluster object names, for example, db2haicu passes text to the cluster manager without validating it for things like valid characters, or length.
- If an error happens and db2haicu fails while you are creating and configuring a new cluster domain, you must perform the following steps:
- Remove the resource groups of the partially created cluster domain by running db2haicu using the -delete parameter
- Re-create the new cluster domain by calling db2haicu again.
When you run db2haicu with the -delete parameter, db2haicu deletes the resource groups that are associated with the current database manager instance immediately, without confirming whether those resource groups are locked.
- To remove resource groups that are associated with the database manager instances of a Db2 high availability disaster recovery (HADR) database pair, perform the following steps:
- Run db2haicu with the -delete parameter against the database manager instance of the HADR standby database first.
- Run db2haicu with the -delete parameter against the database manager instance of the HADR primary database.
- To remove a virtual IP from an HADR resource group using db2haicu, you must remove it from the instance on which it was created.
- The ASYNC and SUPERASYNC HADR synchronization modes are not supported by db2haicu.
If a cluster operation you attempt to perform using db2haicu times out, db2haicu does not return an error to you. When a cluster operation times out, you do not know that the operation timed out unless you review diagnostic logs after you make the db2haicu call; or unless a subsequent cluster action fails, and while you are investigating that subsequent failure, you determine that the original cluster operation timed out.
If you attempt to change the failover policy for a given database instance to active-passive, there is one condition under which that configuration operation fails, but for which db2haicu does not return an error to you. If you specify a machine that is currently offline to be the active machine, db2haicu does not make that machine the active machine, but db2haicu does not return an error that indicates that the change did not succeed.
For a shared disk configuration, db2haicu does not support a nested mount configuration because Db2 does not enforce the disk mount order.
- For a shared disk configuration, file systems based on Concurrent Enhanced-Capable volume groups are not supported by db2haicu.
Recommendations
The following is a list of recommendations for configuration your cluster, and your database manager instances when you are using db2haicu.
- When you add new mount points for the cluster by adding entries
to /etc/fstab, use the noauto option
to prevent the mount points from being automatically mounted on more
than one machine in the cluster. For example:
dev/vpatha1 /db/svtpdb/NODE0010 ext3 noauto 0 0