1.网络:两个LVS互为主备(192.168.0.18,192.168.0.19),两台RealServer(192.168.0.25,192.168.0.26,运行nginx),两个VIP(192.168.0.16,192.168.0.17)

2.采用LVS/DR+keepalived模式。

3.两台LVS上需要先安装ipvsadm,并且需要加载ip_vs模块。

4.启动顺序,两台LVS上先启动lvs-init脚本,然后启动keepalived服务,两台RealServer上分别启动rs*.sh脚本。可以改造keepalived服务,把lvs-init一起启动?

5.测试成功。问题:ubuntu上看不到keepalived日志?