Set the MONITOR_INTERVAL in seconds to specify how often the partition or instance is monitored. For example,
MONITOR_INTERVAL30
Set the TIME_OUT variable to the time that the toolkit must wait for completion of a normal shut down, before initiating a forceful halt of the application. For example,
TIME_OUT | 30 |
Set the monitored_subnet variables to the subnet that is monitored for the package. Set the monitored_subnet_access variable to full if the subnet is available on all nodes, else set it to partial.
monitored_subnet_access full
Set the variables for adding the package relocatable IP address. For example,
ip_subnet x.x.x.x
Set the ip_subnet_node to the node names where the subnet is valid. For example,
ip_subnet_nodenode1
ip_subnet_nodenode2
Set theip_address to a valid package IP. For example,
ip_addressx.x.x.x
Create a separate vg variable for each volume group. For example,
vg vg_dd0
Create a separate fs_name, fs_directory, fs_type, and fs_mount_opt variables for each database partition. For example,
fs_name | /dev/vg_dd0/lvol1 |
fs_directory | /dbpath/db2_payroll_inst/NODE0000 |
fs_type | "ext3" |
fs_mount_opt | |
fs_umount_opt | "" |
fs_fsck_opt | "" |
fs_name | /dev/vg_dd0/lvol2 |
fs_directory | /dbpath/db2_payroll_inst2/NODE0001 |
fs_type | "ext3" |
fs_mount_opt | |
fs_umount_opt | "" |
fs_fsck_opt | "" |
The example above defines the variable for two database partitions that is, partition 0 and partition 1, NODE0000 and NODE0001. The variables are named NODE0000 in accordance with DB2 directory structure.
DB2 Package Configuration Example 81