Enabling and disabling intelligent resource monitoring manually

Article:HOWTO66154  |  Created: 2012-01-30  |  Updated: 2012-01-30  |  Article URL http://www.symantec.com/docs/HOWTO66154
Article Type
How To

Product(s)

Environment

Subject


Enabling and disabling intelligent resource monitoring manually

Review the following procedures to enable or disable intelligent resource monitoring manually. The intelligent resource monitoring feature is disabled by default. The IMF resource type attribute determines whether an IMF-aware agent must perform intelligent resource monitoring.

To enable intelligent resource monitoring

  1. Make the VCS configuration writable.

    # haconf -makerw
  2. Run the following command to enable intelligent resource monitoring.

    • To enable intelligent monitoring of offline resources:

      hatype -modify resource_type IMF -update Mode 1
    • To enable intelligent monitoring of online resources:

      hatype -modify resource_type IMF -update Mode 2
    • To enable intelligent monitoring of both online and offline resources:

      hatype -modify resource_type IMF -update Mode 3
  3. If required, change the values of the MonitorFreq key and the RegisterRetryLimit key of the IMF attribute.

  4. Save the VCS configuration.

    # haconf -dump -makero
  5. Make sure that the AMF kernel driver is configured on all nodes in the cluster.

    On AIX:

    /etc/init.d/amf.rc status

    On HP-UX:

    /sbin/init.d/amf status

    On Linux:

    /etc/init.d/amf status

    On Solaris:

    • On Solaris 9:

      /etc/init.d/amf status
    • On Solaris 10:

      svcs -l amf

    If the AMF kernel driver is configured, the output resembles:

    AMF: Module loaded and configured

    Configure the AMF driver if the command output returns that the AMF driver is not loaded or not configured.

  6. Restart the agent. Run the following commands on each node.

    haagent -stop agent_name -force -sys sys_name
    haagent -start agent_name -sys sys_name

To disable intelligent resource monitoring

  1. Make the VCS configuration writable.

    # haconf -makerw
  2. To disable intelligent resource monitoring for all the resources of a certain type, run the following command:

    hatype -modify resource_type IMF -update Mode 0
  3. To disable intelligent resource monitoring for a specific resource, run the following command:

    hares -override resource_name IMF
    hares -modify resource_name IMF -update Mode 0
  4. Save the VCS configuration.

    # haconf -dump -makero

Legacy ID



uxrt-51sp1_v38975032_v69849413


Article URL http://www.symantec.com/docs/HOWTO66154


Terms of use for this information are found in Legal Notices