[Pacemaker] Reg. trigger when node failure occurs
Michael Schwartzkopff
ms at sys4.de
Tue Dec 10 07:36:44 UTC 2013
Am Dienstag, 10. Dezember 2013, 12:19:25 schrieb ESWAR RAO:
> Hi All,
>
> Can someone please let me know if there is a clean to trigger any script by
> pacemaker if HB on a node has stopped/node failed occurred if I ran
> HB+pacemaker on a 3 node setup??
>
> Thanks
> Eswar
>
> On Mon, Dec 9, 2013 at 5:16 PM, ESWAR RAO <eswar7028 at gmail.com> wrote:
> > Hi All,
> >
> > I have a 3 node ( node1, node2, node3 ) setup on which HB+pacemaker runs.
> > I have resources running on clone mode on node1 and node2.
> >
> > Is there anyway to get a trigger when a node failure occurs i.e., can i
> > trigger any script if the node3 fails (on which no resource runs) ???
Yes. run a ocf:pacemaker:ClusterMon resource and read man crm_mon for the
additional options to call a script.
--
Mit freundlichen Grüßen,
Michael Schwartzkopff
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131210/bfb492f6/attachment-0004.sig>
More information about the Pacemaker
mailing list