Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Services Planning and Administration Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## Disabling and Enabling Resource Monitors

The procedures in this section explain how to 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 `clresource`(1CL) man page for additional information.

Note - Perform these procedures from any cluster node.

## How to Disable a Resource Fault Monitor

1. On any cluster member, assume the `root` role that provides `solaris.cluster.modify` RBAC authorization.
2. Disable the resource fault monitor.

       # clresource unmonitor [-n nodelist] resource

   `-n` nodelist

     Specifies a comma-separated, ordered list of nodes on which to unmonitor the resource.

     This list is optional. If you omit this list, the resource is unmonitored on all nodes in its resource group's node list.

     Note - If you specify more than one node with the `-n` option, you can specify only one resource.

   resource

     Specifies the name of the resource or resources.

3. Run the `clresource` command on each cluster node and check for monitored fields (`RS Monitored`) to verify that the resource fault monitor has been disabled.

       # clresource show -v

Example 2-12 Disabling a Resource Fault Monitor

    # clresource unmonitor resource-1
    # clresource show -v
    ...
    RS Monitored: no...

## How to Enable a Resource Fault Monitor

1. On any cluster member, assume the `root` role that provides `solaris.cluster.modify` RBAC authorization.
2. Enable the resource fault monitor.

       # clresource monitor [-n nodelist] resource

   `-n` nodelist

     Specifies a comma-separated, ordered list of nodes on which to monitor the resource.

     This list is optional. If you omit this list, the resource is monitored on all nodes in its resource group's node list.

     Note - If you specify more than one node with the `-n` option, you can specify only one resource.

   resource

     Specifies the name of the resource or resources.

3. Run the `clresource` command on each cluster node and check for monitored fields (`RS Monitored`) to verify that the resource fault monitor has been enabled.

       # clresource show -v

Example 2-13 Enabling a Resource Fault Monitor

    # clresource monitor resource-1
    # clresource show -v
    ...
    RS Monitored: yes...

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |