Sun Cluster Data Services Developer's Guide for Solaris OS

Using Property Variables

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


Note –

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


List of Property Variables

This section lists the property variables that you can use. The Sun Cluster resource type, resource, and resource group properties are described in Appendix A, Standard Properties.

Resource Property Variables

Resource Type Property Variables

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 start 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

Agent Builder interprets the types of property variables, as follows: