JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Reference Manual     Oracle Solaris Cluster 4.0
search filter icon
search icon

Document Information

Preface

Introduction

OSC40 1

OSC40 1cl

OSC40 1ha

OSC40 1m

OSC40 3ha

OSC40 4

OSC40 5

crs_framework(5)

derby(5)

property_attributes(5)

Proxy_SMF_failover(5)

Proxy_SMF_multimaster(5)

Proxy_SMF_scalable(5)

rac_framework(5)

rg_properties(5)

r_properties(5)

rt_properties(5)

scalable_service(5)

ScalDeviceGroup(5)

ScalMountPoint(5)

SCTelemetry(5)

SUNW.crs_framework(5)

SUNW.derby(5)

SUNW.Event(5)

SUNW.gds(5)

SUNW.HAStoragePlus(5)

SUNW.Proxy_SMF_failover(5)

SUNW.Proxy_SMF_multimaster(5)

SUNW.Proxy_SMF_scalable(5)

SUNW.rac_framework(5)

SUNW.ScalDeviceGroup(5)

SUNW.ScalMountPoint(5)

SUNW.SCTelemetry(5)

SUNW.vucmm_framework(5)

SUNW.vucmm_svm(5)

vucmm_framework(5)

vucmm_svm(5)

OSC40 5cl

OSC40 7

OSC40 7p

Index

rt_properties

- resource-type properties

Description

The following information describes the resource-type properties that are defined by Oracle Solaris Cluster software. These descriptions have been developed for data service developers. For information about a particular data service, see the man page for that data service.

Resource-Type Property Values

Required

The property requires an explicit value in the Resource Type Registration (RTR) file. Otherwise, the object to which the property belongs cannot be created. A blank or the empty string is not allowed as a value.

Conditional

To exist, the property must be declared in the RTR file. Otherwise, the RGM does not create the property, and the property is not available to administrative utilities. A blank or the empty string is allowed. If the property is declared in the RTR file but no value is specified, the RGM supplies a default value.

Conditional/Explicit

To exist, the property must be declared in the RTR file with an explicit value. Otherwise, the RGM does not create the property and the property is not available to administrative utilities. A blank or the empty string is not allowed.

Optional

The property can be declared in the RTR file. If the property is not declared in the RTR file, the RGM creates it and supplies a default value. If the property is declared in the RTR file but no value is specified, the RGM supplies the same default value as if the property were not declared in the RTR file.

Query-only

The property cannot be set directly by an administrative utility. The property is not set in the RTR file. The value of the property is provided for information only.


Note - Resource-type properties cannot be updated by administrative utilities with the exception of Installed_nodes and RT_system. Installed_nodes cannot be declared in the RTR file and can only be set by the cluster administrator. RT_system can be assigned an initial value in the RTR file, and can also be set by the cluster administrator.


Resource-Type Properties and Descriptions

A resource type is defined by a resource-type registration file that specifies standard and extension property values for the resource type.


Note - resource-type property names, such as API_version and Boot, are not case sensitive. You can use any combination of uppercase and lowercase letters when you specify property names.


API_version (integer)

The version of the resource management API that is used by this resource-type implementation.

The following information summarizes the maximum API_version that is supported by each release of Oracle Solaris Cluster software.

Before and up to 3.1

2

3.1 10/03

3

3.1 4/04

4

3.1 9/04

5

3.1 8/05

6

3.2

7

3.2 2/08

8

3.2 1/09

9

3.2 11/09

10

3.3

11

3.3 5/11

12

4.0 11/11

20

Declaring a value for API_version that is greater than 2 in the RTR file prevents that resource type from being installed on a version of Oracle Solaris Cluster software that supports a lower maximum version. For example, if you declare API_version=7 for a resource type, that resource type cannot be installed on any version of the cluster software that was released before the Sun Cluster 3.2 release.

Category

Optional

Default

2

Tunable

Never

Boot (string)

An optional callback method: the path to the program that the RGM invokes on a node when the following conditions occur:

  • The node joins or rejoins the cluster.

  • The resource group that contains the resource of this type is managed.

This method is expected to initialize resources of this type as the Init method does.

Category

Conditional/Explicit

Default

None

Tunable

Never

Failover (boolean)

