On Mar 28, 2010, at 9:00 AM, mike wrote:
Hello all,I've got a simple 2 node cluster and it runs RHEL 5.3 on s390. We've got a unique situation in that we are testing a homegrown stonith command if you want to call it that. Our VM guy has come up with a set of commands that we use to do specific things on Linux guests. One of those commandswe can use to actually log the id off, i.e. pull the plug. I'd like toincorporate that command in my cluster. What I'd like to do is, if there is a failover of the cluster then I want to use this command to kill theother node. The command works and its simple, I'm just not sure how to implement this command for when a failover occurs. There are many reasons why we're using this one command (its simplicity is one) and Iknow there may be other ways to accomplish this but I'd like to create aone line script containing this command that will be called when a failover is detected . Can anyone send me on the right path?
Look at the other stonith plugins. On my systems they're in /usr/ lib64/stonith/plugins and /usr/lib64/stonith/plugins/external. The ssh stonith plugin is probably one of the simplest.
alex
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
