To identify all resources in the resource group that you are removing, type the following command:
# clresource show -v |
On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.
Run the following command to switch the resource group offline.
# clresourcegroup offline resource-group |
Specifies the name of the resource group to take offline.
Disable all of the resources in the resource group that you are removing.
# clresource disable resource |
Specifies the name of the resource to disable.
Remove all of the resources from the resource group.
For each resource, type the following command.
# clresource delete resource |
Specifies the name of the resource to be removed.
Remove the resource group.
# clresourcegroup delete resource-group |
Specifies the name of the resource group to be removed.
Verify that the resource group has been removed.
# clresourcegroup show |
This example shows how to remove a resource group (resource-group-1) after you have removed its resource (resource-1).
# clresourcegroup offline resource-group-1 # clresource disable resource-1 # clresource delete resource-1 # clresourcegroup delete resource-group-1 |
The following man pages: