Select Tasks from the menu bar.
Click Failover Policies.
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 |
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.
Click OK.
From the command line, enter the following:
cluster_mgr –f sec_failover_policy_def
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |