构建黄金组合LVS + Keepalived高可用负载均衡集群&填坑++

时间:2022-06-18 03:02:11

原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://beyondhdf.blog.51cto.com/229452/1331874

51CTO太狗了,不显示图片,直接传链接了


=================================================================================

异常解决

报错
configure: error:
  !!! OpenSSL is not properly installed on your system. !!!
  !!! Can not include OpenSSL headers files.            !!!
解决
yum install openssl openssl-devel -y

报错
configure: error: Popt libraries is required
解决
yum install popt-devel -y
./configure --sysconf=/etc --with-kernel-dir=/usr/src/kernels/2.6.32-431.el6.x86_64/


ar 30 17:00:26 Server81 Keepalived_vrrp[110748]: bogus VRRP packet received on em1 !!!
Mar 30 17:00:26 Server81 Keepalived_vrrp[110748]: VRRP_Instance(VI_1) Dropping received VRRP packet...
Mar 30 17:00:27 Server81 Keepalived_vrrp[110748]: ip address associated with VRID not present in received packet : 192.168.10.97
Mar 30 17:00:27 Server81 Keepalived_vrrp[110748]: one or more VIP associated with VRID mismatch actual MASTER advert
解决
virtual_router_id 50   //同一网段配置多个nrrp时需要有不同的virtual_router_id