[MXS-1665] Test: Keepalived + 2 MaxScales + autofailover=true + master killed Created: 2018-02-13  Updated: 2018-04-13  Resolved: 2018-04-13

Status: Closed
Project: MariaDB MaxScale
Component/s: test
Affects Version/s: 2.2.1
Fix Version/s: 2.2.5

Type: Task Priority: Major
Reporter: Johan Wikman Assignee: Timofey Turenko
Resolution: Fixed Votes: 0
Labels: None


 Description   

Setup

  • Two MaxScales behind keepalived.
  • Both maxscales configured with auto_failover=true
  • Keepalived configured with script that turns MaxScale into passive/active mode as appropriate.

Test

  • Master is taken down.

The passive MaxScale should do nothing, the active one should perform failover.

  • Then the active MaxScale should be taken down.

Keepalived should turn the passive MaxScale into active.

  • The MaxScale that was taken down, should be started, and it should start in passive mode.
  • The new master is taken down.

The passive MaxScale should do nothing, the active one should perform failover.


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