Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

stonith:external/ipmi was WARNING: Resources violate uniqueness

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


external.Martin.Konold at de

Jun 29, 2012, 6:53 AM

Post #1 of 3 (414 views)
Permalink
stonith:external/ipmi was WARNING: Resources violate uniqueness

Hi Andreas,

thank you very much. Stonith works nicely when doing the 'kill -9 corosync' tests.

When looking at /var/log/messages I can see entries like

Jun 29 15:12:07 rt-lxcl9a stonith-ng: [12589]: WARN: parse_host_line: Could not parse (0 0):

I am wondering what causes this warning.

primitive stonith-ilo-rt-lxcl9ar stonith:external/ipmi \
params hostname="rt-lxcl9a" ipaddr="10.13.172.85" userid="stonith" passwd="XXX" passwd_method="param" interface="lanplus"
primitive stonith-ilo-rt-lxcl9br stonith:external/ipmi \
params hostname="rt-lxcl9b" ipaddr="10.13.172.93" userid="stonith" passwd="XXX" passwd_method="param" interface="lanplus"

Best regards

Martin Konold

Robert Bosch GmbH
Automotive Electronics
Postfach 13 42
72703 Reutlingen
GERMANY
www.bosch.com

Tel. +49 7121 35 3322

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried Dais;
Stefan Asenkerschbaumer, Bernd Bohr, Rudolf Colm, Volkmar Denner, Christoph Kübel, Uwe Raschke,
Wolf-Henning Scheider, Werner Struth, Peter Tyroller

-----Original Message-----
From: linux-ha-bounces [at] lists [mailto:linux-ha-bounces [at] lists] On Behalf Of Andreas Kurz
Sent: Freitag, 29. Juni 2012 13:06
To: linux-ha [at] lists
Subject: Re: [Linux-HA] WARNING: Resources violate uniqueness

On 06/29/2012 12:33 PM, EXTERNAL Konold Martin (erfrakon, RtP2/TEF72) wrote:
> Hi,
>
> thanks for the clarification!
>
>>> 1. Why does crm the two distrinct primitives st-ilo-rt-lxcl9ar and st-ilo-rt-lxcl9br to have different parameters? Is this an error in stonith:ipmilan?
>
>> yes, this is an error in the metadata of ipmilan ... but you should still be able to commit that configuration.
>
> Yes, the configuration can be commited without problem.
>
>>> 2. Is stonith:ipmilan the correct stonith driver for HP iLo3 (DL380 G7)? If yes, how to test if it is really working?
>
>> well, I personally prefer external/ipmi ... used it on several management cards including ilos without a problem.
>
> On the commandline I used successfully:
>
> ipmitool -H rt-lxcl9br.de.bosch.com -I lanplus -A PASSWORD -U stonith -P somepassword power status.
>
> -l lanplus is mandatory to get it working with iLo3 (Firmware 1.28)
>
> Can I make uses of this command using external/ipmi or is lanplus not supported by external/ipmi?

it is supported

>
> When executing
>
> # stonith -t external/ipmi -n
> hostname ipaddr userid passwd interface

interface is the IPMI interface ... lan or lanplus

>
> I cannot see how to configure lanplus.

crm ra info stonith:external/ipmi

Regards,
Andreas

--
Need help with Pacemaker?
http://www.hastexo.com/now


>
> Best regards
>
> Martin Konold
>
> Robert Bosch GmbH
> Automotive Electronics
> Postfach 13 42
> 72703 Reutlingen
> GERMANY
> www.bosch.com
>
> Tel. +49 7121 35 3322
>
> Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
> Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried Dais;
> Stefan Asenkerschbaumer, Bernd Bohr, Rudolf Colm, Volkmar Denner, Christoph Kübel, Uwe Raschke,
> Wolf-Henning Scheider, Werner Struth, Peter Tyroller
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>




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


andreas at hastexo

Jun 29, 2012, 7:31 AM

Post #2 of 3 (369 views)
Permalink
Re: stonith:external/ipmi was WARNING: Resources violate uniqueness [In reply to]

On 06/29/2012 03:53 PM, EXTERNAL Konold Martin (erfrakon, RtP2/TEF72) wrote:
> Hi Andreas,
>
> thank you very much. Stonith works nicely when doing the 'kill -9 corosync' tests.
>
> When looking at /var/log/messages I can see entries like
>
> Jun 29 15:12:07 rt-lxcl9a stonith-ng: [12589]: WARN: parse_host_line: Could not parse (0 0):

Hmm ... well, if it works ... you can open a support request for your
enterprise server ....

