This parameter is used when a network failure is detected between the local host and the host of the companion OpenSwitch in a mutually-aware setup.
Use:
DEFAULT – to check whether FREEZE_CFG_ON_FAIL is set. When FREEZE_CFG_ON_FAIL is set, all future configuration changes for pool or server status are prohibited until the connection to the companion OpenSwitch is restored.
If FREEZE_CFG_ON_FAIL is not set, no action occurs. See “[CONFIG]” for details about this parameter.
CUSTOM, MANUAL, or CUSTOM_MANUAL – to execute the specified custom or manual script with the reason code 1006. OpenSwitch is suspended and waits indefinitely until the system administrator executes rp_go.
If CMP_FAIL_ACTION is
set to CUSTOM or MANUAL, the respective script that is executed
must reside on a local file system. This is because the script executes
when the network is not responding and access to remote mounted
file systems may no longer exist.
See “User-specified actions” for additional details about these actions.
Valid exit codes are:
0 (zero) – the default exit
code. If the script exits with a zero (0) status, OpenSwitch performs
the DEFAULT action (CMP_FAIL_ACTION=DEFAULT
).
1 – if the script exits with a code of 1, no further action is performed.