Sun Cluster Data Services Planning and Administration Guide for Solaris OS

ProcedureHow to Enable a Resource Fault Monitor

  1. On any cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  2. Enable the resource fault monitor.


    # clresource monitor [-n node-zone-list] resource
    
    -n node-zone-list

    Specifies a comma-separated, ordered list of nodes or zones on which to monitor the resource. If you specify a zone, the format of each entry in the list is node:zone. In this format, node specifies the node name and zone specifies the name of a non-global zone. To specify the global zone, or to specify a node without non-global zones, specify only node.

    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 or zone 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...