如何解决大量神秘的 keepalived 日志条目
我有一个简单的 keepalived 设置,在我看来,它的功能似乎符合我的预期。 我遇到的问题是我收到了源源不断的晦涩日志条目:
Feb 10 21:43:51 serverA Keepalived_vrrp[2599401]: (haproxy_lb) invalid TTL/HL. Received 254 and expect 255
Feb 10 21:43:53 serverA Keepalived_vrrp[2599401]: (haproxy_lb) invalid TTL/HL. Received 254 and expect 255
Feb 10 21:43:55 serverA Keepalived_vrrp[2599401]: (haproxy_lb) invalid TTL/HL. Received 254 and expect 255
Feb 10 21:43:57 serverA Keepalived_vrrp[2599401]: (haproxy_lb) invalid TTL/HL. Received 254 and expect 255
Feb 10 21:43:59 serverA Keepalived_vrrp[2599401]: (haproxy_lb) invalid TTL/HL. Received 254 and expect 255
Feb 10 21:44:01 serverA Keepalived_vrrp[2599401]: (haproxy_lb) invalid TTL/HL. Received 254 and expect 255
Feb 10 21:44:03 serverA Keepalived_vrrp[2599401]: (haproxy_lb) invalid TTL/HL. Received 254 and expect 255
Feb 10 21:44:06 serverA Keepalived_vrrp[2599401]: (haproxy_lb) invalid TTL/HL. Received 254 and expect 255
Feb 10 21:44:08 serverA Keepalived_vrrp[2599401]: (haproxy_lb) invalid TTL/HL. Received 254 and expect 255
Feb 10 21:44:10 serverA Keepalived_vrrp[2599401]: (haproxy_lb) invalid TTL/HL. Received 254 and expect 255
关于这可能是什么/我如何避免被淹没的任何想法?
我的 serverA 和 serverB 配置文件是相同的,看起来像:
vrrp_track_file track_graceful_failover {
file /etc/keepalived/graceful
}
vrrp_script chk_haproxy {
script "/bin/sh -c '/bin/ps -e | /bin/grep haproxy'"
interval 1
timeout 3
rise 2
fall 2
}
global_defs {
enable_script_security
notification_email {
root@mydomain.com
}
notification_email_from serverA@mydomain.com
smtp_server smtphost.mydomain.com
smtp_connect_timeout 60
}
vrrp_instance haproxy_lb {
state MASTER
interface eth0
virtual_router_id 91
priority 200
advert_int 2
authentication {
auth_type PASS
auth_pass 1215
}
virtual_ipaddress {
10.1.9.3
}
track_file {
track_graceful_failover weight 1
}
track_script {
chk_haproxy
}
}
谢谢
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。