Configuration
1) Download the utilities. Python connector is a prerequisite and
this needs to be installed along with mysql utilities rpm
wget
http://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-2.0.2-1.el6.noarch.rpm
wget
http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-utilities-1.5.3-1.el6.noarch.rpm
2) Install the RPMs. “Mysqlfailover –help” will confirm the
install of the utilities
rpm –ivh mysql-connector-python-2.0.2-1.el6.noarch.rpm
rpm -ivh mysql-utilities-1.5.3-1.el6.noarch.rpm
3) Set the GTID MODE to ON. GTID mode is a prerequisite for
mysqlfailover. GTID tracks the transaction IDs for replication
instead of tracking log file and position
log-bin=1
gtid_mode=ON
enforce_gtid_consistency=true
log-slave-updates=1
4) Setup replication using …
[Read more]