在 2008-1-24,下午7:45, Chun Tian (binghe) 写道:

在 2008-1-24,下午6:36, Dejan Muhamedagic 写道:

2. external/ipmi cannot work, because ipmitool power reset sometimes successfully reset my server but didn't exit with 0, and I have to modify
the script to let it exit 0 when calling with reset ...

Under which circumstances was that happening? Is that a problem
with ipmitool or with the stonith script itself?

That is not a problem of stonith script itself, the script itself is quite simple.

I got something like this:

$ ipmilan -I lan ... power reset

$ ipmitool -I lan ... power reset

It's ipmitool, not ipmilan, just a writing mistake.

My ipmitool version is 1.8.9, Debian packaged.


Unable to get Chassis Power Control to Reset
$ echo $?
1

But actually my server has been reset ... I haven't analyze the UDP packet which come between ipmitool and my server, cannot say which is wrong yet.

This is either a problem of ipmitool or my HP DL145 server. My solution is put a "exit 0" in external/ipmi :)

Regards,

Chun TIAN (binghe)



Thanks,

Dejan


Regards,

Chun TIAN (binghe)

?? 2008-1-23??????11:40?? Dejan Muhamedagic ??????

Hello,

Again on the IPMI.

As it says in the subject, there are two ways to reset a host
using an IPMI device. The external ipmi stonith plugin uses hard
reset and the ipmilan stonith device which is just back goes with
the power cycle.

Testing ipmilan with the Qlogic BMC device, which claims to
support IPMI v1.5, revealed that the power cycle request has no
effect on the host. My guess is that this has been disabled
somewhere (BIOS perhaps), but I don't have access to the box to
verify that. The hard reset worked. The latter, however, is
probably (?) not very easy on the hardware.

So, which reset method should be used?

I searched various documents but can't find definite answers and
my experience with this kind of device is limited. I only found
that The IPMI specification says that the Hard reset is optional.

Comments, please.

Thanks,

Dejan
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to