MySQL Utilities are a set of tools provided by
Oracle to perform many kinds of administrative tasks. When
GTID-replication is enabled, 2 tools can be used for slave
promotion: mysqlrpladmin
and mysqlfailover
. We will review
mysqlrpladmin
(version 1.4.3) in this post.
Summary
-
mysqlrpladmin
can perform manual failover/switchover when GTID-replication is enabled. - You need to have your servers configured with
--master-info-repository = TABLE
or to add the--rpl-user
option for the tool to work properly. - The check for errant transactions is …