摘要:
MHA:Master High Availability1、对主节点进行监控,可实现自动故障转移至其它从节点;2、通过提升某一从节点为新的主节点,基于主从复制实现,还需要客户端配合实现,目前MHA主要支持一主多从的架构,要搭建MHA,要求一个复制集群中必须最少有三台数据库服务器,一主二从,即一台充当 阅读全文
摘要:
主节点配置: [mysqld] log_bin=/data/mysql_log_bin/ server-id=1 log-basename=master service mysqld restart MariaDB [(none)]> grant replication slave on *.* t 阅读全文