Go to main content

Planning and Administering Data Services for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: November 2019
 
 

How to Clear a Start_failed Resource State by Disabling and Enabling a Resource

Perform this procedure from any cluster node.


Note -  You can also use the Oracle Solaris Cluster Manager browser interface to disable and enable a resource. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager in Administering an Oracle Solaris Cluster 4.4 Configuration.

Before You Begin

Ensure that you have the name of the resource that you are disabling and enabling.

  1. On a cluster member, assume the root role that provides solaris.cluster.modify RBAC authorization.
  2. Disable and then enable the resource.
    # clresource disable resource
    # clresource enable resource
    resource

    Specifies the name of the resource.

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

Example 30  Clearing a Start_failed Resource State by Disabling and Enabling a Resource

This example shows how to clear a Start_failed resource state that has occurred on the rscon resource by disabling and enabling the resource.

  1. Verify that the resource is in the Start_failed resource state.

    # 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
  2. Disable and re-enable the resource.

    # clresource disable rscon
    # clresource enable rscon
  3. Verify that the resource is re-enabled and that the Start_failed resource status is cleared.

    # 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

See Also

The clresource(8CL) man page.