中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

keepalived啟動報錯該如何解決

發布時間:2021-11-06 17:17:58 來源:億速云 閱讀:236 作者:柒染 欄目:建站服務器

這期內容當中小編將會給大家帶來有關keepalived啟動報錯該如何解決,文章內容豐富且以專業的角度為大家分析和敘述,閱讀完這篇文章希望大家可以有所收獲。

啟動keepalived報錯,Keepalived_vrrp: ip address associated with VRID not present in received packet
/var/log/messages里的報錯信息如下:

Mar 14 01:29:21 test Keepalived_vrrp[819]: VRRP_Instance(mysql-ha) ignoring received advertisment...
Mar 14 01:29:22 test Keepalived_vrrp[819]: ip address associated with VRID not present in received packet : 192.168.32.53
Mar 14 01:29:22 test Keepalived_vrrp[819]: one or more VIP associated with VRID mismatch actual MASTER advert
Mar 14 01:29:22 test Keepalived_vrrp[819]: bogus VRRP packet received on bond0 !!!
Mar 14 01:29:22 test Keepalived_vrrp[819]: VRRP_Instance(mysql-ha) ignoring received advertisment...
Mar 14 01:29:23 test Keepalived_vrrp[819]: ip address associated with VRID not present in received packet : 192.168.32.53
Mar 14 01:29:23 test Keepalived_vrrp[819]: one or more VIP associated with VRID mismatch actual MASTER advert
Mar 14 01:29:23 test Keepalived_vrrp[819]: bogus VRRP packet received on bond0 !!!


配置文件內容:
# cat /etc/keepalived/keepalived.conf 
vrrp_instance mysql-ha {
state BACKUP
interface eth0
virtual_router_id 53
priority 100
advert_int 1
authentication { 
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
192.168.0.1
}
}


解決方法:
修改virtual_router_id的值,從53改為88,因為之前在同一網段還有別的機器安裝過keepalived,并設置了virtual_router_id=53,改成不同的值后重啟keepalived后問題得到解決.

結論:
在同一網段內非同一套keepalive集群中的virtual_router_id 值不能相同。

上述就是小編為大家分享的keepalived啟動報錯該如何解決了,如果剛好有類似的疑惑,不妨參照上述分析進行理解。如果想知道更多相關知識,歡迎關注億速云行業資訊頻道。

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

石河子市| 肥西县| 莱阳市| 阿勒泰市| 康马县| 特克斯县| 镇巴县| 深圳市| 承德市| 乃东县| 青田县| 永仁县| 东平县| 呈贡县| 磴口县| 四川省| 商南县| 北辰区| 多伦县| 平陆县| 泽州县| 连山| 秦皇岛市| 安图县| 台东市| 务川| 贺州市| 札达县| 榕江县| 江陵县| 聊城市| 买车| 化州市| 土默特右旗| 新乐市| 濮阳县| 五台县| 大英县| 论坛| 建瓯市| 阆中市|