www.521voip.com Focus on cloud computing
Heartbeat+DRBD+mysql high-availability solution
1.1 Introduction to the plan
This plan The Heartbeat dual-system hot backup software is us
www.521voip.com Focus on cloud computing
Heartbeat+DRBD+mysql high-availability solution
1.1 Introduction to the plan
This plan The Heartbeat dual-system hot backup software is us
Four hosts
Host name IPAddress Purpose
dbm129 172.16.0.129 heart+ mysql beat+ mysql secondary node
dbs130 172.16.0.130 6.0 slave(mater_host=172.16.0.233)
dbs131 2.1 131 131
heartbeat+DRBD+mysql+haproxy
heartbeat+DRBD+mysql mainly realizes the single point of failure of mysql master
haproxy implements load balancing from mysql
Specific architecture di
first uninstall the mounts corresponding to the original disk devices on the two nodes Directory, and comment out the relevant lines in fstab to prevent automatic mounting when the system starts
This article was earned from http://shanhu.blog.51cto.com/1293405/1212605
Heartbeat introduction
Official site: http://linux-ha.org/wiki/Main_Page
DRBD introduction
Official
DRBD+Heartbeat+Mysql: Configure mysql high availability
Description:
Today I will continue to study the second application of DRBD, using DRBD+Heartbeat+Mysql: configure mysql high avai
1. Planning
System CentOS 64bit
DRBD version 9.0.0
Heartbeat version 3.0.6< /span>
MySQL version 5.6.27
< span style="font-family:'黑体', SimHei;"> DRBD disk/dev/sdb1< /