Define the failover policies for the primary node

From the GUI

  1. Select Tasks from fstask

  2. Select Failover Policies

  3. Select Define a Failover Policy and fill in the following fields:

    Field

    Sample value

    Description

    Failover Policy

    pri_staying_afloat

    The name of the failover policy

    Script

    ordered

    The name of an existing failover script. Two scripts are provided by FailSafe: ordered and round-robin.

    Failback

    Controlled_Failback

    Value passed to the failover script. Either Auto_Failback or Controlled_Failback with optional attributes of Auto_Recovery or InPlace_Recovery as well as Critical_RG and Node_Failures_Only.

    Recovery

    In Place

    The recovery attribute: Let FailSafe Choose, Automatic, or In Place.

    Critical Resource Group

    Unchecked

    Allows monitor failure recovery to succeed even when there are resource group release failures.

    Node Failures Only

    Unchecked

    Controls failover on resource monitoring failures.

    Other Attributes

    None

    Determined by the user-defined failover scripts.

    Ordered Nodes in Failover Domains

    N/A

    The ordered list of nodes on which a given resource group can be allocated.

    #1

    spinnaker

    Name of node in cluster

    #2

    mizzen

    Name of node in cluster

From the command line

From the command line, enter the following:

cluster_mgr –f pri_failover_policy_def