If you set this property to TRUE, resources of this type cannot be configured in any group that can be online on multiple nodes at the same time.

You use this resource-type property in combination with the Scalable resource property, as follows:

Failover
Scalable
Description
TRUE
TRUE
Do not specify this illogical combination.
TRUE
FALSE
Specify this combination for a failover service.
FALSE
TRUE
Specify this combination for a scalable service that uses a SharedAddress resource for network load balancing.
FALSE
FALSE
Use this combination to select a multi-master service that does not use network load balancing.

The description for Scalable in r_properties(5).

Category

Optional

Default

FALSE

Tunable

Never

Fini (string)

An optional callback method: the path to the program that the RGM invokes when a resource of this type is removed from RGM management.

Category

Conditional/Explicit

Default

No default

Tunable

Never

Global_zone (boolean)

If you set this property to TRUE for a resource type, its methods execute in the global zone under all circumstances. If you set this property to TRUE, the method executes in the global zone. Set this property to TRUE only for services that can be managed only from the global zone, such as network addresses and file systems.


Caution

Caution - Do not register a resource type for which the Global_zone property is set to TRUE unless the resource type comes from a known and trusted source. Resource types for which this property is set to TRUE circumvent zone isolation and present a risk.

Do not set the Global_zone property to TRUE in an RTR file that is located in a zone cluster. All resource types for which this property is set to TRUE must be located in the global-cluster global zone.


A resource type that declares Global_zone=TRUE might also declare the Global_zone_override resource property. In that case, the value of the Global_zone_override property supersedes the value of the Global_zone property for that resource. For more information about the Global_zone_override property, see the r_properties(5) man page.

Category

Optional

Default

FALSE

Tunable

Never

Init (string)

An optional callback method: the path to the program that the RGM invokes when a resource of this type becomes managed by the RGM.

Category

Conditional/Explicit

Default

No default

Tunable

Never

Init_nodes (enum)

Indicates the nodes on which the RGM is to call the Init, Fini, Boot, and Validate methods. You can set this property to RG_primaries (just the nodes that can master the resource) or RT_installed_nodes (all nodes on which the resource type is installed).

Category

Optional

Default

RG_primaries

Tunable

Never

Installed_nodes (string_array)

A list of the names of nodes on which the resource type is allowed to run. The RGM automatically creates this property. The cluster administrator can set the value. You cannot declare this property in the RTR file.

Category

Can be configured by the cluster administrator

Default

All cluster nodes

Tunable

Any time

Is_logical_hostname (boolean)

TRUE indicates that this resource type is some version of the LogicalHostname resource type that manages failover IP addresses.

Category

Query-only

Default

No default

Tunable

Never

Is_shared_address (boolean)

TRUE indicates that this resource type is some version of the SharedAddress resource type that manages shared IP (Internet Protocol) addresses.

Category

Query-only

Default

No default

Tunable

Never

Monitor_check (string)

An optional callback method: the path to the program that the RGM invokes before doing a monitor-requested failover of a resource of this type. If the monitor-check program exits with nonzero on a node, any attempt to fail over to that node is prevented.

Category

Conditional/Explicit

Default

No default

Tunable

Never

Monitor_start (string)

An optional callback method: the path to the program that the RGM invokes to start a fault monitor for a resource of this type.

Category

Conditional/Explicit

Default

No default

Tunable

Never

Monitor_stop (string)

A callback method that is required if Monitor_start is set: the path to the program that the RGM invokes to stop a fault monitor for a resource of this type.

Category

Conditional/Explicit

Default

No default

Tunable

Never

Pkglist (string_array)

An optional list of packages that are included in the resource-type installation.

Category

Conditional/Explicit

Default

No default

Tunable

Never

Postnet_stop (string)

An optional callback method: the path to the program that the RGM invokes after calling the Stop method of any network-address resources on which a resource of this type depends. This method is expected to perform Stop actions that must be performed after network interfaces are configured down.

Category

Conditional/Explicit

Default

No default

Tunable

Never

Prenet_start (string)

An optional callback method: the path to the program that the RGM invokes before calling the Start method of any network-address resources on which a resource of this type depends. This method is expected to perform Start actions that must be performed before network interfaces are configured up.

