Symantec logo

Service group attributes

Service group attributes lists the service group attributes.

Service group attributes

Service Group Attributes

Definition

ActiveCount 

(system use only) 

Number of resources in a service group that are active (online or waiting to go online). When the number drops to zero, the service group is considered offline. 

  • Type and dimension: integer-scalar
  • Default: Not applicable.

AdministratorGroups 

(user-defined) 

List of operating system user account groups that have administrative privileges on the service group.  

This attribute is valid only in secure clusters.  

  • Type and dimension: string-keylist
  • Default: ""

Administrators 

(user-defined) 

List of VCS users with privileges to administer the group.  


  Note   A Group Administrator can perform all operations related to a specific service group, but cannot perform generic cluster operations.


See About the VCS user privilege model

  • Type and dimension: string-keylist
  • Default: ""

Authority 

(user-defined) 

Indicates whether or not the local cluster is allowed to bring the service group online. If set to 0, it is not, if set to 1, it is. Only one cluster can have this attribute set to 1 for a specific global group.  

See Serialization-The authority attribute

  • Type and dimension: integer-scalar
  • Default: 0

AutoDisabled 

(system use only) 

Indicates that VCS does not know the status of a service group (or specified system for parallel service groups). This could occur because the group is not probed (on specified system for parallel groups) in the SystemList attribute. Or the VCS engine is not running on a node designated in the SystemList attribute, but the node is visible. 

  • Type and dimension: boolean-scalar
  • Default: 0

AutoFailOver 

(user-defined) 

Indicates whether VCS initiates an automatic failover if the service group faults. 

  • Type and dimension: boolean-scalar
  • Default: 1 (enabled)

AutoRestart 

(user-defined) 

Restarts a service group after a faulted persistent resource becomes online.  

See About service group dependencies


  Note   This attribute applies only to service groups containing persistent resources.


  • Type and dimension: boolean-scalar
  • Default: 1 (enabled)

AutoStart 

(user-defined) 

Designates whether a service group is automatically started when VCS is started.  

  • Type and dimension: boolean-scalar
  • Default: 1 (enabled)

AutoStartIfPartial 

(user-defined) 

Indicates whether to initiate bringing a service group online if the group is probed and discovered to be in a partial state when VCS is started. 

  • Type and dimension: boolean-scalar
  • Default: 1 (enabled)

AutoStartList 

(user-defined) 

List of systems on which, under specific conditions, the service group will be started with VCS (usually at system boot). For example, if a system is a member of a failover service group's AutoStartList attribute, and if the service group is not already running on another system in the cluster, the group is brought online when the system is started. 

VCS uses the AutoStartPolicy attribute to determine the system on which to bring the service group online. 


  Note   For the service group to start, AutoStart must be enabled and Frozen must be 0. Also, beginning with 1.3.0, you must define the SystemList attribute prior to setting this attribute.


  • Type and dimension: string-keylist
  • Default: "" (none)

AutoStartPolicy 

(user-defined) 

Sets the policy VCS uses to determine on which system to bring a service group online if multiple systems are available. 

This attribute has three options: 

Order (default)—Systems are chosen in the order in which they are defined in the AutoStartList attribute. 

Load—Systems are chosen in the order of their capacity, as designated in the AvailableCapacity system attribute. System with the highest capacity is chosen first. 

Priority—Systems are chosen in the order of their priority in the SystemList attribute. Systems with the lowest priority is chosen first. 

  • Type and dimension: string-scalar
  • Default: Order

ClusterFailOverPolicy 

(user-defined) 

 

Determines how a global service group behaves when a cluster faults. The attribute can take the following values: 

Manual—The group does not fail over to another cluster automatically. 

Auto—The group fails over to another cluster automatically if it is unable to fail over within the local cluster, or if the entire cluster faults.  

Connected—The group fails over automatically to another cluster only if it is unable to fail over within the local cluster. 

  • Type and dimension: string-scalar
  • Default: Manual

ClusterList 

(user-defined) 

Specifies the list of clusters on which the service group is configured to run. 

  • Type and dimension: integer-association
  • Default: Not applicable.

CurrentCount 

(system use only) 

Number of systems on which the service group is active. 

  • Type and dimension: integer-scalar
  • Default: Not applicable.

