~/talk

Automated MySQL failover with MHA

Talkat OSDC 2014 · 2014-04-08..04-10· [databases]
slides:none on file

MHA automates master failover by saving crashed master binlogs, identifying the most up‑to‑date slave, applying differential relay logs to bring others current and issuing change master so apps keep writing to the promoted node. Typical full automated failovers take 10–30 seconds inside a datacenter. It supports MySQL 5.0/5.1/5.5/5.6 and MariaDB, works without GTIDs but can use GTID and semi‑sync to reduce data loss, requires SSH access and a separate manager VM, and can hand off a VIP via Pacemaker or a catalog DB.

AI-written summary · about

  1. 0:00Introduction to MHA
  2. 3:07Why MHA for MySQL failover
  3. 7:40What is MHA and its uses
  4. 14:21How MHA performs failover
  5. 22:11Configuring MHA for failover
  6. 27:54Running MHA manager and scripts
  7. 34:02Integrating MHA with Pacemaker
  8. 38:18Testing and best practices
  9. 42:39Alternative solutions to MHA
  10. 47:54MHA with GTID and future plans
  11. 51:27MHA 0.56 new features
  12. 54:23Fully automated failover pros and cons
  13. 57:58Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.