>
> I am wondering what causes this warning.
>
> primitive stonith-ilo-rt-lxcl9ar stonith:external/ipmi \
> params hostname="rt-lxcl9a" ipaddr="10.13.172.85" userid="stonith" passwd="XXX" passwd_method="param" interface="lanplus"
> primitive stonith-ilo-rt-lxcl9br stonith:external/ipmi \
> params hostname="rt-lxcl9b" ipaddr="10.13.172.93" userid="stonith" passwd="XXX" passwd_method="param" interface="lanplus"
>

looks fine ... it should not be needed but you can try to add (of course
for both devices):

pcmk_host_check="static-list" pcmk_host_list="rt-lxcl9a"

... to the params list.

Regards,
Andreas

--
Need help with Pacemaker?
http://www.hastexo.com/now

> Best regards
>
> Martin Konold
>
> Robert Bosch GmbH
> Automotive Electronics
> Postfach 13 42
> 72703 Reutlingen
> GERMANY
> www.bosch.com
>
> Tel. +49 7121 35 3322
>
> Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
> Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried Dais;
> Stefan Asenkerschbaumer, Bernd Bohr, Rudolf Colm, Volkmar Denner, Christoph Kübel, Uwe Raschke,
> Wolf-Henning Scheider, Werner Struth, Peter Tyroller
>
> -----Original Message-----
> From: linux-ha-bounces [at] lists [mailto:linux-ha-bounces [at] lists] On Behalf Of Andreas Kurz
> Sent: Freitag, 29. Juni 2012 13:06
> To: linux-ha [at] lists
> Subject: Re: [Linux-HA] WARNING: Resources violate uniqueness
>
> On 06/29/2012 12:33 PM, EXTERNAL Konold Martin (erfrakon, RtP2/TEF72) wrote:
>> Hi,
>>
>> thanks for the clarification!
>>
>>>> 1. Why does crm the two distrinct primitives st-ilo-rt-lxcl9ar and st-ilo-rt-lxcl9br to have different parameters? Is this an error in stonith:ipmilan?
>>
>>> yes, this is an error in the metadata of ipmilan ... but you should still be able to commit that configuration.
>>
>> Yes, the configuration can be commited without problem.
>>
>>>> 2. Is stonith:ipmilan the correct stonith driver for HP iLo3 (DL380 G7)? If yes, how to test if it is really working?
>>
>>> well, I personally prefer external/ipmi ... used it on several management cards including ilos without a problem.
>>
>> On the commandline I used successfully:
>>
>> ipmitool -H rt-lxcl9br.de.bosch.com -I lanplus -A PASSWORD -U stonith -P somepassword power status.
>>
>> -l lanplus is mandatory to get it working with iLo3 (Firmware 1.28)
>>
>> Can I make uses of this command using external/ipmi or is lanplus not supported by external/ipmi?
>
> it is supported
>
>>
>> When executing
>>
>> # stonith -t external/ipmi -n
>> hostname ipaddr userid passwd interface
>
> interface is the IPMI interface ... lan or lanplus
>
>>
>> I cannot see how to configure lanplus.
>
> crm ra info stonith:external/ipmi
>
> Regards,
> Andreas
>
> --
> Need help with Pacemaker?
> http://www.hastexo.com/now
>
>
>>
>> Best regards
>>
>> Martin Konold
>>
>> Robert Bosch GmbH
>> Automotive Electronics
>> Postfach 13 42
>> 72703 Reutlingen
>> GERMANY
>> www.bosch.com
>>
>> Tel. +49 7121 35 3322
>>
>> Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
>> Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried Dais;
>> Stefan Asenkerschbaumer, Bernd Bohr, Rudolf Colm, Volkmar Denner, Christoph Kübel, Uwe Raschke,
>> Wolf-Henning Scheider, Werner Struth, Peter Tyroller
>> _______________________________________________
>> Linux-HA mailing list
>> Linux-HA [at] lists
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>
>
>
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
Attachments: signature.asc (0.22 KB)


andrew at beekhof

Jul 1, 2012, 2:28 PM

Post #3 of 3 (362 views)
Permalink
Re: stonith:external/ipmi was WARNING: Resources violate uniqueness [In reply to]

On Sat, Jun 30, 2012 at 12:31 AM, Andreas Kurz <andreas [at] hastexo> wrote:
> On 06/29/2012 03:53 PM, EXTERNAL Konold Martin (erfrakon, RtP2/TEF72) wrote:
>> Hi Andreas,
>>
>> thank you very much. Stonith works nicely when doing the 'kill -9 corosync' tests.
>>
>> When looking at /var/log/messages I can see entries like
>>
>> Jun 29 15:12:07 rt-lxcl9a stonith-ng: [12589]: WARN: parse_host_line: Could not parse (0 0):
>
> Hmm ... well, if it works ... you can open a support request for your
> enterprise server ....

