SlideShare a Scribd company logo
MySQL HA with PaceMaker Kris Buytaert
Kris Buytaert Senior Linux and Open Source Consultant @inuits.be
„ Infrastructure Architect“
I don't remember when I started using MySQL :)
Specializing in Automated , Large Scale Deployments , Highly Available infrastructures, since 2008 also known as “the Cloud”
Surviving the 10 th  floor test
DevOp
In this presentation High Availability ?
MySQL HA Solutions
MySQL Replication
Linux HA / Pacemaker
What is HA Clustering ? One service goes down  => others take over its work IP address takeover, service takeover,
Not  designed for high-performance
Not designed for high troughput (load balancing)
Does it Matter ? Downtime is expensive
You mis out on $$$
Your boss complains
New users don't return
Lies, Damn Lies, and Statistics Counting nines (slide by Alan R)
The Rules of HA Keep it Simple
Keep it Simple
Prepare for Failure
Complexity is the enemy of reliability
Test your HA setup
You care about ? Your data ? Consistent
Realitime
Eventual Consistent  Your Connection Always
Most of the time
Eliminating the SPOF Find out what Will Fail  Disks
Fans
Power (Supplies) Find out what Can Fail Network
Going Out Of Memory
Split Brain Communications failures can lead to separated partitions of the cluster
If those partitions each try and take control of the cluster, then it's called a split-brain condition
If this happens, then bad things will happen http://linux-ha.org/BadThingsWillHappen
Historical MySQL HA Replication  1 read write node
Multiple read only nodes
Application needed to be modified
Solutions Today BYO
DRBD
MySQL Cluster NDBD
Multi Master Replication
MySQL Proxy
MMM
Flipper
Data vs Connection DATA :  Replication
DRBD Connection LVS
Proxy
Heartbeat / Pacemaker

More Related Content

MySQL HA with PaceMaker