Old 17th February 2012, 16:44
sandip sandip is offline
Junior Member
Join Date: Feb 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Heartbeat setup on rhel6 64bit


I setup drbd on Rhel6 64 bit servers successfully. But I failed to setup heartbeat on the servers.

I dont require pacemaker because I have to setup heartbeat on only two nodes. I am using below rpms to setup heartbeat.


what shd be the steps to configure. pls help.

cat /etc/ha.d/ha.cf
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 30
warntime 10
initdead 60
udpport 694
bcast eth0 # Linux
auto_failback off
node xfprimary
node xfsecondary
#apiauth ipfail gid=haclient uid=hacluster
#respawn hacluster /usr/lib64/heartbeat/ipfail

cat /etc/ha.d/authkeys
#Contains configuration for Heartbeat authentication

auth 1
1 crc

cat /etc/ha.d/haresources
#Contains configuration for Heartbeat resources
xfprimary drbddisk::mcsdata Filesystem::/dev/drbd1::/mcsdata::ext4 drbddisk::mailstore Filesystem::/dev/drbd0::/mailstore::ext4 heartbeatservices

Problem: on both nodes heartbeat are running. One one node is primary and other is secondary. If I stopped heartbeat service on primary then switching doesnot happens.

on primary node ha-debug is showing

Feb 17 19:57:15 xfprimary heartbeat: [29374]: WARN: Shutdown delayed until current resource activity finishes.
Feb 17 19:58:32 xfprimary heartbeat: [29374]: info: all clients are now paused
Feb 17 20:02:42 xfprimary heartbeat: [29374]: WARN: Message hist queue is filling up (376 messages in queue)
Feb 17 20:02:44 xfprimary heartbeat: [29374]: WARN: Message hist queue is filling up (377 messages in queue)
Feb 17 20:02:46 xfprimary heartbeat: [29374]: WARN: Message hist queue is filling up (378 messages in queue)

on secondary node ha-debug is showing

mach_down[1551]: 2012/02/17_20:01:27 info: /usr/share/heartbeat/mach_down: nice_failback: foreign resources acquired
mach_down[1551]: 2012/02/17_20:01:27 info: mach_down takeover complete for node xfprimary.
Feb 17 20:01:27 xfsecondary heartbeat: [1438]: info: mach_down takeover complete.
hb_standby[5858]: 2012/02/17_20:01:57 Going standby [foreign].
Feb 17 20:01:57 xfsecondary heartbeat: [1438]: info: xfsecondary wants to go standby [foreign]
Feb 17 20:02:07 xfsecondary heartbeat: [1438]: WARN: No reply to standby request. Standby request cancelled.

Pls help.
Reply With Quote
Sponsored Links


drbd, heartbeat

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HeartBeat warning messages kopper Server Operation 0 15th October 2009 20:09
heartbeat problem on redhat NorwayFun Server Operation 5 10th September 2009 08:56
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 17:26
LB1 Not Taking Over Shared IP Using Heartbeat 2.1.3 On FC10 64Bit asyadiqin Installation/Configuration 5 11th February 2009 21:11
64bit ISPConfig / Perfect Setup CentOS 5 wpwood3 General 5 3rd December 2007 03:11

All times are GMT +2. The time now is 02:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.