[MXS-4401] Can't Set maintenance on master Created: 2022-11-16 Updated: 2022-11-17 Resolved: 2022-11-16 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | maxctrl, Monitor |
| Affects Version/s: | 6.4.1 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | febriyant | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | maintenance, switchover | ||
| Environment: |
CentOS 7 |
||
| Description |
|
why on maxscale version 6.4.1 can't set maintenance on the master database.
because in my case master DB some time have an issue on the VM side because based on my experience if the master has issue on VM and we switchover using the command switchover on maxctrl is failed because VM is not responsif is there way to set maintenance for master ? |
| Comments |
| Comment by markus makela [ 2022-11-16 ] |
|
Yes, you can stop the monitor with maxctrl stop monitor <name-of-monitor> after which you can set the server into maintenance. The maintenance mode is prevented while the server is monitored to prevent it from triggering an automatic failover. |
| Comment by febriyant [ 2022-11-17 ] |
|
Hi Markus thanks for the update FYI actually we have inhouse application monitor and consume data from maxscale API Thank you |
| Comment by markus makela [ 2022-11-17 ] |
|
Are you using auto_failover in the monitor? If you are not using it, allowing the server to be set into maintenance makes more sense. We'll have to think if we want to change it so that this is only an error if the automatic cluster management operations are enabled. |