[MXS-1440] Switchover Support Created: 2017-09-18  Updated: 2018-03-28  Resolved: 2017-10-03

Status: Closed
Project: MariaDB MaxScale
Component/s: mariadbmon
Affects Version/s: None
Fix Version/s: 2.2.0

Type: Task Priority: Major
Reporter: Johan Wikman Assignee: Johan Wikman
Resolution: Done Votes: 0
Labels: None

Sub-Tasks:
Key
Summary
Type
Status
Assignee
MXS-1441 Add support for switchover script. Sub-Task Closed Johan Wikman  
MXS-1442 Expose REST-API for switchover Sub-Task Closed Johan Wikman  
MXS-1443 Perform switchover Sub-Task Closed Johan Wikman  
Epic Link: MaxScale MRM
Sprint: 2017-43

 Description   

It would be beneficial to be able to perform switchover through MaxScale, whether or not it is configured to perform failover.

  • Even if not initialting failover, MaxScale can still benefit from knowing whether switchover will be performed, e.g. by internally behaving as if the old master had been put in maintenance mode, queing new connection attempts until the new master is up again, etc.
  • If MaxScale is initiating failover, then it needs to turn off that behaviour while switchover is taking place, as otherwise the switchover and the failover may interfere with each other.

It would of course be possible to

  • connect to to MaxScale,
  • turn off the relevant monitor,
  • perform the switchover, and
  • turn on the relevant monitor again

but from an end-user point of view it is simpler if it is possible to simply initiate the switchover through MaxScale and it takes care of everything.


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