[MXS-189] FAILOVER and SWITCHOVER admin command to call external script Created: 2015-06-11 Updated: 2016-10-17 Resolved: 2016-10-17 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | maxadmin |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Major |
| Reporter: | VAROQUI Stephane | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Calling external scripts on monitoring event is a good first step for failover. It need additional feature to make the failover a 2 steps procedure:
First reason to proceed like that is that switchover is most requested feature from users
Switchover is not control by monitoring but it's a user decision. I would suggest that our first monitoring external script just send an email that :
This been done we need to map maxadmin cmd to external scripts SWITCHOVER TO <backend_name> Following command pick the best candidate for the command We need to add options in maxscale config file for each backend General section cmd_switchover_slave_election_script= |
| Comments |
| Comment by Johan Wikman [ 2016-10-17 ] |
|
This seems to belong to the realm if the MariaDB Replication Manager. |