maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #04352
Replication-manager + Maxscale
Hi Experts,
I have a 2 db server with one as master and another one as slave.
Maxscale implemented with below monitor config:
*[MySQL Monitor]*
*type=monitor*
*module=mysqlmon*
*servers=master1,slave1*
*monitor_interval=500*
*script=/usr/bin/replication-manager --user root:password --rpluser
replusr:password *
*--hosts $INITIATOR,$NODELIST --failover=force --interactive=false*
*events=master_down*
When I shutdown master, failover is not automated. MRM (Replication
Manager) is not promoting the slave to master automatically.
In maxscale log, I noticed below:
*2017-03-02 03:33:36 notice : Executed monitor script
'/usr/bin/replication-manager --user root:password --rpluser
replusr:password --hosts $INITIATOR,$NODELIST --failover=force
--interactive=false' on event 'master_down'.*
*2017-03-02 03:33:36 error : No Master can be determined.*
Is this because I didn't have the quorum (no slave) since its one master
and one slave set-up. Is there any workaround.
Regards,
Kart
Follow ups