Sun Cluster 3.0 U1 Data Services Installation and Configuration Guide

How to Register a Resource Type

To complete this procedure, you must supply the name for the resource type you are registering, which is an abbreviation for the data-service name. This name maps to the name shown on your data-service license certificate. See the Sun Cluster 3.0 U1 Release Notes for the mapping between the names and the license certificate names.

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


Note -

Perform this procedure from any cluster node.


  1. Become superuser on a cluster member.

  2. Register the resource type.


    # scrgadm -a -t resource-type
    
    -a

    Adds the specified resource type.

    -t resource-type

    Specifies name of the resource type to add. See the Sun Cluster 3.0 U1 Release Notes to determine the predefined name to supply.

  3. Verify that the resource type has been registered.


    # scrgadm -pv -t resource-type
    

Example - Registering Resource Types

The following example registers the Sun Cluster HA for iPlanet Web Server data service (internal name iws).


# scrgadm -a -t SUNW.iws
# scrgadm -pv -t SUNW.iws
Res Type name:                                   SUNW.iws
  (SUNW.iws) Res Type description:               None registered
  (SUNW.iws) Res Type base directory:            /opt/SUNWschtt/bin
  (SUNW.iws) Res Type single instance:           False
  (SUNW.iws) Res Type init nodes:                All potential masters
  (SUNW.iws) Res Type failover:                  False
  (SUNW.iws) Res Type version:                   1.0
  (SUNW.iws) Res Type API version:               2
  (SUNW.iws) Res Type installed on nodes:        All
  (SUNW.iws) Res Type packages:                  SUNWschtt

Where to Go From Here

After registering resource types, you can create resource groups and add resources to the resource group. See "Creating a Resource Group" for details.