LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-16-2010, 01:44 PM   #1
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
How does heartbeat work?


I am trying to figure out ho to setup EC2 clustering. I am seeing heartbeat as an option. However I need something that will monitor the state of a daemon, and not if a daemon is running.

For example, say I want httpd to be high availability. Does heartbeat monitor if httpd is not in a hung state, or does it simply do a ps -e |grep httpd? So my question is, how does heartbeat work?

Any information would be greatly appriciated. Thanks
 
Old 03-17-2010, 10:16 AM   #2
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Original Poster
Rep: Reputation: 57
Just in case anyone was wondering. After talking to many people and tons of research I have figured out heartbeat uses UDP packet monitoring. This can be done via unicast, broadcast or multicast on a specfied interface using a specified port number. The UDP packets will provide the status of each service running in the cluster.
 
Old 03-17-2010, 10:23 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Yes -- I was wondering. Nice to know, thanks, worm5252
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd on heartbeat paulzhoucn Red Hat 6 03-05-2009 12:50 PM
Heartbeat + ldirectord ptemmerman Linux - Server 1 10-23-2008 05:47 AM
how to configure heartbeat to work with tomcat server hopehyy Linux - Software 1 08-14-2008 06:24 AM
DRBD + heartbeat kridkom Linux - Software 2 04-13-2004 11:01 AM
drbd + heartbeat kridkom Linux - Networking 1 03-18-2004 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration