You do not need to remove resource types that are not in use. However, if you want to remove a resource type, follow this procedure.
Perform this procedure from any cluster node.
Removing a resource type involves disabling and removing all resources of that type in the cluster before unregistering the resource type.
To identify all instances of the resource type that you are removing, type the following command:
# scrgadm -pv |
Become superuser on a cluster member.
Disable each resource of the resource type that you are removing.
# scswitch -n -j resource |
Disables the resource
Specifies the name of the resource to disable
Remove each resource of the resource type that you are removing.
# scrgadm -r -j resource |
Removes the specified resource
Specifies the name of the resource to remove
Unregister the resource type.
# scrgadm -r -t resource-type |
Unregisters the specified resource type.
Specifies the name of the resource type to remove.
Verify that the resource type has been removed.
# scrgadm -p |
This example shows how to disable and remove all of the resources of a resource type (resource-type-1) and then unregister the resource type. In this example, resource-1 is a resource of the resource type resource-type-1.
# scswitch -n -j resource-1 # scrgadm -r -j resource-1 # scrgadm -r -t resource-type-1 |
The following man pages: