Table A-3 describes the resource-group properties that Sun Cluster defines. The property values are categorized as follows (in the Category column).
Required - The administrator must specify a value when creating a resource group with an administrative utility.
Optional - If the administrator does not specify a value when creating a resource group, the system supplies a default value.
Query-only - An administrative tool cannot set the property directly.
The Updatable column shows whether the property is updatable (Y) or not (N) after the property is initially set.
Table A-3 Resource-Group Properties
Property Name |
Description |
Updatable |
Category |
---|---|---|---|
Desired_primaries (integer) |
The number of nodes where the group is desired to be online at once.
The default is 1. If the RG_mode property is Failover, the value of this property must be no greater than 1. If the RG_mode property is Scalable, a value greater than 1 is allowed. |
Y |
Optional |
Failback (Boolean) |
A Boolean value that indicates whether to recalculate the set of nodes where the group is online when the cluster membership changes. A recalculation can cause the RGM to bring the group offline on less preferred nodes and online on more preferred nodes.
The default is False. |
Y |
Optional |
Global_resources_used (string array) |
Indicates whether any resource in this resource group uses cluster file systems. Legal values that the administrator can specify are an asterisk (*) to indicate all global resources, and the empty string ("") to indicate no global resources.
The default is all global resources. |
Y |
Optional |
Implicit_network_ dependencies (Boolean) |
A Boolean value that indicates, when True, that the RGM should enforce implicit strong dependencies of non-network-address resources on network-address resources within the group. Network-address resources include the logical hostname and shared address resource types.
In a scalable resource group, this property has no effect because a scalable resource group does not contain any network-address resources.
The default is True. |
Y |
Optional |
Maximum_primaries (integer) |
The maximum number of nodes where the group might be online at once.
The default is 1. If the RG_mode property is Failover, the value of this property must be no greater than 1. If the RG_mode property is Scalable, a value greater than 1 is allowed. |
Y |
Optional |
Nodelist (string array) |
A list of cluster nodes where the group can be brought online in order of preference. These nodes are known as the potential primaries or masters of the resource group.
The default is the list of all cluster nodes. |
Y |
Optional |
Pathprefix (string) |
A directory in the cluster file system in which resources in the group can write can write essential administrative files. Some resources might require this property. Make Pathprefix unique for each resource group.
The default is the empty string. |
Y |
Optional |
Pingpong_interval (integer) |
A non-negative integer value (in seconds) that the RGM uses to determine where to bring the resource group online in a reconfiguration or as the result of an scha_control giveover command or function being executed.
In a reconfiguration, if the resource group fails to come online more than once within the past Pingpong_interval seconds on a particular node (because the resource's START or PRENET_START method exited non-zero or timed out), that node is considered ineligible to host the resource group and the RGM looks for another master.
If a call to a resource's scha_control(1ha)(3ha) command or function causes the resource group to be brought offline on a particular node within the past Pingpong_interval seconds, that node is ineligible to host the resource group as the result of a subsequent call to scha_control originating from another node.
The default value is 3,600 (one hour). |
Y |
Optional |
Resource_list (string array) |
The list of resources that are contained in the group. The administrator does not set this property directly. Rather, the RGM updates this property as the administrator adds or removes resources from the resource group.
The default is the empty list. |
N |
Query-only |
RG_dependencies (string array) |
Optional list of resource groups indicating a preferred ordering for bringing other groups online or offline on the same node. Has no effect if the groups are brought online on different nodes.
The default is the empty list. |
Y |
Optional |
RG_description (string) |
A brief description of the resource group.
The default is the empty string. |
Y |
Optional |
RG_mode (enum) |
Indicates whether the resource group is a failover or scalable group. If the value is Failover, the RGM sets the Maximum_primaries property of the group to 1 and restricts the resource group to being mastered by a single node.
If the value of this property is Scalable, the RGM allows the Maximum_primaries property to have a value greater than 1, meaning that multiple nodes can master the group simultaneously. The RGM does not allow a resource whose Failover property is True to be added to a resource group whose RG_mode is Scalable.
The default is Failover if Maximum_primaries is 1 and Scalable if Maximum_primaries is greater than 1. |
N |
Optional |
RG_name (string) |
The name of the resource group. Must be unique within the cluster. |
N |
Required |
RG_state, on each cluster node (enum) |
The RGM sets to Online, Offline, Pending_online, Pending_offline or Error_stop_failed to describe the state of the group on each cluster node. A group can also exist in an unmanaged state when the group is not under the control of the RGM.
This property is not user configurable.
The default is Offline. |
N |
Query-only |