当前位置:首页 > 尘凡 > 正文内容

keepalived的udp配置问题

池边树下1个月前 (10-09)尘凡42420

The server is turned down but can still detect the udp port · Issue #2477 · acassen/keepalived (github.com)

UDP healthchecker的超时时间至少配置4秒以上,否则无法探测到服务器关机

 

Please see the description of the UDP healthchecker in the keepalived.conf(5) man page:

        # UDP healthchecker
        # Note: for this checker to work properly, it relies on ICMP error messages such as
        #   HOST_UNREACH, NET_UNREACH, PORT_UNREACH. HOST_UNREACH relies on ARP requests
        #   timing out, and so connect_timeout should be long enough to allow for this (e.g.
        #   at least 4 seconds).

You have specified a connect_timeout of 1, but as stated above the timeout needs to be at least 4 seconds for the ARP request to time out.

扫描二维码推送至手机访问。

版权声明:本文由满纸空言发布,如需转载请注明出处。

本文链接:https://mzky.cc/post/158.html

分享给朋友:

“keepalived的udp配置问题” 的相关文章

setfacl命令4年前 (2021-04-21)
解决goland显示导入异常3年前 (2021-07-19)
uos编译njmon3年前 (2021-07-21)
UOS编译keepalived3年前 (2021-08-06)

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。