[Linux-cluster] iSCSI fence agent
Florian G. Pflug
fgp at phlo.org
Mon May 1 20:30:45 UTC 2006
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
More information about the Linux-cluster
mailing list