DeferAutoStart 

(system use only) 

Indicates whether HAD defers the auto-start of a local group in case the global cluster is not fully connected. 

  • Type and dimension: boolean-scalar
  • Default: Not applicable

Enabled 

(user-defined) 

Indicates if a group can be failed over or brought online. If any of the local values are disabled, the group is disabled. 

  • Type and dimension: boolean-scalar
  • Default: 1 (enabled)

Evacuate 

(user-defined) 

Indicates if VCS initiates an automatic failover when user issues hastop -local -evacuate

  • Type and dimension: boolean-scalar
  • Default: 1

Evacuating 

(system use only) 

Indicates the node ID from which the service group is being evacuated. 

  • Type and dimension: integer-scalar
  • Default: Not applicable

Failover 

(system use only) 

Indicates service group is in the process of failing over. 

  • Type and dimension: boolean-scalar
  • Default: Not applicable

FailOverPolicy 

(user-defined) 

Sets the policy VCS uses to determine which system a group fails over to if multiple systems exist. This attribute can take the following values: 

Priority—The system defined as the lowest priority in the SystemList attribute is chosen. 

Load—The system defined with the least value in the system's Load attribute is chosen. 

RoundRobin—Systems are chosen according to how many active service groups they are hosting. The system with the least number of active service groups is chosen first. 

  • Type and dimension: string-scalar
  • Default: Priority

FaultPropagation 

(user-defined) 

Specifies if VCS should propagate the fault up to parent resources and take the entire service group offline when a resource faults.  

The value 1 indicates that when a resource faults, VCS fails over the service group, if the group's AutoFailOver attribute is set to 1. If The value 0 indicates that when a resource faults, VCS does not take other resources offline, regardless of the value of the Critical attribute. The service group does not fail over on resource fault. 

  • Type and dimension: boolean-scalar
  • Default: 1

FromQ 

(system use only) 

Indicates the system name from which the service group is failing over. This attribute is specified when service group failover is a direct consequence of the group event, such as a resource fault within the group or a group switch. 

  • Type and dimension: string-association
  • Default: Not applicable

Frozen 

(user-defined) 

Disables all actions, including autostart, online and offline, and failover, except for monitor actions performed by agents. (This convention is observed by all agents supplied with VCS.) 

  • Type and dimension: boolean-scalar
  • Default: 0 (not frozen)

GroupOwner 

(user-defined) 

VCS sends email notification to the person designated in this attribute when an event occurs related to the service group. VCS also logs the owner name when an event occurs. 

  • Type and dimension: string-scalar
  • Default: If GroupOwner is not specified in main.cf, the default value is "unknown".

Guests 

(user-defined) 

List of operating system user account groups that have Guest privileges on the service group. 

This attribute is valid only in secure clusters.  

  • Type and dimension: string-keylist
  • Default: ""

IntentOnline 

(system use only) 

Indicates whether to keep service groups online or offline.  

VCS sets this attribute to 1 if an attempt has been made to bring the service group online.  

For failover groups, VCS sets this attribute to 0 when the group is taken offline.  

For parallel groups, it is set to 0 for the system when the group is taken offline or when the group faults and can fail over to another system. 

VCS sets this attribute to 2 for failover groups if VCS attempts to autostart a service group; for example, attempting to bring a service group online on a system from AutoStartList. 

  • Type and dimension: integer-scalar
  • Default: Not applicable.

LastSuccess 

(system use only) 

Indicates the time when service group was last brought online. 

  • Type and dimension: integer-scalar
  • Default: Not applicable

Load 

(user-defined) 

Integer value expressing total system load this group will put on a system. 

For example, the administrator may assign a value of 100 to a large production SQL and 15 to a Web server. 

  • Type and dimension: integer-scalar
  • Default: 0

ManageFaults 

(user-defined) 

Specifies if VCS manages resource failures within the service group by calling the Clean entry point for the resources. This attribute can take the following values.  

NONE—VCS does not call the Clean entry point for any resource in the group. User intervention is required to handle resource faults.  

SeeControlling Clean behavior on resource faults

  • Type and dimension: string-scalar
  • Default: ALL

ManualOps 

(user-defined) 

Indicates if manual operations are allowed on the service group. 

  • Type and dimension: boolean-scalar
  • Default = 1 (enabled)

