先后执行:
开启ipvadm:
两台lvs上: chmod +x /etc/init.d/lvsdr && service lvsdr stop && service lvsdr start
两台nginx上: chmod +x /etc/init.d/lvsdr && service lvsdr stop && service lvsdr start
开启keepalive:
两台lvs上: service keepalived restart
# 注意80端口是否被占用
转载请注明:SuperIT » 一步步教你lvs之教程五—启动