Heartbeat custom scripting
Hi,
I have a two node heartbeat cluster and I would like to run a script when resources get moved back and forth. I put the script in /etc/init.d/ and set it up to run as a resource, heartbeat reports that it is running but I don't see the effects of my script take place. It's not really something that should be running (like a daemon) because it's just a script...I only want it to run once when resources get moved. Any ideas on how to configure that?
Thanks!
|