May 05 15:06:43 ckl-bd2 heartbeat:[21548]:info: Link ckl-bd2:eth0 up.#eth0isup
May 05 15:08 :44 ckl-bd2 heartbeat:[21548]: WARN: node ckl-bd1: is dead#Nodeckl-bd1为 dead
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]:< span style="background:#FFFF99;">info: Local status now set to:’active’#The local state is set to active
May 05 15:08:44 ckl-bd2 heartbeat:[21548]: info: Starting child client”/usr/lib6 4/heartbeat/ipfail” (498,500)
#OnipfailDetection
May 05 15:08:44 ckl-bd2 heartbeat:[21548]: WARN: No STONITH deviceconfigured.#< span style="font-size:16px;font-family:'宋体';color:#0000FF;">not usedSTONITH
May 05 15:08:44 ckl-bd2 heartbeat:[21548]:WARN: Shared disks are notprotected . #The shared disk is not protected
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)
#start detection, check the user’suid,gid
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< /span>
May 05 15:08:44 ckl-bd2 heartbeat:[21580]: info: Local Resource a cquisitioncompleted.
#Local resource acquisition completed< /span>
mach_down(default)[21615]: 2014/05/05_15:08:44 info: mach_downtakeover complete for node ckl-bd1.< /p>
May 05 15:08:44 ckl-bd2 heartbeat:[21548]: info: mach_down takeovercomplete.
#< /span>take over the nodeckl -bd1Done
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< /p>
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
< p style="line-height:28px;background:rgb(245,245,245);">#Detection resource setting information p>
ResourceManager(default )[21698]: 2014/05/05_15:08:44 info: Running /etc/ha.d/resource.d/drbddisk r0 start
#Startdrbdisk Script
/usr/lib/ocf/resource.d//heartbeat/Filesystem(Filesystem_/dev/ drbd0)[21766]: 2014/05/05_15:08:44 INFO: Resource is stopped
#< span style="font-size:16px;font-family:'宋体';color:#0000FF;">The resource is nowstop
ResourceManager(default)[21698]: 2014/05/05_15:08:44 info:Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 /mnt start
#RunFilesystem HangingdrbdEquipment
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: span style=”background:#FFFF99;”>Success
#The above three bits hang on the device, and the status isSuccess
ResourceManager(default)[21698]: 2014/05/05_15:08:44 info:Running /etc/ha.d/resource.d/mysql start
#Startmysql< /span>Service
/usr/lib/ocf/resource.d//heartbeat/IPaddr(IPaddr_10 .1.1.7)[22868]: 2014/05/05_15:08:47 INFO: Resource is stopped