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 Db2udb resources. Refer to the sample configuration file. The example shows four DB2 MPP service groups and a CVM service group.

  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:

    • Db2udb resource type attributes

      See Db2udb resource type attributes.

    • Sample configuration files.

    • For information about IP and NIC resources:

      See the Veritas Cluster Server Bundled Agents Reference Guide.

  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:

    See the Veritas Cluster Server User's Guide.

  6. Save and close the file.