3.2. Failover Script Interface

The following is passed to the failover script:

function(version, name, owner, attributes, possibleowners, domain)

version

Linux FailSafe version. The Linux FailSafe release uses version number 1.

name

Name of the failover script (used for error validations and logging purposes).

owner

Logical name of the node that has the resource group allocated.

attributes

Failover attributes (Auto_Failback or Controlled_Failback must be included)

possibleowners

List of possible owners for the resource group. This list can be subset of the current node membership.

domain

Ordered list of nodes used at the last failover. (At the first failover, the initial failover domain is used.)

The failover script returns the newly generated run-time failover domain to Linux FailSafe, which then chooses the node on which the resource group should be allocated by applying the failover attributes and node membership to the run-time failover domain.