[MXS-1439] Make it easy to turn on MRM behaviour Created: 2017-09-18  Updated: 2017-10-02  Resolved: 2017-10-02

Status: Closed
Project: MariaDB MaxScale
Component/s: N/A
Affects Version/s: None
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Johan Wikman Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None

Epic Link: MaxScale MRM

 Description   

No modifications are needed in order to cause MaxScale to launch the script used for performing failover when the master goes down.

All that is needed is to add something like

[Database Monitor]
type=monitor
module=mysqlmon
script=/bin/mariadb_failover ...
events=master_down
...

to the the monitor configuration. However, since the script is a MariaDB product, it could and should be much end user friendlier, for instance, like:

[Database Monitor]
type=monitor
module=mysqlmon
master_promotion=on

...
Internally that would still be handled as the launching of an external program.



 Comments   
Comment by markus makela [ 2017-09-28 ]

The failover parameter turns on master failover which is a pre-defined script with pre-defined arguments.

Comment by Johan Wikman [ 2017-10-02 ]

Enabling failover requires just

failover=true

in the configuration file. Can't really be easier than that.

Generated at Thu Feb 08 04:06:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.