Sun Cluster Data Services Planning and Administration Guide for Solaris OS

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


Note –

Perform this procedure from any cluster node.


Before You Begin

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

  1. On a cluster member, become superuser or assume a 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 2–25 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. 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
  2. To disable and re-enable the resource, the following commands are run:


    # clresource disable rscon
    # clresource enable rscon
    
  3. 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

See Also

The clresource(1CL) man page.