摘要:
masterA配置: yum -y install keepalived vim /etc/keepalived/keepalived.conf router_id LVS_MASTER-A interface ens33 nopreempt track_script { mysql } vim / 阅读全文
摘要:
第一台机器 vim /etc/my.cnf 插入内容: server-id=1log-bin=mysql-binlog log-slave-updates=truemax_binlog_size=1024M auto_increment_offset = 1auto_increment_increm 阅读全文