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 值不能相同。
/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 值不能相同。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15498/viewspace-2151848/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- zabbix-server啟動報錯解決Server
- Redis 3.2.1從庫啟動報錯"Error condition on socket for SYNC"問題解決一例RedisError
- JDeveloper啟動時老是報錯-解決方法Developer
- MySQL 啟動服務報錯解決方案MySql
- 解決 Rust WebAssembly 啟動 Web 程式報錯RustWeb
- tomcat5啟動NotSerializableException報錯解決TomcatException
- 解決MMM啟動監控報錯的問題
- Unity3D啟動報錯的解決方案Unity3D
- VMware 啟動報錯 "Failed to lock the file"解決辦法AI
- 解決docker啟動映象報錯:docker: Error response from daemonDockerError
- VirtualBox-4.3.0啟動報錯及解決辦法
- yum方式安裝Percona XtraBackup報錯解決一例
- MongoDB報錯"not authorized on root to execute command"問題解決一例MongoDBZed
- Tomcat啟動報錯:Error starting static Resources解決方法TomcatError
- PyCharm啟動報錯:Failed to create JVM.解決辦法之一PyCharmAIJVM
- 解決Eclipse啟動報缺少javax/annotation/PostConstruct的錯誤EclipseJavaStruct
- owb修改主機名和IP地址啟動報錯解決方法
- mongodb 啟動報錯MongoDB
- php啟動報錯PHP
- WebLogic8的domain啟動失敗解決一例WebAI
- tomcat啟動超時以及啟動之後開啟網頁報404錯誤的解決方法Tomcat網頁
- asm報錯一例-support 報錯rename failedASMAI
- 解決pgpool啟動報錯 ifup[/sbin/ip] doesn't have setuid bitUI
- 第一次使用jrebel啟動專案報錯解決
- 水煮oracle24---- oracle em 啟動報錯 相關問題解決Oracle
- ubuntu網路卡啟動錯誤解決方法Ubuntu
- vmware server啟動時503錯誤解決Server
- git review報錯一例GitView
- myeclipse啟動報錯Eclipse
- 本地nacos啟動報錯
- Python系統效能資訊模組psutil安裝報錯解決一例Python
- mybatis報錯解決MyBatis
- ORA-03113錯誤解決一例
- RMAN-06133 錯誤解決一例
- RMAN-20207報錯,使用list incarnation解決一例。
- Apache啟動報錯No space left on device: AH00023該怎麼解決Apachedev
- Android studio virtual Device 啟動失敗時某個報錯解決方案Androiddev
- Nginx啟動不了報錯未找到命令的解決方法(- bash: nginx: 未找到命令)Nginx