跳转至

keepalived 知识

重定向日志

  1. 配置启动选项

    # cat /etc/sysconfig/keepalived
    KEEPALIVED_OPTIONS="-D -d -S 0"
    

  2. 配置日志重定向

    # tail -1  /etc/rsyslog.conf
    local0.*  /var/log/keepalived.log
    

重载配置

systemctl reload keepalived
kill -HUP `cat /var/run/keepalived.pid`

创建时间: 2024-05-15 17:03 最后更新: 2024-05-23 08:43 更新次数: 2 浏览次数: