Sun Cluster Data Services Developer's Guide for Solaris OS

Format of Resource Type Names

The format of the complete name of a resource type depends on the resource type as follows:

A period separates vendor-id and base-rt-name. A colon separates base-rt-name and version.

The variable items in this format are as follows:

vendor-id

Specifies the vendor ID prefix. The vendor ID prefix is the value of the Vendor_id resource type property in the RTR file.

base-rt-name

Specifies the base resource type name. The base resource type name is the value of the Resource_type resource type property in the RTR file.

version

Specifies the version suffix. The version suffix is the value of the RT_version resource type property in the RTR file. The version suffix is only part of the complete resource type name if the RTR file contains the #$upgrade directive. The #$upgrade directive was introduced in release 3.1 of Sun Cluster.


Note –

If only one version of a base resource type name is registered, you do not have to use the complete name in scrgadm(1M) commands. You can omit the vendor ID prefix, the version number suffix, or both the prefix and the suffix.


For more information about resource type properties, see Resource Type Properties.


Example D–1 Complete Name of a Resource Type With the #$upgrade Directive

This example shows the complete name of a resource type for which properties in the RTR file are set as follows:

The complete name of the resource type that is defined by this RTR file is as follows:


SUNW.sample:2.0


Example D–2 Complete Name of a Resource Type Without the #$upgrade Directive

This example shows the complete name of a resource type for which properties in the RTR file are set as follows:

The complete name of the resource type that is defined by this RTR file is as follows:


SUNW.nfs