lvs01keepalived[10879]: TCP connection to [172.16.50.112]:80 failed.
Keepalived_healthcheckers[10879]: TCP connection to [172.16.50.112]:80 failed.
Keepalived_healthcheckers[10879]: Check on service [172.16.50.112]:80 failed after 1 retry.
Keepalived_healthcheckers[10879]: Removing service [172.16.50.112]:80 from VS [172.16.50.230]:80
curl 172.16.50.230
124
停止主机lvs01 Keepalived 服务
观察主机lvs02 Keepalived 日志
Keepalived_vrrp[10774]: VRRP_Instance(VI_1) Transition to MASTER STATE
Keepalived_vrrp[10774]: VRRP_Instance(VI_1) Entering MASTER STATE
Keepalived_vrrp[10774]: VRRP_Instance(VI_1) setting protocol VIPs.
Keepalived_vrrp[10774]: Sending gratuitous ARP on eth0 for 172.16.50.230
Keepalived_vrrp[10774]: VRRP_Instance(VI_1) Sending/queueing gratuitous ARPs on eth0 for 172.16.50.230
Keepalived_vrrp[10774]: Sending gratuitous ARP on eth0 for 172.16.50.230
Keepalived_vrrp[10774]: Sending gratuitous ARP on eth0 for 172.16.50.230
Keepalived_vrrp[10774]: Sending gratuitous ARP on eth0 for 172.16.50.230
Keepalived_vrrp[10774]: Sending gratuitous ARP on eth0 for 172.16.50.230
Keepalived_vrrp[10774]: Sending gratuitous ARP on eth0 for 172.16.50.230
Keepalived_vrrp[10774]: VRRP_Instance(VI_1) Sending/queueing gratuitous ARPs on eth0 for 172.16.50.230
Keepalived_vrrp[10774]: Sending gratuitous ARP on eth0 for 172.16.50.230
Keepalived_vrrp[10774]: Sending gratuitous ARP on eth0 for 172.16.50.230
Keepalived_vrrp[10774]: Sending gratuitous ARP on eth0 for 172.16.50.230
Keepalived_vrrp[10774]: Sending gratuitous ARP on eth0 for 172.16.50.230
Vip地址漂移到了主机 lvs02