2010-11-30 15:31 keltezéssel, Florian Haas írta:
> On 2010-11-30 14:59, Boszormenyi Zoltan wrote:
>> Hi,
>>
>> this e-mail is meant as a help for those fighting with
>> RILOE II devices and Linux-HA.
>>
>> I just had to setup Linux-HA on two HP DL385 machines,
>> CentOS 5.5, stock heartbeat 2.1.3 binaries provided by the
>> distribution. The owners of the machines told us that
>> they use RILOE II devices, but the "external/riloe" stonith
>> resource didn't want to work, "returned 256" was reported
>> by "stonith -t external/riloe ... status". Neither the old script
>> provided by heartbeat-2.1.3 nor the newest one found at
>> http://hg.linux-ha.org/glue/file/61a7a218b5aa/lib/plugins/stonith/external/riloe
>> worked, both timed out.
>>
>> Two days of reading mail archives later and trying out several
>> offered solutions, nothing helped.
>>
>> Then the real solution came as an idea or rather suspicion:
>> could it be that HP switched to the industry-standard from
>> their own homegrown solution?
>>
>> THE ANSWER IS YES. LATEST RILOE II DEVICES USE IPMI.
>>
>> If you want to use external/ipmi, you only need to modify it
>> a little, though. Instead of "-I lan", you have to use "-I lanplus".
> No need to modify any code. Just set the "interface" parameter correctly.
>
> http://hg.linux-ha.org/glue/file/tip/lib/plugins/stonith/external/ipmi#l231
>
> And of course, don't use Heartbeat 2.1.3. Use 3.0.3 with Pacemaker and
> cluster-glue.
>
> Florian

If you have to use stock distro binaries (for CentOS 5.5, it's
heartbeat-2.1.3) then you need to tweak the external/ipmi
script manually as it has hardwired "-I lan".

Best regards,
Zoltán Böszörményi

-- 
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
     http://www.postgresql.at/

_______________________________________________
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