Table A–3 describes the resource group properties defined by Sun Cluster.
Table A–3 Resource Group Properties
Property Name |
Description |
---|---|
Auto_start_on_new_cluster (Boolean) |
This property controls whether the Resource Group Manager starts the resource group automatically when a new cluster is forming. The default is TRUE. If set to TRUE, the Resource Group Manager attempts to start the resource group automatically to achieve Desired_primaries when all the nodes of the cluster are simultaneously rebooted. If set to FALSE, the Resource Group does not start automatically when the cluster is rebooted. Category: Optional Default: True Tunable: Any time |
Desired_primaries (integer) |
The desired number of nodes that the group can run on simultaneously. 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. Category: Optional Default: 1, see above Tunable: Any time |
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. Category: Optional Default: False Tunable: Any time |
Global_resources_used (string array) |
Indicates whether cluster file systems are used by any resource in this resource group. Legal values that the administrator can specify are an asterisk (*) to indicate all global resources, and the empty string (“”) to indicate no global resources. Category: Optional Default: All global resources Tunable: Any time |
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. This means that the RGM starts all network-address resources before all other resources and stops network address resources after all other resources within the group. Network-address resources include the logical host name 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. Category: Optional Default: True Tunable: When disabled |
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. Category: Optional Default: 1, see above Tunable: Any time |
Nodelist (string array) |
A comma-separated 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. Category: Optional Default: The list of all cluster nodes in arbitrary order Tunable: Any time |
Pathprefix (string) |
A directory in the cluster file system that resources in the group can write essential administrative files in. Some resources might require this property. Make Pathprefix unique for each resource group. Category: Optional Default: The empty string Tunable: Any time |
Pingpong_interval (integer) |
A non-negative integer value (in seconds) used by the RGM to determine where to bring the resource group online in the event of a reconfiguration or as the result of an scha_control giveover command or function being executed. In the event of 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) command or scha_control(3HA) 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. Category: Optional Default: 3,600 (one hour) Tunable: Any time |
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 when the administrator adds or removes resources from the resource group. Category: Query-only Default: The empty list Tunable: Never |
RG_dependencies (string array) |
A comma-separated list of resource groups that this group depends on. This list indicates a preferred order for bringing other groups online or offline on the same node. It has no effect if the groups are brought online on different nodes. Category: Optional Default: The empty list Tunable: Any time |
RG_description (string) |
A brief description of the resource group. Category: Optional Default: The empty string Tunable: Any time |
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 the group can be mastered by multiple nodes simultaneously. Note: The RGM does not allow a resource whose Failover property is True to be added to a resource group whose RG_mode is Scalable. Category: Optional Default: Failover if Maximum_primaries is 1 Scalable if Maximum_primaries is greater than 1. Tunable: Never |
RG_name (string) |
The name of the resource group. This property is required and must be unique within the cluster. Category: Required Default: No Default Tunable: Never |
RG_project_name |
The Solaris project name associated with the resource group. Use this property to apply Solaris resource management features such as CPU shares and resource pools to cluster data services. When the RGM brings resource groups online, it launches the related processes under this project name for resources that do not have the Resource_project_name property set. The specified project name must exist in the projects database (see appropriate SRM man page), and the user root must be configured as a member of the named project. This property is supported in Solaris 9 and later releases. For more information on Solaris project names, see System Administration Guide: Resource Management and Network Services.
Category: Optional Default: Default, see above Tunable: Any time |
RG_state: on each cluster node (enum) |
Set by the RGM 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 it is not under the control of the RGM. This property is not user configurable. Category: Query-only Default: Offline Tunable: Never |