MigrateQ 

(system use only) 

Indicates the system from which the service group is migrating. This attribute is specified when group failover is an indirect consequence (in situations such as a system shutdown or another group faults and is linked to this group). 

  • Type and dimension: string-association
  • Default: Not applicable

NumRetries 

(system use only) 

Indicates the number of attempts made to bring a service group online. This attribute is used only if the attribute OnlineRetryLimit is set for the service group. 

  • Type and dimension: integer-scalar
  • Default: Not applicable

OnlineRetryInterval 

(user-defined) 

Indicates the interval, in seconds, during which a service group that has successfully restarted on the same system and faults again should be failed over, even if the attribute OnlineRetryLimit is non-zero. This prevents a group from continuously faulting and restarting on the same system. 

  • Type and dimension: integer-scalar
  • Default: 0

OnlineRetryLimit 

(user-defined) 

If non-zero, specifies the number of times the VCS engine tries to restart a faulted service group on the same system on which the group faulted, before it gives up and tries to fail over the group to another system. 

  • Type and dimension: integer-scalar
  • Default: 0

OperatorGroups 

(user-defined) 

List of operating system user groups that have Operator privileges on the service group.  

This attribute is valid only in secure clusters.  

  • Type and dimension: string-keylist
  • Default: ""

Operators 

(user-defined) 

List of VCS users with privileges to operate the group. A Group Operator can only perform online/offline, and temporary freeze/unfreeze operations pertaining to a specific group.  

See About the VCS user privilege model

  • Type and dimension: string-keylist
  • Default: ""

Parallel 

(user-defined) 

Indicates if service group is failover (0), parallel (1), or hybrid(2). 

  • Type and dimension: integer-scalar
  • Default: 0

PathCount 

(system use only) 

Number of resources in path not yet taken offline. When this number drops to zero, the engine may take the entire service group offline if critical fault has occurred. 

  • Type and dimension: integer-scalar
  • Default: Not applicable

PreOnline 

(user-defined) 

Indicates that the VCS engine should not online a service group in response to a manual group online, group autostart, or group failover. The engine should instead call a user-defined script that checks for external conditions before bringing the group online. 

  • Type and dimension: boolean-scalar
  • Default: 0

PreOnlining 

(system use only) 

Indicates that VCS engine invoked the preonline script; however, the script has not yet returned with group online. 

  • Type and dimension: integer-scalar
  • Default: Not applicable

PreonlineTimeout 

(user-defined) 

Defines the maximum amount of time in seconds the preonline script takes to run the command
hagrp -online -nopre for the group. Note that HAD uses this timeout during evacuation only. For example, when a user runs the command hastop -local -evacuate and the Preonline trigger is invoked on the system on which the service groups are being evacuated. 

  • Type and dimension: integer-scalar
  • Default: 300

Prerequisites 

(user-defined) 

An unordered set of name=value pairs denoting specific resources required by a service group. If prerequisites are not met, the group cannot go online. The format for Prerequisites is:  

Prerequisites() = {Name=Value, name2=value2}.  

Names used in setting Prerequisites are arbitrary and not obtained from the system. Coordinate name=value pairs listed in Prerequisites with the same name=value pairs in Limits().  

See About system limits and service group prerequisites

  • Type and dimension: integer-association

PrintTree 

(user-defined) 

Indicates whether or not the resource dependency tree is written to the configuration file. The value 1 indicates the tress is written.  

  • Type and dimension: boolean-scalar
  • Default: 1

Priority 

(user-defined) 

Enables users to designate and prioritize the service group. VCS does not interpret the value; rather, this attribute enables the user to configure the priority of a service group and the sequence of actions required in response to a particular event. 

  • Type and dimension: integer-scalar
  • Default: 0

Probed 

(system use only) 

Indicates whether all enabled resources in the group have been detected by their respective agents. 

  • Type and dimension: boolean-scalar
  • Default: Not applicable

ProbesPending 

(system use only) 

The number of resources that remain to be detected by the agent on each system. 

  • Type and dimension: integer-scalar
  • Default: Not applicable

Responding 

(system use only) 

Indicates VCS engine is responding to a failover event and is in the process of bringing the service group online or failing over the node. 

  • Type and dimension: integer-scalar
  • Default: Not applicable

