Sun Cluster Data Services Planning and Administration Guide for Solaris OS

Reregistering Preregistered Resource Types After Inadvertent Deletion

The resource types SUNW.LogicalHostname and SUNW.SharedAddress are preregistered. All of the logical hostname and shared address resources use these resource types. You never need to register these two resource types, but you might inadvertently delete them. If you have deleted resource types inadvertently, use the following procedure to reregister them.


Note –

If you are upgrading a preregistered resource type, follow the instructions in Upgrading a Preregistered Resource Type to register the new resource type version.



Note –

Perform this procedure from any cluster node.


ProcedureHow to Reregister Preregistered Resource Types After Inadvertent Deletion

Step

    Reregister the resource type.


    # scrgadm -a -t SUNW.resource-type
    
    -a

    Adds a resource type.

    -t SUNW.resource-type

    Specifies the resource type to add (reregister). The resource type can be either SUNW.LogicalHostname or SUNW.SharedAddress.


Example 2–25 Reregistering a Preregistered Resource Type After Inadvertent Deletion

This example shows how to reregister the SUNW.LogicalHostname resource type.


# scrgadm -a -t SUNW.LogicalHostname

See Also

The scrgadm(1M) man page.