OpenSwitch provides four failure type configuration parameters for mutually-aware OpenSwitch servers:
CMON_FAIL_ACTION – used when the CMON thread that monitors the health of the Adaptive Server fails to start.
CMON_FAIL_ACTION is
not specific to only mutually-aware OpenSwitch servers; it applies
to all OpenSwitch servers with CMON set to
1.
CMP_FAIL_ACTION – used when a network failure is detected between the local host and the host of the companion OpenSwitch in a mutually-aware setup.
NET_FAIL_ACTION – used when the local OpenSwitch is experiencing a network outage and cannot communicate with the Adaptive Servers or companion OpenSwitch hosts.
SVR_FAIL_ACTION – used when an Adaptive Server fails to respond in a timely manner, or when the Adaptive Server host cannot be pinged by either companion OpenSwitch server in a cluster.
When you use the OpenSwitch GUI configuration tool to configure mutually-aware behavior, you specify the actions that should occur for each failure type in the Failure Type dialog box, shown in Figure 6-1.
When you manually configure OpenSwitch by editing the configuration file, you specify the action that should occur for each failure type parameter (listed above).
Figure 6-1: Mutually-aware failure types and actions