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

keepalived的udp配置问题

池边树下4个月前 (10-09)尘凡132600

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.

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

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

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

分享给朋友:

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

UOS编译keepalived4年前 (2021-08-06)
Golong发送HTTP、HTTPS请求4年前 (2021-08-19)
linux下查找大文件3年前 (2021-09-28)

发表评论

访客

看不清,换一张

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