The SWITCHES File

The SWITCHES file contains settings for various high-level behavior settings. Review the comments in this script for more information.

When this file is changed, it must be copied to the other node. It’s not necessary to stop the resource group if it’s running.

The following is a list of the switches:

Variable

Default Value

Description

AUTO_FAILBACK

1

Values: 0 or non-zero. Sets failback to either Automatic or Manual Failback.

NOWAIT

1

Possible values: zero or non-zero. When a resource group is brought offline, the Adaptive Server resource issues a shutdown. If Adaptive Server does not stop within the prescribed time and NOWAIT is non-zero, Adaptive Server issues shutdown with nowait.

DEBUG_SCRIPT_NAME

0

Possible values: zero or non-zero. FailSafe executes its scripts in a specific order. During debugging, it is helpful to see when the scripts are invoked. Setting this variable to non-zero causes the scripts to log the date and time and their name to /usr/tmp/SYBASE_DB.log. For more information, you can issue tail -f on this file.

DEBUG_TRACE

0

Possible values: zero or non-zero. Setting this parameter to non-zero causes each script to dump trace information into /usr/tmp/script_name.log. This file is always appended and can grow quite large.