Pretty sure stonith-ng doesn't produce that one anymore.

>
>>
>> I am wondering what causes this warning.
>>
>> primitive stonith-ilo-rt-lxcl9ar stonith:external/ipmi \
>> params hostname="rt-lxcl9a" ipaddr="10.13.172.85" userid="stonith" passwd="XXX" passwd_method="param" interface="lanplus"
>> primitive stonith-ilo-rt-lxcl9br stonith:external/ipmi \
>> params hostname="rt-lxcl9b" ipaddr="10.13.172.93" userid="stonith" passwd="XXX" passwd_method="param" interface="lanplus"
>>
>
> looks fine ... it should not be needed but you can try to add (of course
> for both devices):
>
> pcmk_host_check="static-list" pcmk_host_list="rt-lxcl9a"
>
> ... to the params list.
>
> Regards,
> Andreas
>
> --
> Need help with Pacemaker?
> http://www.hastexo.com/now
>
>> Best regards
>>
>> Martin Konold
>>
>> Robert Bosch GmbH
>> Automotive Electronics
>> Postfach 13 42
>> 72703 Reutlingen
>> GERMANY
>> www.bosch.com
>>
>> Tel. +49 7121 35 3322
>>
>> Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
>> Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried Dais;
>> Stefan Asenkerschbaumer, Bernd Bohr, Rudolf Colm, Volkmar Denner, Christoph Kübel, Uwe Raschke,
>> Wolf-Henning Scheider, Werner Struth, Peter Tyroller
>>
>> -----Original Message-----
>> From: linux-ha-bounces [at] lists [mailto:linux-ha-bounces [at] lists] On Behalf Of Andreas Kurz
>> Sent: Freitag, 29. Juni 2012 13:06
>> To: linux-ha [at] lists
>> Subject: Re: [Linux-HA] WARNING: Resources violate uniqueness
>>
>> On 06/29/2012 12:33 PM, EXTERNAL Konold Martin (erfrakon, RtP2/TEF72) wrote:
>>> Hi,
>>>
>>> thanks for the clarification!
>>>
>>>>> 1. Why does crm the two distrinct primitives st-ilo-rt-lxcl9ar and st-ilo-rt-lxcl9br to have different parameters? Is this an error in stonith:ipmilan?
>>>
>>>> yes, this is an error in the metadata of ipmilan ... but you should still be able to commit that configuration.
>>>
>>> Yes, the configuration can be commited without problem.
>>>
>>>>> 2. Is stonith:ipmilan the correct stonith driver for HP iLo3 (DL380 G7)? If yes, how to test if it is really working?
>>>
>>>> well, I personally prefer external/ipmi ... used it on several management cards including ilos without a problem.
>>>
>>> On the commandline I used successfully:
>>>
>>> ipmitool -H rt-lxcl9br.de.bosch.com -I lanplus -A PASSWORD -U stonith -P somepassword power status.
>>>
>>> -l lanplus is mandatory to get it working with iLo3 (Firmware 1.28)
>>>
>>> Can I make uses of this command using external/ipmi or is lanplus not supported by external/ipmi?
>>
>> it is supported
>>
>>>
>>> When executing
>>>
>>> # stonith -t external/ipmi -n
>>> hostname ipaddr userid passwd interface
>>
>> interface is the IPMI interface ... lan or lanplus
>>
>>>
>>> I cannot see how to configure lanplus.
>>
>> crm ra info stonith:external/ipmi
>>
>> Regards,
>> Andreas
>>
>> --
>> Need help with Pacemaker?
>> http://www.hastexo.com/now
>>
>>
>>>
>>> Best regards
>>>
>>> Martin Konold
>>>
>>> Robert Bosch GmbH
>>> Automotive Electronics
>>> Postfach 13 42
>>> 72703 Reutlingen
>>> GERMANY
>>> www.bosch.com
>>>
>>> Tel. +49 7121 35 3322
>>>
>>> Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
>>> Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried Dais;
>>> Stefan Asenkerschbaumer, Bernd Bohr, Rudolf Colm, Volkmar Denner, Christoph Kübel, Uwe Raschke,
>>> Wolf-Henning Scheider, Werner Struth, Peter Tyroller
>>> _______________________________________________
>>> Linux-HA mailing list
>>> Linux-HA [at] lists
>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>>> See also: http://linux-ha.org/ReportingProblems
>>>
>>
>>
>>
>>
>> _______________________________________________
>> Linux-HA mailing list
>> Linux-HA [at] lists
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>
>
>
>
>
>
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.