AW: How to setup STONITH with SSH (later with WTI NPS-230)

"Martin Bene" <[email protected]> Sat, 4 May 2002 15:13:47 +0200
Newsgroups gmane.linux.failsafe
Message-ID <[email protected]>
Hi Marc

> But this doesn`t work. "admin reset node XXX" doesn`t work.
> I know that SSH/STONITH is not the best combination, but I 
> want to use it only for test-purposes. 

First, I'd recomend you go back a step and try the "stonith" command line tool.

stonith -t ssh -p "othernode" othernode

For this to work, you'll obviously have to set up ssh public key authentication between your nodes; you can check if that works by trying something like 

ssh -q -x -n -l root "othernode" "ls -la"

you should get back a directory listing without being prompted for a password.

When I last played with ssh stonith, I had another problem: ssh reset worked, but the stonith command didn't return - I got that fixed by changing the ssh parameters used by the stonith module and recompiling stonith. if I remember correctly, I just added a "-f" parameter. worked just fine for tests afterwards.

> If failsafe wokrs fine, I want to buy 
> recommended hardware that is stonith supported.
> Is a WTI NPS-230 working with failsafe? If yes, how do I have 
> to set ip up in failsafe (settings for syscontroldevice).

From what I've read on the mailinglist, this should work just fine.

Bye, Martin