On Mon, Apr 19, 2010 at 07:32:17PM +0200, [email protected] wrote: > > > Hi everyone, > > I guess the question has been asked a thousand time. > I would like to know how to monitor a HA service. > > Is there a tool that tries to restart the process and if it can't stop the > heartbeat node?
That tool is the cluster resource manager, crm, formerly integral part of heartbeat, now (since more than two years) called Pacemaker. > I have heard that it'sz possible to do it with heartbeat but i didn't find a > doc > or an example How did you perform your research? What was your search phrase? > Could you please tell me where can i find a documentation or show me an > example > ? > > Should i use heartbeat 2 or 3? You should use Pacemaker (the cluster manager). You should not use heartbeat 2 (it is legacy). You may use either heartbeat 3, or corosync (openais), both provide cluster infrastructure (membership and inter node communications) to Pacemaker. http://www.linux-ha.org/ http://www.linux-ha.org/wiki/Pacemaker http://www.clusterlabs.org/ Don't be scared by xml (you may have seen lots of xml when you looked for examples on the web; there is no need for xml anymore): http://www.clusterlabs.org/doc/crm_cli.html More reference documentation on pacemaker: http://www.clusterlabs.org/doc/ More reference documentation on heartbeat: http://www.linux-ha.org/doc/ -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