Category

Conditional/Explicit

Default

No default

Tunable

Never

Proxy (boolean)

Indicates whether a resource of this type is a proxy resource.

A proxy resource is an Oracle Solaris Cluster resource that imports the state of a resource from another cluster framework such as Oracle Clusterware. Oracle Clusterware is a platform-independent set of system services for cluster environments.

A proxy resource type uses the Prenet_start method to start a daemon that monitors the state of the external (proxied) resource. The Postnet_stop method stops the monitoring daemon. The monitoring daemon issues the scha_control command with the CHANGE_STATE_ONLINE or the CHANGE_STATE_OFFLINE tag to set the proxy resource's state to Online or to Offline, respectively. The scha_control() function similarly uses the SCHA_CHANGE_STATE_ONLINE and SCHA_CHANGE_STATE_OFFLINE tags.

If you set this property to TRUE, the resource is a proxy resource.

Category

Optional

Default

FALSE

Tunable

Never

Resource_list (string_array)

The list of all resources of the resource type. The administrator does not set this property directly. Rather, the RGM updates this property when the administrator adds or removes a resource of this type to or from any resource group.

Category

Query-only

Default

Empty list

Tunable

Never

Resource_type (string)

The name of the resource type. To view the names of the currently registered resource types, type:

clresourcetype list

A resource-type name includes the version, which is mandatory:

vendor_id.resource_type:version

The three components of the resource-type name are properties that are specified in the RTR file as vendor-id, resource-type, and RT-version. The clresourcetype command inserts the period (.) and colon (:) delimiters. The RT_version suffix of the resource-type name is the same value as the RT_version property. To ensure that the vendor-id is unique, the recommended approach is to use the stock symbol for the company creating the resource type.

Category

Required

Default

Empty string

Tunable

Never

RT_basedir (string)

The directory path that is used to complete relative paths for callback methods. This path is expected to be set to the installation location for the resource-type packages. The path must be a complete path, that is, the path must start with a forward slash (/). This property is not required if all the method path names are absolute.

Category

Required, unless all method path names are absolute

Default

No default

Tunable

Never

RT_description (string)

A brief description of the resource type.

Category

Conditional

Default

Empty string

Tunable

Never

RT_system (boolean)

If you set this property to TRUE for a resource type, you cannot delete the resource type (clresourcetype unregister resource-type-name). This property is intended to help prevent accidental deletion of resource types, such as LogicalHostname, that are used to support the cluster infrastructure. However, you can apply the RT_system property to any resource type.

To delete a resource type whose RT_system property is set to TRUE, you must first set the property to FALSE. Use care when you delete a resource type whose resources support cluster services.

Category

Optional

Default

FALSE

Tunable

Any time

RT_version (string)

A mandatory version string that identifies this resource-type implementation. The RT_version is the suffix component of the full resource-type name.

Category

Conditional/Explicit or Required

Default

No default

Tunable

Never

Single_instance (boolean)

If you set this property to TRUE, the RGM allows only one resource of this type to exist in the cluster.

Category

Optional

Default

FALSE

Tunable

Never

Start (string)

A callback method: the path to the program that the RGM invokes to start a resource of this type.

Category

Required, unless the RTR file declares a Prenet_start method

Default

No default

Tunable

Never

Stop (string)

A callback method: the path to the program that the RGM invokes to stop a resource of this type.

Category

Required, unless the RTR file declares a Postnet_stop method

Default

No default

Tunable

Never

Update (string)

An optional callback method: the path to the program that the RGM invokes when properties of a running resource of this type are changed.

Category

Conditional/Explicit

Default

No default

Tunable

Never

Validate (string)

An optional callback method: the path to the program that the RGM invokes to check values for properties of resources of this type.

Category

Conditional/Explicit

Default

No default

Tunable

Never

Vendor_ID (string)

See the Resource_type property.

Category

Conditional

Default

No default

Tunable

Never

See Also

clresource(1CL), clresourcegroup(1CL), clresourcetype(1CL), rt_reg(4), SUNW.HAStoragePlus(5), property_attributes(5), r_properties(5), rg_properties(5), scha_control(1HA), scha_control(3HA).

Oracle Solaris Cluster Data Services Planning and Administration Guide