Heartbeat+Drbd+MySQL 安装部署
# tail -f /var/log/ha-logheartbeat: 2010/08/10_20:45:04 info: Version 2 support: false
heartbeat: 2010/08/10_20:45:04 WARN: Logging daemon is disabled --enabling logging daemon is recommended
heartbeat: 2010/08/10_20:45:04 info: **************************
heartbeat: 2010/08/10_20:45:04 info: Configuration validated. Starting heartbeat 2.1.3
heartbeat: 2010/08/10_20:45:04 info: heartbeat: version 2.1.3
heartbeat: 2010/08/10_20:45:04 info: Heartbeat generation: 1281440434
heartbeat: 2010/08/10_20:45:04 info: glib: ucast: write socket priority set to IPTOS_LOWDELAY on eth1
heartbeat: 2010/08/10_20:45:04 info: glib: ucast: bound send socket to device: eth1
heartbeat: 2010/08/10_20:45:04 info: glib: ucast: bound receive socket to device: eth1
heartbeat: 2010/08/10_20:45:04 info: glib: ucast: started on port 694 interface eth1 to 10.0.0.64
heartbeat: 2010/08/10_20:45:04 info: G_main_add_TriggerHandler: Added signal manual handler
heartbeat: 2010/08/10_20:45:04 info: G_main_add_TriggerHandler: Added signal manual handler
heartbeat: 2010/08/10_20:45:04 notice: Using watchdog device: /dev/watchdog
heartbeat: 2010/08/10_20:45:04 info: G_main_add_SignalHandler: Added signal handler for signal 17
heartbeat: 2010/08/10_20:45:04 info: Local status now set to: 'up'
heartbeat: 2010/08/10_20:45:06 info: Link serverd.cyhd.com.cn:eth1 up.
heartbeat: 2010/08/10_20:45:06 info: Status update for node serverd.cyhd.com.cn: status up
harc: 2010/08/10_20:45:06 info: Running /etc/ha.d/rc.d/status status
heartbeat: 2010/08/10_20:45:06 info: Comm_now_up(): updating status to active
heartbeat: 2010/08/10_20:45:06 info: Local status now set to: 'active'
heartbeat: 2010/08/10_20:45:06 info: Starting child client "/usr/lib64/heartbeat/ipfail" (498,496)
heartbeat: 2010/08/10_20:45:06 info: Starting "/usr/lib64/heartbeat/ipfail" as uid 498 gid 496 (pid 16001)
heartbeat: 2010/08/10_20:45:06 info: Status update for node serverd.cyhd.com.cn: status active
harc: 2010/08/10_20:45:06 info: Running /etc/ha.d/rc.d/status status
ipfail: 2010/08/10_20:45:14 info: Ping node count is balanced.
heartbeat: 2010/08/10_20:45:17 info: local resource transition completed.
heartbeat: 2010/08/10_20:45:17 info: Initial resource acquisition complete (T_RESOURCES(us))
IPaddr: 2010/08/10_20:45:17 INFO: Resource is stopped
heartbeat: 2010/08/10_20:45:17 info: Local Resource acquisition completed.
heartbeat: 2010/08/10_20:45:17 info: remote resource transition completed.
harc: 2010/08/10_20:45:17 info: Running /etc/ha.d/rc.d/ip-request-resp ip-request-resp
ip-request-resp: 2010/08/10_20:45:18 received ip-request-resp IPaddr::192.168.20.70/24/eth0:1 OK yes
ResourceManager: 2010/08/10_20:45:18 info: Acquiring resource group: serverc.cyhd.com.cn IPaddr::192.168.20.70/24/eth0:1 mysqld_umount mysqld
IPaddr: 2010/08/10_20:45:18 INFO: Resource is stopped
ResourceManager: 2010/08/10_20:45:18 info: Running /etc/ha.d/resource.d/IPaddr 192.168.20.70/24/eth0:1 start
IPaddr: 2010/08/10_20:45:18 INFO: Using calculated netmask for 192.168.20.70: 255.255.255.0
IPaddr: 2010/08/10_20:45:18 INFO: eval ifconfig eth0:0 192.168.20.70 netmask 255.255.255.0 broadcast 192.168.20.255
IPaddr: 2010/08/10_20:45:18 INFO: Success
ResourceManager: 2010/08/10_20:45:19 info: Running /etc/ha.d/resource.d/mysqld_umount start
ResourceManager: 2010/08/10_20:45:19 info: Running /etc/ha.d/resource.d/mysqld start
页:
[1]