AW: [LinuxFailSafe] How to setup STONITH with SSH (later with WTI NPS-230)
Martin Bene
martin.bene@icomedias.com
Sat, 4 May 2002 15:13:47 +0200
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=20
> want to use it only for test-purposes.=20
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=20
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=20
> recommended hardware that is stonith supported.
> Is a WTI NPS-230 working with failsafe? If yes, how do I have=20
> to set ip up in failsafe (settings for syscontroldevice).
>From what I've read on the mailinglist, this should work just fine.
Bye, Martin