Restart 

(system use only) 

For internal use only. 

  • Type and dimension: integer-scalar
  • Default: Not applicable

SourceFile 

(system use only) 

File from which the configuration was read. Always set to./main.cf. Make sure the path exists on all nodes before configuring this attribute.  

  • Type and dimension: string-scalar
  • Default: ./main.cf

State 

(system use only) 

Group state on each system: 

OFFLINE— All non-persistent resources are offline. 

ONLINE —All resources whose AutoStart attribute is equal to 1 are online. 

FAULTED—At least one critical resource in the group is faulted or is affected by a fault. 

PARTIAL—At least one, but not all, resources with Operations=OnOff is online, and not all AutoStart resources are online. 

STARTING—Group is attempting to go online. 

STOPPING— Group is attempting to go offline. 

A group state may be a combination of the multiple states described above. For example, OFFLINE | FAULTED, OFFLINE | STARTED, PARTIAL | FAULTED, PARTIAL | STARTING, PARTIAL | STOPPING, ONLINE | STOPPING 

  • Type and dimension: integer-scalar
  • Default: Not applicable.

SystemList 

(user-defined) 

List of systems on which the service group is configured to run and their priorities. Lower numbers indicate a preference for the system as a failover target. 


  Note   You must define this attribute prior to setting the AutoStartList attribute.


  • Type and dimension: integer-association
  • Default: "" (none)

SystemZones 

(user-defined) 

Indicates the virtual sublists within the SystemList attribute that grant priority in failing over. Values are string/integer pairs. The string key is the name of a system in the SystemList attribute, and the integer is the number of the zone. Systems with the same zone number are members of the same zone. If a service group faults on one system in a zone, it is granted priority to fail over to another system within the same zone, despite the policy granted by the FailOverPolicy attribute. 

  • Type and dimension: integer-association
  • Default: "" (none)

Tag 

(user-defined) 

Identifies special-purpose service groups created for specific VCS products.  

  • Type and dimension: string-scalar
  • Default: Not applicable.

TargetCount 

(system use only) 

Indicates the number of target systems on which the service group should be brought online. 

  • Type and dimension: integer-scalar
  • Default: Not applicable.

TFrozen 

(user-defined) 

Indicates if service groups can be brought online on the system. Groups cannot be brought online if the attribute value is 1. 

  • Type and dimension: boolean-scalar
  • Default: 0 (not frozen)

ToQ 

(system use only) 

Indicates the node name to which the service is failing over. This attribute is specified when service group failover is a direct consequence of the group event, such as a resource fault within the group or a group switch. 

  • Type and dimension: string-association
  • Default: Not applicable

TriggerEvent 

(system use only) 

For internal use only. 

  • Type and dimension: boolean-scalar
  • Default: Not applicable

TriggerResFault 

(user-defined) 

Defines whether VCS invokes the resfault trigger when a resource faults. The value 0 indicates that VCS does not invoke the trigger.  

See resfault event trigger

  • Type and dimension: integer-scalar
  • Default: 1

TriggerResStateChange 

(user-defined) 

Determines whether or not to invoke the resstatechange trigger if resource state changes. 

See resstatechange event trigger

  • Type and dimension: boolean-scalar
  • Default: 0 (disabled)

TypeDependencies 

(user-defined) 

Creates a dependency (via an ordered list) between resource types specified in the service group list, and all instances of the respective resource type. 

  • Type and dimension: string-keylist
  • Default: ""

UserIntGlobal 

(user-defined) 

Use this attribute for any purpose.
It is not used by VCS. 

  • Type and dimension: integer-scalar
  • Default: 0

UserStrGlobal 

(user-defined) 

VCS uses this attribute in the ClusterService group. Do not modify this attribute in the ClusterService group. 

Use the attribute for any purpose in other service groups. 

  • Type and dimension: string-scalar
  • Default: 0

UserIntLocal 

(user-defined) 

Use this attribute for any purpose.
It is not used by VCS. 

  • Type and dimension: integer-scalar
  • Default: 0

UserStrLocal 

(user-defined) 

Use this attribute for any purpose.
It is not used by VCS. 

  • Type and dimension: string-scalar
  • Default: ""