AW: [LinuxFailSafe] How to setup STONITH with SSH (later with
WTI NPS-230)
Marc Luuk
m.luuk@mx.uni-saarland.de
Sun, 5 May 2002 07:53:06 +0200
On Sat, 4 May 2002, Martin Bene wrote:
> Date: Sat, 4 May 2002 15:13:47 +0200
> From: Martin Bene <martin.bene@icomedias.com>
> To: Marc Luuk <m.luuk@mx.uni-saarland.de>,
> linuxfailsafe@lists.community.tummy.com
> Subject: AW: [LinuxFailSafe] How to setup STONITH with SSH (later with
> WTI NPS-230)
>
> Hi Marc
Hi Martin,
>
> 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"
I` ve set it up successfully before. It works just fine.
>
> 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.
Same problem here. What did you change exactly?
CU
Marc