[Pacemaker] Is it possible to add to add scripts when active / standby nodes are changed?
Michael Furman
michael_furman at hotmail.com
Fri Jun 14 19:53:55 UTC 2013
Thank you for your hint!
I have found everything I need here:
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html-single/Pacemaker_Explained/index.html#idm61451840
> From: andrew at beekhof.net
> Date: Fri, 14 Jun 2013 10:56:36 +1000
> To: pacemaker at oss.clusterlabs.org
> Subject: Re: [Pacemaker] Is it possible to add to add scripts when active / standby nodes are changed?
>
> Perhaps check out crm_mon --external-agent
>
> On 14/06/2013, at 12:47 AM, Michael Furman <michael_furman at hotmail.com> wrote:
>
> > Hi all!
> > I want to execute some actions when active / standby nodes are changed.
> > I want to do the following:
> > 1. Send SMTP mail
> > 2. Add message to syslog
> > 3. Execute my script
> > I want to do it in the following cases:
> > 1. On the node that become from active to standby
> > (May be some action will not work since something bad happens :) )
> > 2. On node that become from standby to active
> >
> > Is it possible to do with Pacemaker 1.1.8?
> > Thanks for your help!
> > Michael
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130614/c21dd2b2/attachment.htm>
More information about the Pacemaker
mailing list