Go to main content

Developing Data Services

Exit Print View

Updated: August 2018

Resource Type Registration File

The Resource Type Registration (RTR) file specifies the details about the resource type to the Oracle Solaris Cluster software.

    Details include information as follows:

  • Properties that are needed by the implementation

  • The data types and default values of those properties

  • The file system path for the callback methods for the resource type implementation

  • Various settings for the system-defined properties

The sample RTR file that is shipped with the DSDL is sufficient for most resource type implementations. You need only edit some basic elements, such as the resource type name and the path name of the resource type callback methods. If a new property is needed to implement the resource type, you can declare it as an extension property in the RTR file of the resource type implementation, and access the new property by using the DSDL scds_get_ext_property() function.