[Linux-cluster] iSCSI fence agent
Matthew B. Brookover
mbrookov at mines.edu
Mon May 1 20:45:30 UTC 2006
Hmm, nice to know that. I must have been thinking of rsh or something
else. I would encourage you to test carefully.
Matt
On Mon, 2006-05-01 at 22:30 +0200, Florian G. Pflug wrote:
> Matthew B. Brookover wrote:
> > I have not used this tool in a while, but it did work on my system.
> >
> > I would not trust this version to fence properly. Using system does not
> > allow the exit status of iptables to be checked for errors. System only
> > reports the status of the ssh command, not the command that is called on
> > the remote host.
> I believe ssh 'forwards' that exit-code of the remote-command - at
> least the version that comes with debian/sarge does.
>
> > ssh fgp at dev '/bin/false'; echo $?
> gives:
> 1
>
> > ssh fgp at dev '/bin/true'; echo $?
> gives:
> 0
>
> At least on my machine..
>
> greetings, Florian Pflug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20060501/981b97f7/attachment.htm>
More information about the Linux-cluster
mailing list