Symantec logo

Configuring the agent to use the DB2 UDB MPP configuration

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

  1. Add the fully qualified path to the Db2udbTypes.cf file.

    include "/etc/VRTSagents/ha/conf/Db2udb/Db2udbTypes.cf"

  2. Create service groups for the DB2 UDB resources. Refer to the sample configuration file. The example shows four DB2 MPP service groups and a CVM service group.

    See MPP main.cf configuration: DB2 UDB ESE multi-partition instance.

  3. In the DB2 MPP service groups, include the definitions for the Db2udb, IP, and NIC resources, and assign values to the attributes for the resources to match the parameters of your configuration.

    See:

  4. 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

  5. Immediately following the service group dependency, assign dependencies for the newly created resources. Refer to the appropriate sample configuration file. See the VCS User's Guide for more information on assigning dependencies. For example, referring to the MPP main.cf configuration: DB2 UDB ESE multi-partition instance, for the group db2mpp_grp0, enter:

    db2udb0 requires Db2_IP0

    Db2_IP0 requires Db2_NIC0

  6. Save and close the file.