Tag

MHA

0 views collected around this technical thread.

HomeTech
HomeTech
Apr 6, 2022 · Databases

MySQL High Availability Architecture and Practices at AutoHome

This article explains MySQL high‑availability concepts, defines HA, RPO and RTO, outlines common HA architectures such as master‑slave+VIP, MHA and MGR+Proxy, and details AutoHome's evolution from simple master‑slave setups to a container‑based MGR solution with automated failover and monitoring platforms.

High AvailabilityKubernetesMGR
0 likes · 11 min read
MySQL High Availability Architecture and Practices at AutoHome
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 17, 2022 · Databases

Understanding MHA Health Check Mechanism and Ping Types for MySQL Failover

The article explains why MHA’s default long‑connection ping cannot detect a hung MySQL instance, introduces three configurable ping_type options (select, connect, insert), shows how to modify the configuration and test the behavior with Perl code and shell scripts, and details the internal health‑check workflow.

Database MonitoringHealth CheckMHA
0 likes · 12 min read
Understanding MHA Health Check Mechanism and Ping Types for MySQL Failover
Practical DevOps Architecture
Practical DevOps Architecture
Dec 5, 2021 · Databases

Deploying MHA for MySQL High Availability – Part 1

This guide walks through the step‑by‑step deployment of MHA on a MySQL cluster, covering package installation on all nodes, copying and installing the MHA RPMs, creating the required MySQL user, configuring MHA, testing SSH connectivity, and reviewing the failover script.

High AvailabilityLinuxMHA
0 likes · 6 min read
Deploying MHA for MySQL High Availability – Part 1
Practical DevOps Architecture
Practical DevOps Architecture
Dec 1, 2021 · Databases

MySQL MHA Failover Process and Master‑Slave Configuration Steps

The article explains how MHA handles a crashed MySQL master by preserving binary logs, selecting the most up‑to‑date slave, applying relay logs, promoting a slave to master, and provides detailed commands for creating replication users and configuring master‑slave replication.

High AvailabilityMHAMaster‑Slave
0 likes · 3 min read
MySQL MHA Failover Process and Master‑Slave Configuration Steps
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 19, 2021 · Databases

Understanding MHA Master Selection Logic and Cross‑Version Switching Issues

This article analyses why MHA reports a "bad new master" error during master‑slave switches, explains the internal candidate‑master and bad‑master selection algorithms, demonstrates how MySQL version differences affect cross‑version promotion through test scenarios, and provides detailed code excerpts to illustrate the decision process.

MHAMySQLReplication
0 likes · 12 min read
Understanding MHA Master Selection Logic and Cross‑Version Switching Issues
Aikesheng Open Source Community
Aikesheng Open Source Community
May 8, 2021 · Databases

Analysis of MHA Master Crash Failover Process and Source Code

This article examines the MHA open‑source MySQL high‑availability solution, detailing the master‑crash failover workflow, source‑code analysis, configuration checks, binlog handling, new‑master selection, and slave recovery, and provides a concise step‑by‑step checklist for practitioners.

Database ReplicationHigh AvailabilityMHA
0 likes · 9 min read
Analysis of MHA Master Crash Failover Process and Source Code
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 22, 2021 · Databases

Understanding and Testing the MHA masterha_secondary_check Script for MySQL Network Fault Tolerance

This article explains the purpose, usage, and return codes of the MHA masterha_secondary_check Perl script, demonstrates how to simulate network failures with iptables, and presents a series of tests that verify the script’s ability to detect master reachability and handle various error conditions.

MHAMySQLNetwork Troubleshooting
0 likes · 6 min read
Understanding and Testing the MHA masterha_secondary_check Script for MySQL Network Fault Tolerance
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 15, 2021 · Databases

Improving MHA Network Tolerance: Testing ping_interval and secondary_check_script

This article analyzes how adjusting the MHA ping_interval and enabling secondary_check_script can increase MySQL high‑availability cluster tolerance to network packet loss and corruption, presenting test setups, parameter configurations, log observations, and conclusions on their impact on failover behavior.

