Sun Cluster Data Services Planning and Administration Guide for Solaris OS

Reregistering Preregistered Resource Types After Inadvertent Deletion

Two preregistered resource types are SUNW.LogicalHostname and SUNW.SharedAddress. 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 accidentally 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.


See the scrgadm(1M) man page for additional information.


Note –

Perform this procedure from any cluster node.


How to Reregister Preregistered Resource Types After Inadvertent Deletion

    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 – Reregistering a Preregistered Resource Type After Inadvertent Deletion

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


# scrgadm -a -t SUNW.LogicalHostname