Sun Cluster Data Services Planning and Administration Guide for Solaris OS

ProcedureHow to Clear a Start_failed Resource State by Restarting a Resource Group


Note –

Perform this procedure from any cluster node.


Before You Begin

Ensure that the following conditions are met:

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

  2. Restart the resource group.


    # clresourcegroup restart -n node resource-group
    
    -n node

    Specifies the name of the node on which the resource group is to be restarted. This resource group is switched offline on all of the other nodes.

    resource-group

    Specifies the name of the resource group to restart.

  3. Verify that the resource group has been restarted on the new node and that the Start_failed resource state is cleared.


    # clresourcegroup status
    

    The output from this command indicates the state of the resource and the resource group that has been restarted.


Example 2–24 Clearing a Start_failed Resource State by Restarting a Resource Group

This example shows how to clear a Start_failed resource state that has occurred on the rscon resource in the resource-group-1 resource group. The command clears this condition by restarting the resource group on the global zone phys-schost-1 .

  1. To verify that the resource is in the Start_failed resource state on phys-schost-1, 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 restart the resource, the following command is run:


    # clresourcegroup restart -n phys-schost-1 –g resource-group-1
    
  3. To verify that the resource group is restarted on phys-schost-1 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       Offline         Offline
     rscon               phys-schost-2       Online          Online
    
     hastor              phys-schost-1       Online          Online
     hastor              phys-schost-2       Offline         Offline

See Also

The clresourcegroup(1CL) man page.