Re: AW: How to setup STONITH with SSH (later with WTI NPS-230)
Marc Luuk <[email protected]> Sun, 5 May 2002 07:53:06 +0200
| Newsgroups | gmane.linux.failsafe |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 4 May 2002, Martin Bene wrote: > Date: Sat, 4 May 2002 15:13:47 +0200 > From: Martin Bene <[email protected]> > To: Marc Luuk <[email protected]>, > [email protected] > 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