TypechoJoeTheme

院长技术

统计
登录
用户名
密码
/
注册
用户名
邮箱
搜索到 4 篇与 Keepalived 的结果
2021-04-17

Keepalived配置---待整理

Keepalived配置---待整理
keepalived配置整理keepalived只有一个配置文件 keepalived.conf ,里面主要包括以下几个配置区域,分别是global_defs主要是配置故障发生时的通知对象以及机器标识static_ipaddress配置的是是本节点的IP信息。(如果当前服务器上已经配置了IP,那么这这个区域可以不用配置)static_routes配置的是是本节点的路由信息。(如果当前服务器上已经配置了路由,那么这这个区域可以不用配置)vrrp_script用来做健康检查的,当时检查失败时会将vrrp_instance的priority减少相应的值。vrrp_instance用来定义对外提供服务的VIP区域及其相关属性。vrrp_sync_group用来定义vrrp_intance组,使得这个组内成员动作一致。virtual_server虚拟服务器,来源vrrp_instance 中配置的 的虚拟IP地址,后面加空格加端口号virtual_server_group用来定义virtual_server 组,一般在超大型的LVS中用到,一般LVS用不过这东西。配置说明:注释以“#”或“...
admin
2021-04-17

Linux,DevOps,Keepalived

48 阅读
0 评论
2021年04月17日
48 阅读
0 评论
2021-04-17

K8s高可用集群,Keepalived日志报错---IPVS (cmd 1159, errno 2): No such file or directory

K8s高可用集群,Keepalived日志报错---IPVS (cmd 1159, errno 2): No such file or directory
各master报错如下:[root@master1 ~]#systemctl status keepalived ● keepalived.service - LVS and VRRP High Availability Monitor Loaded: loaded (/usr/lib/systemd/system/keepalived.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2021-04-14 15:32:46 CST; 2 days ago Process: 1297 ExecStart=/usr/sbin/keepalived $KEEPALIVED_OPTIONS (code=exited, status=0/SUCCESS) Main PID: 1307 (keepalived) Tasks: 3 Memory: 5.9M CGroup: /system.slice/keepalived.service ...
admin
2021-04-17

Linux,虚拟化,Kubernetes,DevOps,Keepalived

53 阅读
0 评论
2021年04月17日
53 阅读
0 评论
2020-10-14

报错信息:(VI_1): ip address associated with VRID 80 not present in MASTER advertt : 192.168.1.8

报错信息:(VI_1): ip address associated with VRID 80 not present in MASTER advertt : 192.168.1.8
安装Keepalived,启动后发现VIP不在,通过查看服务状态没,发现以下报错:Oct 14 18:22:32 master1 Keepalived_vrrp[1244]: VRRP_Instance(VI_1) ignoring received advertisment... Oct 14 18:22:33 master1 Keepalived_vrrp[1244]: (VI_1): ip address associated with VRID 80 not present in MASTER advert : 192.168.1.8 Oct 14 18:22:33 master1 Keepalived_vrrp[1244]: bogus VRRP packet received on ens192 !!! Oct 14 18:22:33 master1 Keepalived_vrrp[1244]: VRRP_Instance(VI_1) ignoring received advertisment... Oct 14 18:22:34 master1 Keepalive...
admin
2020-10-14

DevOps,Keepalived

56 阅读
0 评论
2020年10月14日
56 阅读
0 评论