Oracle® Solaris Cluster Data Services Developer's Guide

Exit Print View

Updated: July 2014, E39646-01
 
 

Description of a Resource Type

    A resource type consists of the following elements:

  • A software component to be run in the cluster

  • Control programs that are used as callback methods by the RGM to manage the software component as a cluster resource

  • A set of properties that form part of the static configuration for the software component on the cluster

The RGM uses resource type properties to manage resources of a particular type.


Note - In addition to a software application, a resource type can represent other system resources, such as network addresses.

You specify the properties for the resource type and set property values in a resource type registration (RTR) file. The RTR file follows the format that is described in Setting Resource and Resource Type Properties and in the rt_reg(4) man page. See also Defining the Resource Type Registration File for a description of a sample RTR file.

Resource Type Properties provides a list of the resource type properties.

The cluster administrator installs and registers the resource type implementation and underlying application on a cluster. The registration procedure enters the information from the RTR file into the cluster configuration. The Oracle Solaris Cluster Data Services Planning and Administration Guide describes the procedure for registering a data service.