Resources and Resource Groups

Resource Types

A resource type is a collection of properties that describe an application to the cluster. These properties includes information about how the application is to be started, stopped, and monitored on nodes of the cluster. A resource type also includes application-specific properties that need to be defined so that the application can be used in the cluster. Sun Cluster data services have several predefined resource types. For example, Sun Cluster HA for Oracle is the resource type SUNW.oracle-server, and Sun Cluster HA for Apache is the resource type SUNW.apache.

Jump to Top of PageBack to top

Resources

A resource is an instance of a resource type that is defined cluster wide. The resource type enables multiple instances of an application to be installed on the cluster. When you initialize a resource, the resource group manager (RGM) assigns values to application-specific properties and the resource inherits any properties from the resource type .

Data services use several types of resources. Applications such as Apache Web Server or Sun Java System Web Server use network addresses (logical hostnames and shared addresses) on which the applications depend. Application and network resources form a basic unit that is managed by the RGM.

Jump to Top of PageBack to top

Resource Groups
Resources that are managed by the RGM are placed into resource groups so that they can be managed as a unit. A resource group is a set of related or interdependent resources. For example, a resource derived from a SUNW.LogicalHostname resource type might be placed in the same resource group as a resource derived from an Oracle database resource type. A resource group migrates as a unit if a failover or switchover is initiated on the resource group.
Jump to Top of PageBack to top