Edit the main.cf file. Use /etc/VRTSagents/ha/conf/Db2udb/sample_db2udb/main.cf.EE or /etc/VRTSagents/ha/conf/Db2udb/sample_db2/main.cf.EEE for reference.
To configure the agent to use the DB2 UDB, non-MPP configurations
Add the fully qualified path to the Db2udbTypes.cf file.
include "/etc/VRTSagents/ha/conf/Db2udb/Db2udbTypes.cf"
Create a service group for the DB2 UDB resources.
This example that shows a group named "db2_grp1" in which two partitions are defined.
Include all resources in the service groups. These resources include the Db2udb, DiskGroup, IP, Mount, NIC, and Volume resources. Assign values to the attributes for the resources to match the parameters of your configuration.
For information about the DiskGroup, IP, Mount, NIC, and Volume resources:
See the Veritas Cluster Server Bundled Agents Reference Guide.
Assign dependencies for the newly created resources. For the group db2udb_grp1, enter:
db2udb1 requires db2udb_ip1 db2udb1 requires db2udb_mnt1 db2udb_ip1 requires db2udb_nic1 db2udb_mnt1 requires db2udb_vol1 db2udb_vol1 requires db2udb_dg1
And for group db2udb_grp3, enter:
db2udb3 requires db2udb_ip3 db2udb3 requires db2udb_mnt3 db2udb_ip3 requires db2udb_nic3 db2udb_mnt3 requires db2udb_vol3 db2udb_vol3 requires db2udb_dg3
For more information, refer to the appropriate sample configuration file.