[Linux-HA] HeartBeat doesn't see my process is down.
beekhof at gmail.com
Mon Jul 30 01:00:34 MDT 2007
On 7/28/07, Ciro Iriarte <cyruspy at gmail.com> wrote:
> 2007/7/27, Sebastian Reitenbach <sebastia at l00-bugdead-prods.de>:
> > Hi,
> > General Linux-HA mailing list <linux-ha at lists.linux-ha.org> wrote:
> > >
> > > Hello,
> > >
> > > I configured Heartbeat 2.0.8-2.el4 to start my web server Apache (in
> > > haresources) on Linux when it starts.
> > > The heartbeat configuration runs well in case of hardware crashes
> > but if
> > > the web server goes down only, Heartbeat doesn't see Apache is down and
> > doesn't
> > > send a message to the second server to start its Apache.
> > > I check the script /etc/init.d/httpd status and it returns code 1.
> > > So I don't understand where is the problem ?
> > do you have a monitor action defined for the resource?
> > http://www.linux-ha.org/ClusterInformationBase/Actions
> > Sebastian
> According to that documentation, there are more actions defined
> (Start/Stop). When i export my configuration, there are no start and
> stop actions defined but heartbeat knows how to start / stop my
> If i need a monitor action, must i add the start/stop actions too?
you only need to specify them if you want to change the defaults (ie. timeouts)
> (maybe some default actions get overwritten if i specify a
> "operations" key).
More information about the Linux-HA