![Keepalived 增加从属/主控提升间隔/超时(advert_int)不起作用](https://linux22.com/image/764542/Keepalived%20%E5%A2%9E%E5%8A%A0%E4%BB%8E%E5%B1%9E%2F%E4%B8%BB%E6%8E%A7%E6%8F%90%E5%8D%87%E9%97%B4%E9%9A%94%2F%E8%B6%85%E6%97%B6%EF%BC%88advert_int%EF%BC%89%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8.png)
我正在尝试通过在 keepalived.conf 上将其设置为 3 秒来增加触发从服务器到主服务器升级的默认间隔(advert_int),该间隔似乎是 1 秒:
vrrp_instance VI_1 {
state MASTER
#How often to send out VRRP advertisements
advert_int 3
...
}
通过停止 keepalived 甚至关闭主节点来测试此设置,我再次获得相同的 1 秒主间隔升级。还有其他需要配置的设置/参数吗?
谢谢