Perform this procedure from any cluster node.
Ensure that you have the name of the resource that you are disabling and enabling.
On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.
Disable and then enable the resource.
# clresource disable resource # clresource enable resource |
Specifies the name of the resource.
Verify that the resource has been disabled and enabled and that the Start_failed resource state is cleared.
# clresource status |
The output from this command indicates the state of the resource that has been disabled and re-enabled.
This example shows how to clear a Start_failed resource state that has occurred on the rscon resource by disabling and enabling the resource.
To verify that the resource is in the Start_failed resource state, the following command is run:
# clresource status === Cluster Resources === Resource Name Node Name Status Message -------------- ---------- ------- ------- rscon phys-schost-1 Faulted Faulted phys-schost-2 Offline Offline hastor phys-schost-1 Online Online phys-schost-2 Offline Offline |
To disable and re-enable the resource, the following commands are run:
# clresource disable rscon # clresource enable rscon |
To verify that the resource is re-enabled and that the Start_failed resource status is cleared, the following command is run:
# clresource status === Cluster Resources === Resource Name Node Name Status Message -------------- ---------- ------- ------- rscon phys-schost-1 Online Online phys-schost-2 Offline Offline hastor phys-schost-1 Online Online phys-schost-2 Offline Offline |
The clresource(1CL) man page.