Sun Cluster Data Services Planning and Administration 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 rt-version.

The variable elements in this format are as follows:

vendor-id

Specifies the vendor ID prefix, which is the value of the Vendor_id resource type property in the RTR file. If you are developing a resource type, choose a vendor ID prefix that uniquely identifies the vendor, such as your company's stock ticker symbol. For example, the vendor ID prefix of resource types that are developed by Sun Microsystems, Inc. is SUNW.

base-rt-name

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

rt-version

Specifies the version suffix, which 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 the Sun Cluster product.


Note –

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


For more information, see Resource Type Properties.


Example C–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 C–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