Become superuser on a cluster member.
Run the following command to switch the resource group offline.
# scswitch -F -g resource-group
Switches a resource group offline.
Specifies the name of the resource group to take offline.
Disable all of the resources that are part of the resource group.
You can use the scrgadm -pv command to view the resources in the resource group. Disable all of the resources in the resource group that you will remove.
# scswitch -n -j resource
Disables the resource.
Specifies the name of the resource to disable.
If any dependent data service resources exist in a resource group, you cannot disable the resource until you have disabled all of the resources that depend on it.
Remove all of the resources from the resource group.
Remove the resources.
Remove the resource group.
# scrgadm -r -j resource # scrgadm -r -g resource-group
Removes the specified resource or resource group.
Specifies the name of the resource to be removed.
Specifies the name of the resource group to be removed.
Verify that the resource group has been removed.
# scrgadm -p
This example shows how to remove a resource group (resource-group-1) after you have removed its resource (resource-1).
# scswitch -F -g resource-group-1 # scrgadm -r -j resource-1 # scrgadm -r -g resource-group-1