Symantec logo

Configuring the agent to use the DB2 UDB, 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 UDB, non-MPP configurations

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

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

  2. Create a service group for the DB2 UDB resources.

    If you are using DB2 UDB ESE single-partition instance, refer to the example, Non-MPP main.cf configuration: DB2 UDB ESE single-partition instance which shows two groups, "db2udb_grp1," and "db2udb_grp2."

    If you are using DB2 UDB ESE multi-partition instance, refer to the example, Non-MPP main.cf configuration: DB2 UDB ESE multi-partition instance, which shows a group named "db2_grp1" in which two partitions are defined.

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

    Refer to the Db2udb resource type attributes as well as the sample configuration files. Refer also to the Veritas Cluster Server Bundled Agents Reference Guide for information about the DiskGroup, IP, Mount, NIC, and Volume resources.

  4. 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 Non-MPP main.cf configuration: DB2 UDB ESE single-partition instance, 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

  5. Save and close the file.