LVS/NAT+Keepalived 构建高可用Web集群
安装约定 LVS-VIP:192.168.1.4 LVS-NVIP:10.0.0.1 LVS-MASTER: eth0:192.168.1.10 eth1:10.0.0.10 LVS-BACKUP: eth0:192.168.1.11 eth1:10.0.0.11 WEB-1-REAL_SERVER: eth0:192.168.1.20 WEB-2-REAL-SERVER: eth0:192.168.1.21 在LVS-MASTER服务器上配置keepalived.conf # vim /etc…
阅读全文 »