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 UDB MPP configuration
Add the fully qualified path to the Db2udbTypes.cf file.
include "/etc/VRTSagents/ha/conf/Db2udb/Db2udbTypes.cf"
In the DB2 MPP service groups, include the definitions for the Db2udb, IP, and NIC resources. Assign values to the attributes for the resources to match the parameters of your configuration.
Assign the online local firm service group dependency of the db2udb service group for the cvm service group. For example:
requires group cvm online local firm
Immediately following the service group dependency, assign dependencies for the newly created resources. Refer to the appropriate sample configuration file. For the group db2mpp_grp0, enter:
db2udb0 requires Db2_IP0 Db2_IP0 requires Db2_NIC0