Sun Cluster Data Services Planning and Administration Guide for Solaris OS

Disabling and Enabling Resource Monitors

The following procedures disable or enable resource fault monitors, not the resources themselves. A resource can continue to operate normally while its fault monitor is disabled. However, if the fault monitor is disabled and a data service fault occurs, automatic fault recovery is not initiated.

See the scswitch(1M) man page for additional information.


Note –

Run this procedure from any cluster node.


How to Disable a Resource Fault Monitor

  1. Become superuser on a cluster member.

  2. Disable the resource fault monitor.


    # scswitch -n -M -j resource
    
    -n

    Disable a resource or resource monitor.

    -M

    Disable the fault monitor for the specified resource.

    -j resource

    The name of the resource.

  3. Verify that the resource fault monitor has been disabled.

    Run the following command on each cluster node, and check for monitored fields (RS Monitored).


    # scrgadm -pv
    

Example–Disabling a Resource Fault Monitor

This example shows how to disable a resource fault monitor.


# scswitch -n -M -j resource-1
# scrgadm -pv
...
RS Monitored: no...

How to Enable a Resource Fault Monitor

  1. Become superuser on a cluster member.

  2. Enable the resource fault monitor.


    # scswitch -e -M -j resource
    
    -e

    Enables a resource or resource monitor.

    -M

    Enables the fault monitor for the specified resource.

    -j resource

    Specifies the name of the resource.

  3. Verify that the resource fault monitor has been enabled.

    Run the following command on each cluster node, and check for monitored fields (RS Monitored).


    # scrgadm -pv
    

Example–Enabling a Resource Fault Monitor

This example shows how to enable a resource fault monitor.


# scswitch -e -M -j resource-1
# scrgadm -pv
...
RS Monitored: yes...