Linux-HA开源软件Heartbeat(测试篇)
: Withdrawing address record for 192.168.60.200 on eth0. Nov 26 09:04:22 node1 IPaddr[4407]: INFO: Success 备用节点在接管主节点资源时的日志信息如下: Nov 26 09:02:58 node2 heartbeat: [2110]: info: Link node1:eth0 dead. 拥有帝国一切,皆有可能。欢迎访问phome.net Nov 26 09:02:58 node2 ipfail: [2134]: info: Link Status update: Link node1/eth0 now has status dead Nov 26 09:02:59 node2 ipfail: [2134]: info: Asking other side for ping node count. Nov 26 09:02:59 node2 ipfail: [2134]: info: Checking remote count of ping nodes. Nov 26 09:03:02 node2 ipfail: [2134]: info: Telling other node that we have more visible ping nodes. Nov 26 09:03:09 node2 heartbeat: [2110]: info: node1 wants to go standby [all] Nov 26 09:03:10 node2 heartbeat: [2110]: info: standby: acquire [all] resources from node1 Nov 26 09:03:10 node2 heartbeat: [2281]: info: acquire all HA resources (standby). Nov 26 09:03:10 node2 ResourceManager[2291]: info: Acquiring resource group: node1 192.168.60.200/24/eth0 Filesystem::/dev/sdb5::/webdata::ext3 Nov 26 09:03:10 node2 IPaddr[2315]: INFO: Resource is stopped Nov 26 09:03:11 node2 ResourceManager[2291]: info: Running /etc/ha.d/resource.d/IPaddr 192.168.60.200/24/eth0 start Nov 26 09:03:11 node2 IPaddr[2393]: INFO: Using calculated netmask for 192.168.60.200: 255.255.255.0 Nov 26 09:03:11 node2 IPaddr[2393]: DEBUG: Using calculated broadcast for 192.168.60.200: 192.168.60.255 Nov 26 09:03:11 node2 IPaddr[2393]: INFO: eval /sbin/ifconfig eth0:0 192.168.60.200 netmask 255.255.255.0 broadcast 192.168.60.255 Nov 26 09:03:12 node2 avahi-daemon[1844]: Registering new address record for 192.168.60.200 on eth0. Nov 26 09:03:12 node2 IPaddr[2393]: DEBUG: Sending Gratuitous Arp for 192.168.60.200 on eth0:0 [eth0] Nov 26 09:03:12 node2 IPaddr[2372]: INFO: Success Nov 26 09:03:12 node2 Filesystem[2482]: INFO: Resource is stopped Nov 26 09:03:12 node2 ResourceManager[2291]: info: Running /etc/ha.d/resource.d/Filesystem /dev/sdb5 /webdata ext3 start Nov 26 09:03:13 node2 Filesystem[2523]: INFO: Running start for /dev/sdb5 on /webdata Nov 26 09:03:13 node2 kernel: kjournald starting. Commit interval 5 seconds 拥有帝国一切,皆有可能。欢迎访问phome.net Nov 26 09:03:13 node2 kernel: EXT3 FS on sdb5, internal journal Nov 26 09:03:13 node2 kernel: EXT3-fs: mounted filesystem with ordered data mode. Nov 26 09:03:13 node2 Filesystem[2520]: INFO: Success 三、在主节点上拔去电源线 |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |