Define the failover policy for the secondary node

From the GUI

  1. Select Tasks.

  2. Select Failover Policies.

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

    Field

    Sample value

    Description

    Failover Policy

    sec_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.

    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

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

    #1

    mizzen

    Name of node in cluster

    #2

    spinnaker

    Name of node in cluster

From the command line

From the command line, enter the following:

cluster_mgr –f sec_failover_policy_def