Sun Cluster Data Services Planning and Administration Guide for Solaris OS

Removing Resources

Disable the resource before you remove it from a resource group.


Note –

Perform this procedure from any cluster node.


ProcedureHow to Remove a Resource

Steps
  1. Become superuser on a cluster member.

  2. Disable the resource that you are removing.


    # scswitch -n -j resource
    
    -n

    Disables the resource

    -j resource

    Specifies the name of the resource to disable

  3. Remove the resource.


    # scrgadm -r -j resource
    
    -r

    Removes the specified resource

    -j resource

    Specifies the name of the resource to remove

  4. Verify that the resource has been removed.


    # scrgadm -p
    

Example 2–16 Removing a Resource

This example shows how to disable and remove a resource (resource-1).


# scswitch -n -j resource-1
# scrgadm -r -j resource-1

See Also

The following man pages: