Exit codes  CMP_FAIL_ACTION

Chapter 5: Using Mutually-aware OpenSwitch Servers

CMON_FAIL_ACTION

This parameter is used only when the CMON configuration parameter is set to 1 (the recommended setting), and when the CMON thread that monitors the health of the Adaptive Server fails to start. See “[CONFIG]” for details about the CMON parameter.

NoteCMON_FAIL_ACTION is not specific to only mutually-aware OpenSwitch servers; it applies to all OpenSwitch servers with CMON set to 1.

Actions and reason codes

Use:

See “User-specified actions” for additional details about these actions.

Exit codes for custom and manual scripts

Use an exit code of 0 (zero). For CMON_FAIL_ACTION, the exit code only provides a way to notify the administrator how the script ran. Regardless of the exit code you provide, CMON_FAIL_ACTION performs the DEFAULT action after the script executes.





Copyright © 2005. Sybase Inc. All rights reserved. CMP_FAIL_ACTION

View this book as PDF