April 2010
Intermediate to advanced
276 pages
6h 16m
English
In this recipe, we will install the MySQL nodes that will become part of the MMM cluster. These will be configured in a multi-master replication setup, with all nodes initially set to read-only.
First of all, install a MySQL server:
[root@node5 ~]# yum -y install mysql-server Loaded plugins: fastestmirror ... Installed: mysql-server.x86_64 0:5.0.77-3.el5 Complete!
Now configure the mysqld section /etc/my.cnf on both nodes with the following steps:
SUPER privilege (that is, probably you at the command line!):read-only
Read now
Unlock full access