keepalived双机高可用、负载均衡、MySQL(读写分离、主从自动切换)架构设计 当主服务器server1宕机时,keepalived检测到后,立即把外网VIP和内网VIP绑定到server2,并把server2的mysql切换成主库。... keepalived 双机 运维基础2017-04-24