[MXS-1671] External master support for failover/switchover Created: 2018-02-15  Updated: 2018-02-15  Resolved: 2018-02-15

Status: Closed
Project: MariaDB MaxScale
Component/s: mariadbmon
Affects Version/s: 2.2
Fix Version/s: 2.2.2

Type: New Feature Priority: Minor
Reporter: Esa Korhonen Assignee: Esa Korhonen
Resolution: Fixed Votes: 0
Labels: None


 Description   

Record host:port of external master server of cluster when monitoring. Use the information to preserve replication topology when promoting a new master.



 Comments   
Comment by Esa Korhonen [ 2018-02-15 ]

Done. Documentation follows.

The monitor detects if a server in the cluster is replicating from an external
master (a server that is not monitored by the monitor). If the replicating
server is the cluster master server, then the cluster itself is considered to
have an external master.

If a failover/switchover happens, the new master server is set to replicate from
the cluster external master server. The usename and password for the replication
are defined in `replication_user` and `replication_password`. The address and
port used are the ones shown by `SHOW ALL SLAVES STATUS` on the old cluster
master server. In the case of switchover, the old master also stops replicating
from the external server to preserve the topology.

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