Keepalive+Atlas+DRBD+Heartbeat+mysql配置系列(三):keepalive+atlas实现mysql读写分离
系统:centos 7(64位)
环境:
主atlas ip: 10.0.2.3
备atlas ip: 10.0.2.4
keepalive vip: 10.0.2.2
mysql vip: 10.0.2.10
1.安装atlas
wget --no-check-certificate https://github.com/Qihoo360/Atlas/releases/download/2.2.1/Atlas-2.2.1.el6.x86_64.rpm
rpm -ivh Atlas-2.2.1.el6.x86_64.rpm
2.配置atlas(主备都一样的配置)
先在mysql主从里都添加个账atlas的账号:
G...