Sun Cluster Data Services Planning and Administration Guide for Solaris OS

ProcedureHow to Enable a Resource


Note –

Perform this procedure from any cluster node.


Before You Begin

Ensure that you have created and have the name of the resource that you intend to enable.

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

  2. Enable the resource.


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

    Specifies a comma-separated, ordered list of nodes or zones on which to enable 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 enabled 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 that you want to enable.

  3. Verify that the resource has been enabled.


    # clresource status
    

    The output from this command indicates the state of the resource that you have enabled.

See Also

The clresource(1CL) man page.