1:
virtual_router_id 在一个网段内(比如内网,外网)不能重复,否则会报:
Mar 9 07:32:52 keepalivet2 Keepalived_vrrp: VRRP_Instance(VI_1) Dropping received VRRP packet…
Mar 9 07:32:53 keepalivet2 Keepalived_vrrp: ip address associated with VRID not present in received packet : 1992032266
Mar 9 07:32:53 keepalivet2 Keepalived_vrrp: one or more VIP associated with VRID mismatch actual MASTER advert
Mar 9 07:32:53 keepalivet2 Keepalived_vrrp: bogus VRRP packet received on eth0 !!!
我当时的情形是:我有两个测试环境,这两个测试环境的keepalived中的
virtual_router_id 都是一样的,只要修改任何一对就可以了!
2:keepalived安装完成后,却不能启动,解决方法见附件!
3:
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error:
!!! OpenSSL is not properly installed on your system. !!!
!!! Can not include OpenSSL headers files.
原因:缺少openssl
解决方法:yum -y install openssl-devel
4:keepalived编译参数问题:
我下载是新版本的的,和以前的编译参数有所不同,这里已经再也没有 --with-kernel=/usr/src/kernels/* 如果你configure的时候加上该参数,会提示认不得该参数! 老版本的keepalived,需要加上 --with-kernel=/usr/src/kernels/* 才能支持lvs,
看到红色字体部分为yes 方可支持lvs
阅读(2042) | 评论(0) | 转发(0) |