Enabling and disabling intelligent resource monitoring for Db2udb resource
Review the following procedures to enable or disable intelligent resource monitoring. The intelligent resource monitoring feature is now enabled by default. The IMF resource type attribute determines whether an IMF aware agent must perform intelligent resource monitoring.
To enable intelligent resource monitoring for Db2udb resource
-
Make the VCS configuration writable by running the command
# haconf -makerw
-
To enable intelligent resource monitoring for all the resources of type Db2udb, run the following command:
# hatype -modify Db2udb IMF -update Mode 2
-
Change the values of the MonitorFreq key and the RegisterRetryLimit key of the IMF attribute.
-
Save the VCS configuration
# haconf -dump -makero
-
Make sure that the AMF kernel driver is configured on all nodes in the cluster.
# /opt/VRTS/bin/amfconfig
Configure the AMF driver if the command output returns that the AMF driver is not loaded or not configured.
-
Restart the Db2udb agent. Run the following commands on each node.
# haagent -stop Db2udb -force -sys sys_name
# haagent -start Db2udb -sys sys_name
To disable intelligent resource monitoring for Db2udb resource
-
Make the VCS configuration writable.
# haconf -makerw
-
To disable intelligent resource monitoring for all the resources of type Db2udb, run the following command:
# hatype -modify Db2udb IMF -update Mode 0
-
To disable intelligent resource monitoring for a specific Db2udb resource, run the following command:
# hares -override resource_name IMF
# hares -modify resource_name IMF -update Mode 0
-
Save the VCS configuration.
# haconf -dump -makero
Note: haimfconfigutility can also be used to enable or disable IMF. Please referVCS Admin Guidefor more information onhaimfconfig.
Related information