Yesterday, I ran in to an issue. while trying to switch a resource group in Sun Cluster. The switch took a long time to complete, eventually failing.
When I had a look in to the resource status, it was in stop_failed state and the resource group was in the ERROR_STOP_FAILED state.
Needed to clear the status of the resource in order to proceed further with the activity.
1. Get the status of the resource ; #scstat -g
2. clear the resource ; # scswitch -c -h phys-cluster-1 -j webrs -f STOP_FAILED
Once the resource flag was cleared, the RG went to offline mode. Some times it may not be case, one has manually make the RG offline and then switch it back.
# scswitch -F -g webrg
Was then able to failover the resource group.
# scswitch -z -h phys-cluster1 -g webrg
No comments:
Post a Comment