[Pacemaker] Is it possible to add to add scripts when active / standby nodes are changed?

Andrew Beekhof andrew at beekhof.net
Thu Jun 13 20:56:36 EDT 2013


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





More information about the Pacemaker mailing list