Configuring the agent to use the DB2 non-MPP configurations

Edit the main.cf file. Use /etc/VRTSagents/ha/conf/Db2udb/ sample_db2udb/main.cf.EE or /etc/VRTSagents/ha/conf/ Db2udb/sample_db2/main.cf.EEE for reference.

To configure the agent to use the DB2 non-MPP configurations

  1. Include the Db2udbTypes.cf file.
    include "Db2udbTypes.cf"
  2. Create a service group for the DB2 resources.

    This example that shows a group named "db2_grp1" in which two partitions are defined.

  3. Include all resources in the service groups. These resources include the Db2udb, DiskGroup, IP, Mount, NIC, and Volume resources. Assign values to the attributes for the resources to match the parameters of your configuration.

    For more information:

    For information about the DiskGroup, IP, Mount, NIC, and Volume resources, refer to the Cluster Server Bundled Agents Reference Guide.

  4. Assign dependencies for the newly created resources. For the group db2udb_grp1, enter:
       db2udb1 requires db2udb_ip1
       db2udb1 requires db2udb_mnt1
       db2udb_ip1 requires db2udb_nic1
       db2udb_mnt1 requires db2udb_vol1
       db2udb_vol1 requires db2udb_dg1

    And for group db2udb_grp3, enter:

       db2udb3 requires db2udb_ip3
       db2udb3 requires db2udb_mnt3
       db2udb_ip3 requires db2udb_nic3
       db2udb_mnt3 requires db2udb_vol3
       db2udb_vol3 requires db2udb_dg3

    For more information, refer to the appropriate sample configuration file.

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

  5. Save and close the file.