Edit the main.cf file. Use /etc/VRTSagents/ha/conf/Db2udb/ sample_db2udb/main.cf.MPP for reference. Notice that CVM service group is present in the configuration file.
To configure the agent to use the DB2 MPP configuration
include "Db2udbTypes.cf"
Create service groups for the Db2udb resources. Refer to the sample configuration file. The example shows four DB2 MPP service groups and a CVM service group as follows:
MPP main.cf configuration for Linux
See MPP main.cf configuration for VCS agent for DB2 on Linux.
For more information review the following information:
Db2udb resource type attributes
See About the Db2udb resource types and attribute definitions.
Sample configuration files.
For information about IP and NIC resources refer to the Cluster Server Bundled Agents Reference Guide.
requires group cvm online local firm
db2udb0 requires Db2_IP0 Db2_IP0 requires Db2_NIC0
For more information on assigning dependencies refer to the Cluster Server Administrator’s Guide.