码迷,mamicode.com
首页 > 其他好文 > 详细

heartbeat 日志分析

时间:2015-08-06 18:49:33      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:检测   heartbeat   

May 05 15:06:43 ckl-bd2 heartbeat:[21548]: info: Link ckl-bd2:eth0 up.  #eth0up

May 05 15:08:44 ckl-bd2 heartbeat:[21548]: WARN: node ckl-bd1: is dead  #节点ckl-bd1dead

May 05 15:08:44 ckl-bd2 heartbeat:[21548]: info: Comm_now_up(): updating status to active

May 05 15:08:44 ckl-bd2 heartbeat:[21548]: info: Local status now set to:‘active‘#本地状态设置为激活

May 05 15:08:44 ckl-bd2 heartbeat:[21548]: info: Starting child client"/usr/lib64/heartbeat/ipfail" (498,500)

#开启ipfail检测

May 05 15:08:44 ckl-bd2 heartbeat:[21548]: WARN: No STONITH deviceconfigured#未使用STONITH

May 05 15:08:44 ckl-bd2 heartbeat:[21548]: WARN: Shared disks are notprotected. #共享磁盘未设置保护

May 05 15:08:44 ckl-bd2 heartbeat:[21548]: info: Resources being acquired from ckl-bd1.

May 05 15:08:44 ckl-bd2 heartbeat:[21578]: info: Starting"/usr/lib64/heartbeat/ipfail" as uid 498  gid 500 (pid 21578)

#启动检测,检测用户的uidgid

harc(default)[21579]:  2014/05/05_15:08:44 info: Running /etc/ha.d//rc.d/status status 

mach_down(default)[21615]:     2014/05/05_15:08:44 info: /usr/share/heartbeat/mach_down: nice_failback:foreign resources acquired

May 05 15:08:44 ckl-bd2 heartbeat:[21580]: info: Local Resource acquisitioncompleted.

#本地资源获取完成

mach_down(default)[21615]:     2014/05/05_15:08:44 info: mach_downtakeover complete for node ckl-bd1.

May 05 15:08:44 ckl-bd2 heartbeat:[21548]: info: mach_down takeovercomplete.

#接管节点ckl-bd1完成

May 05 15:08:44 ckl-bd2 heartbeat:[21548]: info: Initial resource acquisition complete (mach_down)

harc(default)[21675]:  2014/05/05_15:08:44 info: Running /etc/ha.d//rc.d/ip-request-respip-request-resp

ip-request-resp(default)[21675]:       2014/05/05_15:08:44 received ip-request-resp drbddisk::r0OK yes

ResourceManager(default)[21698]:       2014/05/05_15:08:44 info:Acquiring resource group: ckl-bd2 drbddisk::r0 Filesystem::/dev/drbd0::/mntmysql IPaddr::10.1.1.7/24/eth0:1

#探测资源设置信息

ResourceManager(default)[21698]:       2014/05/05_15:08:44 info: Running /etc/ha.d/resource.d/drbddisk r0 start

#启动drbdisk脚本

/usr/lib/ocf/resource.d//heartbeat/Filesystem(Filesystem_/dev/drbd0)[21766]:   2014/05/05_15:08:44 INFO: Resource is stopped

#资源现在为stop

ResourceManager(default)[21698]:       2014/05/05_15:08:44 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 /mnt start

#运行Filesystem  挂着drbd设备

Filesystem(Filesystem_/dev/drbd0)[21848]:      2014/05/05_15:08:44 INFO:Runningstart for /dev/drbd0 on /mnt

Filesystem(Filesystem_/dev/drbd0)[21848]:      2014/05/05_15:08:44 INFO:Startingfilesystem check on /dev/drbd0

/usr/lib/ocf/resource.d//heartbeat/Filesystem(Filesystem_/dev/drbd0)[21840]:   2014/05/05_15:08:44 INFO:  Success

#以上三个位挂在设备,状态为Success

ResourceManager(default)[21698]:       2014/05/05_15:08:44 info:Running /etc/ha.d/resource.d/mysql  start

#启动mysql服务

/usr/lib/ocf/resource.d//heartbeat/IPaddr(IPaddr_10.1.1.7)[22868]:     2014/05/05_15:08:47 INFO: Resource is stopped


本文出自 “运维菜鸟” 博客,请务必保留此出处http://ckl893.blog.51cto.com/8827818/1682224

heartbeat 日志分析

标签:检测   heartbeat   

原文地址:http://ckl893.blog.51cto.com/8827818/1682224

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!