Enabling a Resource

You can enable a resource that you neglected to enable when you
brought online a resource group.

How 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.

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

Enable the resource.

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

-nnode-zone-list

Specifies a comma-separated, ordered list of nodes on which to enable the resource. If you specify a global-cluster non-voting node, 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 global-cluster non-voting node. To specify the global-cluster voting node, or to specify a node without global-cluster non-voting nodes, 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 with the -n option, you can specify only one resource.

resource

Specifies the name of the resource that you want to enable.

Verify that the resource has been enabled.

# clresource status

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