MXS-1460 Add failover_script parameter
The failover script can now be specified in the configuration file.
This commit is contained in:
@ -64,6 +64,7 @@ typedef struct
|
||||
bool warn_failover; /**< Log a warning when failover happens */
|
||||
bool allow_external_slaves; /**< Whether to allow usage of external slave servers */
|
||||
bool failover; /**< If master failover is enabled */
|
||||
char* failover_script; /**< Script to call for performing master failover */
|
||||
uint32_t failover_timeout; /**< Timeout in seconds for the master failover */
|
||||
bool switchover; /**< If master switchover is enabled */
|
||||
char* switchover_script; /**< Script to call for performing master switchover */
|
||||
|
Reference in New Issue
Block a user