Hi, On Mon, Jun 15, 2009 at 03:21:42PM +0200, [email protected] wrote: > Hi, > > we have a cluster using heartbeat1. How is it possible to REstart a service > (in our case: syslog-ng) or execute a script on both nodes at failover? > We don?t use mon.
You can't have a service running on two nodes, but perhaps I don't understand your question. Service monitoring is available with pacemaker, but not in heartbeat v1. > The only thing I found is to use an init script, but because > heartbeat looks if the service is started or stopped, I see no > way to restart a service in this way. (There are also scripts > in /etc/ha.d/resources.d called "AudibleAlarm" or "MailTo", but > they seem to be part of some kind of wrapper and I don?t really > understand how this is working.) MailTo sends an email on start thus alerting on failovers/restarts. Thanks, Dejan > Can you give me a hint? > Thanks, > > Andreas > -- > GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT! > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
