linux下Heartbeat做双机热备(2)
[root@node2 ~]# service heartbeat start node2配置完了后启动heartbeat服务
eth0 Link encap:Ethernet HWaddr 00:0C:29:FB:D3:B5 inet addr:192.168.254.237 Bcast:192.168.254.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fefb:d3b5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:21934 errors:0 dropped:0 overruns:0 frame:0 TX packets:2669 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2195508 (2.0 MiB) TX bytes:383855 (374.8 KiB) Interrupt:59 Base address:0x2080
eth1 Link encap:Ethernet HWaddr 00:0C:29:FB:D3:AB inet addr:192.168.211.131 Bcast:192.168.211.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fefb:d3ab/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12478 errors:0 dropped:0 overruns:0 frame:0 TX packets:12901 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2036369 (1.9 MiB) TX bytes:2261217 (2.1 MiB) Interrupt:59 Base address:0x2000
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:6408 errors:0 dropped:0 overruns:0 frame:0 TX packets:6408 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:9340926 (8.9 MiB) TX bytes:9340926 (8.9 MiB) RX bytes:9340926 (8.9 MiB) TX bytes:9340926 (8.9 MiB) [root@node1 ~]# cat /var/log/ha-log 更详细的信息可以查看相应的日志
|
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |