RGM names fall into the following categories.
Resource group names
Resource type names
Resource names
Property names
Enumeration literal names
Except for resource type names, all names must comply with the following rules.
Must be in ASCII
Must start with a letter
Can contain uppercase and lowercase letters, digits, dashes (-), and underscores (_)
Must not exceed 255 characters
The format of the complete name of a resource type depends on the resource type as follows:
If the resource type's resource type registration (RTR) file contains the #$upgrade directive, the format is as follows:
vendor-id.base-rt-name:version |
If the resource type's RTR file does not contain the #$upgrade directive, the format is as follows:
vendor-id.base-rt-name |
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:
Specifies the vendor ID prefix. The vendor ID prefix is the value of the Vendor_id resource type property in the RTR file.
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.
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.
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.
This example shows the complete name of a resource type for which properties in the RTR file are set as follows:
Vendor_id=SUNW
Resource_type=sample
RT_version=2.0
The complete name of the resource type that is defined by this RTR file is as follows:
SUNW.sample:2.0 |
This example shows the complete name of a resource type for which properties in the RTR file are set as follows:
Vendor_id=SUNW
Resource_type=nfs
The complete name of the resource type that is defined by this RTR file is as follows:
SUNW.nfs |