Defining the failover policies for the primary node  Defining the cluster

Chapter 14: Configuring Adaptive Server for Failover on SGI IRIX

Defining the failover policy for the secondary node

From the GUI

  1. Select Tasks from the menu bar.

  2. Click Failover Policies.

  3. Select Define a Failover Policy and complete the following 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 fail over on resource monitoring failures

    Other Attributes

    None

    Determined by the user-defined failover scripts

  4. For the Nodes to Add, click the arrow. Select Ordered Nodes in Failover Domains:

    #1 enter the name of the secondary node in the cluster, such as PERSONNEL1, click Add.

    #2 enter the name of the primary node in the cluster, such as MONEY1, click Add.

  5. Click OK.

From the command line

From the command line, enter the following:

cluster_mgr –f sec_failover_policy_def




Copyright © 2005. Sybase Inc. All rights reserved. Defining the cluster

View this book as PDF