[MXS-1344] Make binlog server "identity" compatible with MaxScale MySQL Monitor Created: 2017-08-07 Updated: 2017-12-01 Resolved: 2017-08-23 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | binlogrouter |
| Affects Version/s: | 2.0.0 |
| Fix Version/s: | 2.2.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Massimiliano Pinto (Inactive) | Assignee: | Massimiliano Pinto (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Setup with Master/Slaves and Binlog Server with MaxScale MySQL monitor. |
||
| Sprint: | 2017-39, 2017-40 |
| Description |
|
Due to some internal variable values, currently part of Binlog Router Identity, it's not possible to use a setup with Master/Slaves and Binlog Server with MaxScale MySQL monitor. The goal is to detect binlog Server as Relay Master and don't allow any routing operations with read connection router or readwrite split router. |
| Comments |
| Comment by Massimiliano Pinto (Inactive) [ 2017-08-23 ] |
|
MySQL monitor can now detect a replication setup with Binlog Server. If 'master_id' is not set in Binlog Server configuration, then there is no need to add the server name to the monitor server list. If is set this is the needed configuration: Binlog server running on host 192.168.100.100 {{[BinlogServer] and R/W split or readconnection router config with monitor is: {{[MySQL Monitor] [binlog_server] {{[Read-Write-Service] .... {{[Read-Only-Service] There is no need to add 'binlog_server' to server list in traffic routers: only in the monitor. |
| Comment by Massimiliano Pinto (Inactive) [ 2017-08-23 ] |
|
MaxAdmin "show servers" output Scenario (1): The 'master_id' is not set in binlog server.
=== MASTER === === BINLOG SERVER (if monitored some values are set) === === SLAVE 1 === === SLAVE 2 === Scenario (2): The 'master_id' is set to 2222.
The replication topology clearly shows 3 levels with Binlog Server as master of slaves. ==== MASTER === === BINLOG SERVER === === SLAVE 1 === === SLAVE 2 === |