When the Failover_mode resource property is NONE or SOFT and the STOP of a resource fails, the individual resource goes into the STOP_FAILED state and the resource group into the ERROR_STOP_FAILED state. You cannot bring a resource group in this state on any node online, nor can you edit it (create or delete resources, or change resource group or resource properties).
To complete this procedure, you must supply the following information:
The name of the node where the resource is STOP_FAILED
The name of the resource and resource group in STOP_FAILED state
For additional information, see scswitch(1M).
Perform this procedure from any cluster node.
Become superuser on a node in the cluster.
Identify which resources have gone into the STOP_FAILED state and on which nodes.
# scstat -g |
Manually stop the resources and their monitors on the nodes on which they are in STOP_FAILED state.
This step might require killing processes or running resource type-specific commands or other commands.
Manually set the state of these resources to OFFLINE on all the nodes on which they were manually stopped.
# scswitch -c -h nodelist -j resource-name -f STOP_FAILED |
Clears the flag.
Specifies the node names on which the resource was running.
Specifies the name of the resource to take offline.
Specifies the flag name.
Check the resource group state on the nodes where the STOP_FAILED flag was cleared in Step 4. It should now be OFFLINE or ONLINE.
# scstat -g |
If the resource group remains in the ERROR_STOP_FAILED state, as shown by scstat -g, take the resource group offline on those nodes where it is still in the ERROR_STOP_FAILED state by using the following scswitch command.
# scswitch -F -g resource-group-name |
Takes the resource group offline on all nodes that can master the group.
Specifies the name of the resource group to take offline.
This situation can occur if the resource group was being switched offline when the STOP method failure occurred and the resource that failed to stop had a dependency on other resources in the resource group. Otherwise, the resource group reverts to the ONLINE or OFFLINE state automatically after you have run the command in Step 4 on all STOP_FAILED resources.
Now you can switch the resource group to the ONLINE state.