About controlling failover on service group or system faults

The AutoFailOver attribute configures service group behavior in response to service group and system faults.

The possible values include 0, 1, and 2. You can set the value of this attribute as 2 if you have enabled the HA/DR license and if the service group is a non-hybrid service group.

Table: Possible values of the AutoFailover attribute and their description shows the possible values for the attribute AutoFailover.

Table: Possible values of the AutoFailover attribute and their description

AutoFailover attribute value

Description

0

VCS does not fail over the service group when a system or service group faults.

If a fault occurs in a service group, the group is taken offline, depending on whether any of its resources are configured as critical. If a system faults, the service group is not failed over to another system.

1

VCS automatically fails over the service group when a system or a service group faults, provided a suitable node exists for failover.

The service group attributes SystemZones and FailOverPolicy impact the failover behavior of the service group. For global clusters, the failover decision is also based on the ClusterFailOverPolicy.

2

VCS automatically fails over the service group only if another suitable node exists in the same system zone.

If a suitable node does not exist in the same system zone, VCS brings the service group offline, and generates an alert for administrator's intervention. You can manually bring the group online using the hagrp -online command.

Note:

If SystemZones attribute is not defined, the failover behavior is similar to AutoFailOver=1.

More Information

Service group attributes