Forum Stats

  • 3,780,535 Users
  • 2,254,407 Discussions
  • 7,879,374 Comments

Discussions

Need help on setting up Master-Master replication

CONCEPT21
CONCEPT21 Member Posts: 72 Red Ribbon
edited Mar 13, 2017 11:00AM in MySQL Community Space

Hello All MySQL Users,

I am new here. 

I am following an ebook to create a mysql Master-Master replication with the help of Multi Master Replication Manager for MySQL ("MMM").

It asks me to edit the file /etc/mysql-mmm/mmm_common.conf so that:

<host node5>

ip     10.0.0.5

mode     master

peer     node6

</host>

<host node6>

ip     10.0.0.6

mode     master

peer     node5

</host>

<role writer>

hosts     node5,node6

ips     10.0.0.10

mode     exclusive

</role>

<role reader>

hosts     node5,node6

ips     10.0.0.11,10.0.0.12

mode     balanced

</role>

My set up is 2 identical radius servers hosted on different data centres.  They correspond to 2 different IPs.  Then, how do I set the extra IPs 10.0.0.10,10.0.0.11,10.0.0.12 ?

Hope to hear your helpful opinions.  Thanks in advance. 

Answers