On 11/15/2009 09:09 PM, Tomasz Chmielewski wrote:
> I have two nodes, node_1 and node_2.
>
> node_2 was down, but is now up.
>
>
> How can I execute a custom script on node_1 when it detects that node_2
> is back?
>
>

This is a little off the heartbeat list I guess, but we use Nagios to 
monitor our heartbeat clusters and you can use the eventhandler from 
nagios to execute scripts when there is a state change.

I don't think that you would want to install nagios just for this, but 
in case you are running Nagios or something similar already you might 
try this approach.

Bye,
Tobi
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to