[Pacemaker] stonith resources external/ipmi, where should they run on?

Andrew Beekhof andrew at beekhof.net
Sun Sep 23 17:48:22 EDT 2012


On Sat, Sep 22, 2012 at 10:47 AM, Arnold Krille <arnold at arnoldarts.de> wrote:
> Hi,
>
> it would be nice if stonith-resources that only shoot one node automatically
> set the anti-location constraint. But I fear you gotta do this by hand.

It is tempting to have the PE peek into the pcmk_host_list variable for this.
Any volunteers to code it up?

>
> While an ipmi-stonith killing itself will work in that the machine dies, it
> can't report back to pacemaker and then afair pacemaker hangs and is in a
> very awkward state.
>
> Have fun and excuse the top-post,
>
> Arnold
>
>
>
> Carlos Xavier <cbastos at connection.com.br> schrieb:
>>
>> Hi.
>>
>> I´m running a Pacemaker Cluster on Dell R610 machines, so I enabled the
>> IDrac6 and configured the following external/ipmi resources
>> primitive resIPMI-1 stonith:external/ipmi \
>> params hostname=apolo ipaddr=172.31.0.240 \
>> userid=root passwd=somepass interface=lan \
>> op monitor interval=600 timeout=240
>> primitive resIPMI-2 stonith:external/ipmi \
>> params hostname=diana ipaddr=172.31.0.241 \
>> userid=root passwd=somepass interface=lan \
>> op monitor interval=600 timeout=240
>>
>> When the resources are started i see one running at each host:
>> resIPMI-1       (stonith:external/ipmi):        Started apolo
>> resIPMI-2       (stonith:external/ipmi):        Started diana
>>
>> But as it can be noticed the resource resIPMI-1 that controls the node
>> 172.31.0.240 is running at its own host and so is the resIPMI-2.
>>
>> Is that correct or should them be running on the oposite host or be a
>> clone
>> resource? Do I need to set the location for those resources?
>>
>> Kind regards,
>> Carlos.
>>
>>
>> ________________________________
>>
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs: http://bugs.clusterlabs.org
>
>
> --
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>




More information about the Pacemaker mailing list