MySQL 拓扑管理与故障切换
Orchestrator 发现 MySQL 复制拓扑,提供可视化、故障检测和受控切换。它支持 Raft 高可用和 hooks 集成。
orchestrator-client -c clusters
orchestrator-client -c topology -i db1:3306
orchestrator-client -c discover -i db1:3306
orchestrator-client -c replication-analysis
orchestrator-client -c begin-maintenance -i db1:3306 --reason 'upgrade'
orchestrator-client -c end-maintenance -i db1:3306
orchestrator-client -c recover -i db1:3306
orchestrator-client -c failover -i db1:3306
orchestrator-client -c relocate -i db2:3306 -d db1:3306
recover/failover 会真正切换主库;先确认候选副本和延迟。orchestrator-client — 管理接口mysql — 复制状态patroni — PostgreSQL 高可用