Keepalived安装
安装yum命令:
yum install keepalived
keepalived常用命令:
systemctl start keepalived.service
systemctl stop keepalived.service
systemctl restart keepalived.service
keepalived查看日志:
tail -f /var/log/messages
安装目录:
我们查找即可:
find / -name keepalived
我们平时玩的就是一个keepalived配置
/etc/keepalived 下的keepalived.conf配置