主伺服器 Jun 26 11:06:41 node0 Keepalived_vrrp: VRRP_Instance(VI_1) sending 0 priority Jun 26 11:06:41 node0 Keepalived: Stopping Keepalived v1.2.7 (02/21,2013) Jun 26 11:07:44 node0 Keepalived: Starting Keepalived v1.2.7 (02/21,2013) Jun 26 11:07:44 node0 Keepalived: Starting Healthcheck child process, pid=1263 Jun 26 11:07:44 node0 Keepalived: Starting VRRP child process, pid=1264 Jun 26 11:07:44 node0 Keepalived_vrrp: Interface queue is empty Jun 26 11:07:44 node0 Keepalived_vrrp: Netlink reflector reports IP 10.1.88.76 added Jun 26 11:07:44 node0 Keepalived_vrrp: Netlink reflector reports IP fe80::5054:ff:fe8f:97f6 added Jun 26 11:07:44 node0 Keepalived_vrrp: Registering Kernel netlink reflector Jun 26 11:07:44 node0 Keepalived_vrrp: Registering Kernel netlink command channel Jun 26 11:07:44 node0 Keepalived_vrrp: Registering gratuitous ARP shared channel Jun 26 11:07:44 node0 Keepalived_healthcheckers: Interface queue is empty Jun 26 11:07:44 node0 Keepalived_healthcheckers: Netlink reflector reports IP 10.1.88.76 added Jun 26 11:07:44 node0 Keepalived_healthcheckers: Netlink reflector reports IP fe80::5054:ff:fe8f:97f6 added Jun 26 11:07:44 node0 Keepalived_healthcheckers: Registering Kernel netlink reflector Jun 26 11:07:44 node0 Keepalived_healthcheckers: Registering Kernel netlink command channel Jun 26 11:07:44 node0 Keepalived_healthcheckers: Opening file '/etc/keepalived/keepalived.conf'. Jun 26 11:07:44 node0 Keepalived_vrrp: Opening file '/etc/keepalived/keepalived.conf'. Jun 26 11:07:44 node0 Keepalived_vrrp: Configuration is using : 63254 Bytes Jun 26 11:07:44 node0 Keepalived_vrrp: Using LinkWatch kernel netlink reflector... Jun 26 11:07:44 node0 Keepalived_healthcheckers: Configuration is using : 17141 Bytes Jun 26 serial8250: too much work for irq4 11:07:44 node0 Keepalived_vrrp: VRRP sockpool: Jun 26 11:07:44 node0 Keepalived_healthcheckers: Using LinkWatch kernel netlink reflector... Jun 26 11:07:44 node0 Keepalived_healthcheckers: Activating healthchecker for service :23 Jun 26 11:07:44 node0 Keepalived_healthcheckers: Activating healthchecker for service :23 Jun 26 11:07:44 node0 Keepalived_healthcheckers: Activating healthchecker for service :23 Jun 26 11:07:45 node0 Keepalived_vrrp: VRRP_Instance(VI_1) Transition to MASTER STATE Jun 26 11:07:46 node0 Keepalived_vrrp: VRRP_Instance(VI_1) Entering MASTER STATE Jun 26 11:07:46 node0 Keepalived_vrrp: VRRP_Instance(VI_1) setting protocol VIPs. Jun 26 11:07:46 node0 Keepalived_vrrp: VRRP_Instance(VI_1) Sending gratuitous ARPs on eth0 for 10.1.88.81 Jun 26 11:07:46 node0 Keepalived_healthcheckers: Netlink reflector reports IP 10.1.88.81 added Jun 26 11:07:51 node0 Keepalived_vrrp: VRRP_Instance(VI_1) Sending gratuitous ARPs on eth0 for 10.1.88.81 # date Wed Jun 26 11:08:08 CST 2013 備用伺服器 Jun 26 11:07:50 node1 Keepalived: Starting Keepalived v1.2.7 (02/21,2013) Jun 26 11:07:50 node1 Keepalived: Starting Healthcheck child process, pid=1286 Jun 26 11:07:50 node1 Keepalived: Starting VRRP child process, pid=1287 Jun 26 11:07:50 node1 Keepalived_vrrp: Interface queue is empty Jun 26 11:07:50 node1 Keepalived_vrrp: Netlink reflector reports IP 10.1.88.77 added Jun 26 11:07:50 node1 Keepalived_vrrp: Netlink reflector reports IP fe80::5054:ff:fee6:54b7 added Jun 26 11:07:50 node1 Keepalived_vrrp: Registering Kernel netlink reflector Jun 26 11:07:50 node1 Keepalived_vrrp: Registering Kernel netlink command channel Jun 26 11:07:50 node1 Keepalived_vrrp: Registering gratuitous ARP shared channel Jun 26 11:07:50 node1 Keepalived_healthcheckers: Interface queue is empty Jun 26 11:07:50 node1 Keepalived_vrrp: Opening file '/etc/keepalived/keepalived.conf'. Jun 26 11:07:50 node1 Keepalived_healthcheckers: Netlink reflector reports IP 10.1.88.77 added Jun 26 11:07:50 node1 Keepalived_healthcheckers: Netlink reflector reports IP fe80::5054:ff:fee6:54b7 added Jun 26 11:07:50 node1 Keepalived_healthcheckers: Registering Kernel netlink reflector Jun 26 11:07:50 node1 Keepalived_healthcheckers: Registering Kernel netlink command channel Jun 26 11:07:50 node1 Keepalived_healthcheckers: Opening file '/etc/keepalived/keepalived.conf'. Jun 26 11:07:50 node1 Keepalived_vrrp: Configuration is using : 63252 Bytes Jun 26 11:07:50 node1 Keepalived_vrrp: Using LinkWatch kernel netlink reflector... Jun 26 11:07:50 node1 Keepalived_healthcheckers: Configuration is using : 17139 Bytes Jun 26 11:07:50 node1 Keepalived_vrrp: VRRP_Instance(VI_1) Entering BACKUP STATE Jun 26 11:07:50 node1 Keepalived_vrrp: VRRP sockpool: Jun 26 11:07:50 node1 Keepalived_healthcheckers: Using LinkWatch kernel netlink reflector... Jun 26 11:07:50 node1 Keepalived_healthcheckers: Activating healthchecker for service :23 Jun 26 11:07:50 node1 Keepalived_healthcheckers: Activating healthchecker for service :23 Jun 26 11:07:50 node1 Keepalived_healthcheckers: Activating healthchecker for service :23 Jun 26 11:07:53 node1 Keepalived_vrrp: VRRP_Instance(VI_1) Transition to MASTER STATE Jun 26 11:07:54 node1 Keepalived_vrrp: VRRP_Instance(VI_1) Entering MASTER STATE Jun 26 11:07:54 node1 Keepalived_vrrp: VRRP_Instance(VI_1) setting protocol VIPs. Jun 26 11:07:54 node1 Keepalived_vrrp: VRRP_Instance(VI_1) Sending gratuitous ARPs on eth0 for 10.1.88.81 Jun 26 11:07:54 node1 Keepalived_healthcheckers: Netlink reflector reports IP 10.1.88.81 added Jun 26 11:07:59 node1 Keepalived_vrrp: VRRP_Instance(VI_1) Sending gratuitous ARPs on eth0 for 10.1.88.81 問題已經解決 I found the solution of this problem. The master virtual_router_id should equal to backup's.I found the solution of this problem. The master virtual_router_id should equal to backup's. 主備伺服器的virtual_router_id必須相同!