Configuring the agent to use the DB2 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 MPP configuration

  1. Include the Db2udbTypes.cf file.
        include "Db2udbTypes.cf"
  2. 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:

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

    For more information review the following information:

  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. For the group db2mpp_grp0, enter:
      db2udb0 requires Db2_IP0
      Db2_IP0 requires Db2_NIC0

    For more information on assigning dependencies refer to the Cluster Server Administrator’s Guide.

  6. Save and close the file.