Leroy van Logchem wrote:
> Alan Robertson wrote:
>> Well, we spent a bit of time looking at this before the release went
>> out, and thought we had fixed it. In fact, is is fixed on SUSE Linux,
>> but obviously not really fixed :-(.
>>
> http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1678
>
>> R2 external STONITH handling is much more sophisticated, and much
>> better. But, there is no separate external device, but it supports
>> external devices.
>>
> The 2cib converter translated this v1 line:
> stonith_host * external foo /etc/ha.d/wti.pl
>
> into:
>
> ---<SNIP>---
> <primitive class="stonith" id="stonith_6" provider="heartbeat"
> type="external">
> <operations>
> <op id="stonith_6_mon" interval="5s" name="monitor" prereq="nothing"
> timeout="20s"/>
> <op id="stonith_6_start" name="start" prereq="nothing" timeout="20s"/>
> </operations>
> <instance_attributes id="stonith_6_inst_attr">
> <attributes>
> <nvpair id="stonith_6_attr_2" name="ibmrsa" value="foo"/>
> <nvpair id="stonith_6_attr_3" name="riloe" value="/etc/ha.d/wti.pl"/>
> </attributes>
> </instance_attributes>
> </primitive>
> ---<SNIP>---
>
> This looks futile, what would be the R2 way to use a script to handle
> the stonith?
The external API is very different for R2, so your script will have to
change.
But, for this particular mistake, I blame Dejan ;-)
--
Alan Robertson <[EMAIL PROTECTED]>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems