CentOS build MysqlMMM high availability architecture CentOS
Environment
CentOS
For Mysql 5.1
Prerequisites
EPEL is installed. for detailed installation steps, see
Http://blog.csdn.net/robinsonmhj/article/details/36184863
Machine ListMachine IP address machine name 192.168.0.135db119255.0.136monitor192.168.0.137db2 virtual IP function 192.168.0.138writter192.168.0.139reader192.168.0.140reader
Installation
that you just openedMysql> Show variables like "%hostname%";+---------------+-------+| variable_name | Value |+---------------+-------+| hostname | DB2 |+---------------+-------+1 row in Set (0.00 sec)Mysql> Show variables like "%server_id%";+---------------+-------+| variable_name | Value |+---------------+-------+| server_id | 2 |+---------------+-------+1 row in Set (0.00 sec)650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/88/1C/wKioL1f
d_01 instance T_ 0016 data are obtained from the table. U operation 2: Using proxy -After splitting the query operation, do a proxy,app access Proxy,proxy according to the access rules can be directly routed to a specific DB instance, generate new SQL to operate the corresponding DB instance, and then through the proxy protocol operation to return the results of the operation to the app. – The advantage is that the proxy and DB instances are in a network segment, so that the time to operate th
some tend to be Database Availability.
Each solution has its own advantages and disadvantages. DBA should select a high-availability solution based on the business situation of the company.
More references:
Read/write Splitting: Amoeba
Set up the Amoeba series in MySQL under Ubuntu10 (article index)
Cluster Technology: Database Cluster Technology
How Gluster Ge
Two years ago, SQL Server 2008 R2 Database Mirroring deployment, today, "Renew the front"--
Microsoft's new generation of database products SQL Server 2012 has been available for some time, whether functional or performance, compared to its early products have a great improvement. In particular, it introduces the concept and functionality of the High Availability Group (AlwaysOn Group, AG), which greatly e
IP is not transferred (you can execute the command mmm_control move_role writer db1 manual transfer).[[emailprotected] ~]# cd /etc/mysql-mmm/[[emailprotected] ~]# mmm_control show db1(192.168.113.160) master/ONLINE. Roles: //恢复在线状态 db2(192.168.113.161) master/ONLINE. Roles: writer(192.168.113.100) //虚拟IP转移 db3(192.168.113.162) slave/ONLINE. Roles: reader(192.168.113.220) db4(192.168.113.165) slave/ONLINE. Roles: reader(192.168.113.210)At this po
from: http://m.csdn.net/article_pt.html?arcid=2823943Apache HBase is a database for online services that is native to the features of Hadoop, making it an obvious choice for applications that are based on the scalability and flexibility of Hadoop for data processing.In the Hortonworks data platform (HDP http://zh.hortonworks.com/hdp/) 2.2, the high availability of hbase has evolved to ensure that the uptime
Label:Application analysis of MySQL high-availability architecture at the business levelhttp://mp.weixin.qq.com/s?__biz=MzAxNjAzMTQyMA==mid=208312443idx=1sn= F9a0d03dd9a1cf3b3575c0241291e421scene=22srcid=selu5tmzumklzwvbihzm#rd http://mp.weixin.qq.com/s?__biz=MzAxNjAzMTQyMA==mid=208312443idx=1sn= f9a0d03dd9a1cf3b3575c0241291e421scene=22srcid=selu5tmzumklzwvbihzm#rd2015-09-07 Douglas fir programmer log ↑↑↑
. Roles: writer(192.168.100.170)db2(192.168.100.166) master/ONLINE. Roles:db3(192.168.100.159) slave/ONLINE. Roles: reader(192.168.100.171)db4(192.168.100.158) slave/ONLINE. Roles: reader(192.168.100.171)2, check all options, need to be OKmmm_control checks all3. Use the following command to manually switch the master servermmm_control move_role writer db2Seven, fault testing1, stop the M1 Server MARIADB service, check the server status, see if M2 pre
things more practical and safer. Later I thought about it and made some changes to some conditions and behaviors in the script. After modification, I finally dared to let my friends use this set of things.
Main purpose:
The dual-master architecture and keepalived are used to solve single point of failure (spof) of the master database in the MySQL master-slave structure. specific query statements are used to provide more fine-grained and more realistic judgment on the
MySQL's high-availability scenarios typically include the following:Keepalived+ Dual master, Mha,mmm,heartbeat+drbd,pxc,galera ClusterThe more commonly used are keepalived+, MHA and PXC.For small companies, it is generally recommended to use keepalived+ dual master, simple.Let's deploy it here.Configure the Environment:Role host IP host name operating system version software versionVIP 192.168.244.10Master1
Label:17th. Ideas and solutions for high-availability design Objective: The database system is the core part of an application system, if the whole system availability is guaranteed, the database system can not have any problems. For an enterprise-class system, the availability of a database system is particularly impo
Frequently Asked Questions about High Availability of SQLServer every time we talk about high availability of SQLServer. Many DBAs, especially SQLServerDBA, feel a pain in their hearts: Because we all think that SQL Server cannot or is difficult to implement SQL Server. Yes
Frequently Asked Questions about
Tags: working principle server database MySQL pros and consObjectiveMMM (master-master replication managerfor mysql,mysql primary master Replication Manager) is a flexible script that is based on Perl and is used to monitor and fail-over Mysql replication. And can manage the configuration of MySQL Master-master replication (only one node is writable at the same time).MMMAdvantages and DisadvantagesAdvantages: High
MySQL performance tuning and Architecture Design-the idea and solution of the High Availability design in Chapter 17th, mysql Tuning
Chapter 1 High Availability design ideas and solutions
Preface:
The database system is the core part of an application system. To ensure the overall
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.