首页 > 代码库 > keepalived问题

keepalived问题

  

Sep 30 11:41:34 XSXSH-LB2 Keepalived[2735]: Starting Keepalived v1.2.12 (04/08,2014)Sep 30 11:41:34 XSXSH-LB2 Keepalived[2736]: Starting Healthcheck child process, pid=2737Sep 30 11:41:34 XSXSH-LB2 Keepalived[2736]: Starting VRRP child process, pid=2738Sep 30 11:41:34 XSXSH-LB2 Keepalived_healthcheckers[2737]: Netlink reflector reports IP 10.20.10.7 addedSep 30 11:41:34 XSXSH-LB2 Keepalived_healthcheckers[2737]: Netlink reflector reports IP 10.20.10.7 addedSep 30 11:41:34 XSXSH-LB2 Keepalived_healthcheckers[2737]: Registering Kernel netlink reflectorSep 30 11:41:34 XSXSH-LB2 Keepalived_healthcheckers[2737]: Registering Kernel netlink command channelSep 30 11:41:34 XSXSH-LB2 Keepalived_vrrp[2738]: Netlink reflector reports IP 10.20.10.7 addedSep 30 11:41:34 XSXSH-LB2 Keepalived_vrrp[2738]: Netlink reflector reports IP 10.20.10.7 addedSep 30 11:41:34 XSXSH-LB2 Keepalived_vrrp[2738]: Registering Kernel netlink reflectorSep 30 11:41:34 XSXSH-LB2 Keepalived_vrrp[2738]: Registering Kernel netlink command channelSep 30 11:41:34 XSXSH-LB2 Keepalived_vrrp[2738]: Registering gratuitous ARP shared channelSep 30 11:41:34 XSXSH-LB2 Keepalived_healthcheckers[2737]: Opening file ‘/etc/keepalived/keepalived.conf‘.Sep 30 11:41:34 XSXSH-LB2 Keepalived_healthcheckers[2737]: Configuration is using : 7642 BytesSep 30 11:41:34 XSXSH-LB2 Keepalived_vrrp[2738]: Opening file ‘/etc/keepalived/keepalived.conf‘.Sep 30 11:41:34 XSXSH-LB2 Keepalived_vrrp[2738]: Configuration is using : 63387 BytesSep 30 11:41:34 XSXSH-LB2 Keepalived_vrrp[2738]: Using LinkWatch kernel netlink reflector...Sep 30 11:41:34 XSXSH-LB2 Keepalived_vrrp[2738]: VRRP_Instance(VI_1) Entering BACKUP STATESep 30 11:41:34 XSXSH-LB2 Keepalived_vrrp[2738]: VRRP sockpool: [ifindex(2), proto(112), unicast(0), fd(10,11)]Sep 30 11:41:34 XSXSH-LB2 Keepalived_healthcheckers[2737]: Using LinkWatch kernel netlink reflector...Sep 30 11:41:38 XSXSH-LB2 Keepalived_vrrp[2738]: VRRP_Instance(VI_1) Transition to MASTER STATESep 30 11:41:39 XSXSH-LB2 Keepalived_vrrp[2738]: VRRP_Instance(VI_1) Entering MASTER STATESep 30 11:41:39 XSXSH-LB2 Keepalived_vrrp[2738]: VRRP_Instance(VI_1) setting protocol VIPs.Sep 30 11:41:39 XSXSH-LB2 Keepalived_vrrp[2738]: VRRP_Instance(VI_1) Sending gratuitous ARPs on eth0 for 10.20.10.10Sep 30 11:41:39 XSXSH-LB2 Keepalived_healthcheckers[2737]: Netlink reflector reports IP 10.20.10.10 added

 

backup节点怎么自己提升为master了。master机器正常,不知道backup节点如何判断master失效的,然后提升自己为master 。
master机器正常 没啥异常。怎么backup节点提升了。
 
讨论导致如下信息
1) 配置文件
2) 路由设置
3) 防火墙 (广播地址 需放行)
 

keepalived问题