Introduction to the MMM high availability program for MySQL

Source: Internet
Author: User

MMM (master-master Replication Manager for MySQL) MySQL Master Replication Manager provides a scalable suite of scripts for monitoring, failover, and management of MySQL master replication configuration. In the MMM high-availability solution, the typical application is a dual-master multi-Slave architecture, through the MySQL replication technology can realize two server mutual primary from, and at any time only one node can write, avoid multi-point write data conflict. At the same time, when a writable master node fails, the MMM suite can be immediately monitored, then automatically switch the service to the other master node, continue to provide services, to achieve high availability of MySQL.

The MMM high-availability MySQL program is a well-developed MySQL high-availability cluster solution written in Perl, based on MySQL master-slave replication, consisting of a management side (monitor) and multiple agent-side (agents). Through MMM, we can monitor and manage the status of MySQL master replication and service, as well as monitor the replication and operation status of multiple slave nodes, and can realize the function of automatic switching when any node fails. The advent of the MMM cluster scheme provides a good platform for MySQL's application of Read and write separation architectures, because the MMM cluster scheme extracts the read IP (reader IP) and the write IP (write IP) from the database level, and can realize the read and write separation function by simply invoking the business system.

Although MMM is a MySQL master Replication Manager, only one master is writable at the same time throughout the cluster, in order to ensure the integrity and security of the data .

MMM cluster suite has good stability, high availability and scalability, when the active master server fails, the standby master server will take over immediately, while the other slave server can automatically switch to the standby master server to continue the synchronous replication, the whole process without human intervention.

Of course, the MMM Cluster suite also has a certain disadvantage: first, the MMM architecture needs multiple nodes, multiple IPs, the number of servers have requirements; Secondly, MMM scheme is not very stable in reading and writing very busy business system, it may appear replication delay, switching failure and so on. Therefore, MMM scheme is not very suitable for the data security requirements are high, and read, write frequently in the environment .

Introduction to the MMM high availability program for MySQL

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.