Sun Cluster Data Services Developer's Guide for Solaris OS

Property Variables

You can retrieve the values of selected Sun Cluster resource, resource type, and resource group properties from the RGM framework by using property variables. Agent Builder scans your start, probe, or stop script for property variables and substitutes these variables with their values before Agent Builder launches the script.


Note –

Property variables are not supported for use with Korn shell-based services.


List of Property Variables

The following list includes the property variables that you can use with your scripts. Sun Cluster resource, resource type, and resource group properties are described in Appendix A, Standard Properties.

The following list includes resource property variables:

The following list includes resource type property variables:

The following list includes resource group property variables:

Syntax of Property Variables

You include a percent sign (%) before a property name to indicate a property variable, as shown in this example.


# /opt/network_aware/echo_server -t %RS_STOP_TIMEOUT -n %RG_NODELIST

Given the preceding example, Agent Builder might interpret these property variables and launch the echo_server script with the following values.


# /opt/network_aware/echo_server -t 300 -n phys-node-1,phys-node-2,phys-node-3

How Agent Builder Substitutes Property Variables

The following list describes how Agent Builder interprets the types of property variables: