分享主題:MySQL高可用架構 --- MMM&MHA在大眾點評應用和改進
內容簡介:本次演講,主要講述以下幾個方面
1. MMM在點評網是如何使用的
2. 細數MMM上踩過的坑以及如何填坑
3. MMM和MHA之間的抉擇
PPT下載鏈接:http://pan.baidu.com/s/1mg3G2MW
大會鏈接:http://meeting.zhdba.com/2014dtcc
以下是一些大綱:
-
Why we need a HA solution
-
MMM in DP
- MHA in DP
When We Need to Switch Server
-
Master Server down
-
Master Server maintenance
-
Logical : DDL on big table
- Physical: memory replacement
Failover without tool:
-
Notify DBA for MySQL Failure
-
Kill old Master
-
Find the latest Slave as Master Candidate
-
Execute change Master to on each Slave
- Direct APP to new Master IP & restart