Database OperationsHigh AvailabilityMHA
0 likes · 16 min read
Improving MHA Network Tolerance: Testing ping_interval and secondary_check_script
iQIYI Technical Product Team
iQIYI Technical Product Team
Aug 28, 2020 · Databases

iQIYI's Custom MySQL High‑Availability Architecture

iQIYI’s custom MySQL HA solution replaces the single‑point‑failure MHA manager with a Raft‑based trio of HA Masters and HA Agents that continuously monitor instances, automatically perform same‑DC, cross‑DC, or cross‑region failovers, reconcile diff binlogs, ensure data consistency, and integrate with CMDB, tracing and chaos‑engineering platforms.

HA ArchitectureHigh AvailabilityMHA
0 likes · 10 min read
iQIYI's Custom MySQL High‑Availability Architecture
58 Tech
58 Tech
Jul 8, 2019 · Databases

Design and Implementation of WMHA: A Modified MySQL High‑Availability Solution

This article explains the need for high‑availability MySQL services, critiques the original in‑house HA approach, and details how the mature MHA framework was extended into WMHA with added VIP monitoring, enhanced failover procedures, richer notifications, and a reorganized deployment structure to improve reliability and reduce DBA intervention.

Database OperationsHigh AvailabilityMHA
0 likes · 9 min read
Design and Implementation of WMHA: A Modified MySQL High‑Availability Solution
Architecture Digest
Architecture Digest
Jun 6, 2019 · Databases

MySQL High Availability: Concepts, Replication Architectures, and Design Considerations

This article explains the importance of high availability in distributed systems, defines MySQL high‑availability concepts such as replication, describes several HA architectures including MySQL Cluster, MMM, and MHA, and discusses design principles for building resilient database services.

High AvailabilityMHAMMM
0 likes · 8 min read
MySQL High Availability: Concepts, Replication Architectures, and Design Considerations
Ctrip Technology
Ctrip Technology
Nov 8, 2018 · Databases

Evolution of Ctrip's Database High‑Availability and Disaster‑Recovery Architecture (1999‑2018)

This article chronicles Ctrip's database high‑availability and disaster‑recovery evolution—from simple SQL Server mirroring in the early years, through SAN‑based clustering and AlwaysOn, to the adoption of MySQL, Redis, MHA, and a one‑click DR automation tool—highlighting architectural decisions, challenges, and operational lessons learned.

AlwaysOnDatabase HAMHA
0 likes · 10 min read
Evolution of Ctrip's Database High‑Availability and Disaster‑Recovery Architecture (1999‑2018)
Qunar Tech Salon
Qunar Tech Salon
Aug 24, 2018 · Databases

Building an Automated Database Operations Platform: From Monitoring to Multi‑Active Deployment

The article describes how a DBA team at Ele.me transformed manual database management into a fully automated, platform‑driven operation covering monitoring, alarm handling, MHA automation, resource pooling, large‑scale migration, SQL review, and multi‑active DDL release using Go‑based tools and custom workflows.

DBA toolsDatabase AutomationGo
0 likes · 20 min read
Building an Automated Database Operations Platform: From Monitoring to Multi‑Active Deployment
Qunar Tech Salon
Qunar Tech Salon
Aug 17, 2017 · Databases

Evolution of Meituan-Dianping MySQL High‑Availability Architecture: From MMM to MHA+Zebra and Beyond

This article reviews the evolution of Meituan‑Dianping's MySQL high‑availability architecture over recent years, detailing the transition from the MMM replication manager to MHA, the integration of Zebra and Proxy middleware, and future design considerations such as distributed agents, semi‑synchronous replication, and MySQL Group Replication.

Database ReplicationHigh AvailabilityMHA
0 likes · 11 min read
Evolution of Meituan-Dianping MySQL High‑Availability Architecture: From MMM to MHA+Zebra and Beyond
Architect
Architect
Sep 14, 2015 · Databases

MySQL High Availability Solutions: Selection Guide

This article reviews various MySQL high‑availability architectures—including master‑slave replication with keepalived or MHA, Galera‑based clusters, and other approaches—detailing their deployment methods, advantages, limitations, and practical considerations for selecting an appropriate HA solution.

GaleraHigh AvailabilityMHA
0 likes · 9 min read
MySQL High Availability Solutions: Selection Guide