How to Deploy Xenon: A Raft‑Based MySQL HA Solution with Semi‑Sync and Parallel Replication
This guide walks through deploying Xenon, an open‑source Raft‑based MySQL high‑availability solution, covering environment setup, installation of Go and Percona XtraBackup, configuring Xenon’s JSON, starting the cluster, monitoring status, and troubleshooting backup failures caused by misconfigured host settings.
In the era of MySQL 5.5 traditional replication, MHA was mature, but it did not evolve for MySQL 5.6 GTID; the last release was 2018. RadonDB created a new open‑source MySQL HA tool called Xenon, which uses the Raft consensus algorithm for leader election, semi‑sync replication for strong consistency, and leverages MySQL 5.7+ parallel binlog replay to reduce replica lag.
Source code: https://github.com/radondb/xenon
Experimental Environment
master db01 192.168.3.112
slave db02 192.168.3.113
salve db03 192.168.3.114
Steps:
Configure enhanced semi‑sync master‑slave replication (see “MySQL‑Master‑Slave Replication”).
Install Percona XtraBackup on all three hosts.
Set up password‑less SSH between the hosts.
Install Go environment (download from https://golang.google.cn/dl/).
Install Xenon.
Configure Xenon on each host.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
MaGe Linux Operations
Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
