On 19 Feb 2014, at 2:55 pm, renayama19661...@ybb.ne.jp wrote:

> Hi Andrew,
> 
> Thank you for comments.
> 
>> So I'm confused as to what the problem is.
>> What are you expecting crm_mon to show?
> 
> I wish it is displayed as follows.
> 
> 
> * Node srv01:
>    + default_ping_set                  : 0             : Connectivity is lost

Ah!   https://github.com/beekhof/pacemaker/commit/5d51930

> 
> Best Regards,
> Hideo Yamauchi.
> --- On Wed, 2014/2/19, Andrew Beekhof <and...@beekhof.net> wrote:
> 
>> 
>> On 18 Feb 2014, at 2:38 pm, renayama19661...@ybb.ne.jp wrote:
>> 
>>> Hi Andrew,
>>> 
>>> I attach the result of the cibadmin -Q command.
>> 
>> 
>> So I see:
>> 
>>         <primitive id="prmPingd" class="ocf" provider="pacemaker" 
>> type="ping">
>>           <instance_attributes id="prmPingd-instance_attributes">
>>             <nvpair name="name" value="default_ping_set" 
>> id="prmPingd-instance_attributes-name"/>
>>             <nvpair name="host_list" value="192.168.40.1" 
>> id="prmPingd-instance_attributes-host_list"/>
>>             <nvpair name="multiplier" value="100" 
>> id="prmPingd-instance_attributes-multiplier"/>
>>             <nvpair name="attempts" value="2" 
>> id="prmPingd-instance_attributes-attempts"/>
>>             <nvpair name="timeout" value="2" 
>> id="prmPingd-instance_attributes-timeout"/>
>>           </instance_attributes>
>> 
>> The correct way to query those is as parameters, not as meta attributes.
>> Which is what lars' patch achieves.
>> 
>> In your email I see:
>> 
>>>>> * Node srv01:
>>>>>      + default_ping_set                  : 0         
>> 
>> 
>> Which looks correct based on:
>> 
>>           <nvpair id="status-3232238180-default_ping_set" 
>> name="default_ping_set" value="0"/>
>> 
>> So I'm confused as to what the problem is.
>> What are you expecting crm_mon to show?
>> 
>>> 
>>> Best Regards,
>>> Hideo Yamauchi.
>>> 
>>> 
>>> --- On Tue, 2014/2/18, Andrew Beekhof <and...@beekhof.net> wrote:
>>> 
>>>> 
>>>> On 18 Feb 2014, at 1:45 pm, renayama19661...@ybb.ne.jp wrote:
>>>> 
>>>>> Hi Andrew,
>>>>> 
>>>>> Thank you for comments.
>>>>> 
>>>>>> can I see the config of yours that crm_mon is not displaying correctly?
>>>>> 
>>>>> It is displayed as follows.
>>>> 
>>>> I mean the raw xml. Can you attach it?
>>>> 
>>>>> -------------------------
>>>>> [root@srv01 tmp]# crm_mon -1 -Af                   
>>>>> Last updated: Tue Feb 18 19:51:04 2014
>>>>> Last change: Tue Feb 18 19:48:55 2014 via cibadmin on srv01
>>>>> Stack: corosync
>>>>> Current DC: srv01 (3232238180) - partition WITHOUT quorum
>>>>> Version: 1.1.10-9d39a6b
>>>>> 1 Nodes configured
>>>>> 5 Resources configured
>>>>> 
>>>>> 
>>>>> Online: [ srv01 ]
>>>>> 
>>>>> Clone Set: clnPingd [prmPingd]
>>>>>       Started: [ srv01 ]
>>>>> 
>>>>> Node Attributes:
>>>>> * Node srv01:
>>>>>      + default_ping_set                  : 0         
>>>>> 
>>>>> Migration summary:
>>>>> * Node srv01: 
>>>>> 
>>>>> -------------------------
>>>>> 
>>>>> I uploaded log in the next place.(trac2781.zip)
>>>>> 
>>>>> * 
>>>>> https://skydrive.live.com/?cid=3A14D57622C66876&id=3A14D57622C66876%21117
>>>>> 
>>>>> Best Regards,
>>>>> Hideo Yamauchi.
>>>>> 
>>>>> 
>>>>> --- On Tue, 2014/2/18, Andrew Beekhof <and...@beekhof.net> wrote:
>>>>> 
>>>>>> 
>>>>>> On 18 Feb 2014, at 12:19 pm, renayama19661...@ybb.ne.jp wrote:
>>>>>> 
>>>>>>> Hi Andrew,
>>>>>>> 
>>>>>>>> I'm confused... that patch seems to be the reverse of yours.
>>>>>>>> Are you saying that we need to undo Lars' one?
>>>>>>> 
>>>>>>> No, I do not understand the meaning of the correction of Mr. Lars.
>>>>>> 
>>>>>> 
>>>>>> name, multiplier and host_list are all resource parameters, not meta 
>>>>>> attributes.
>>>>>> so lars' patch should be correct.
>>>>>> 
>>>>>> can I see the config of yours that crm_mon is not displaying correctly?
>>>>>> 
>>>>>>> 
>>>>>>> However, as now, crm_mon does not display a right attribute.
>>>>>>> Possibly did you not discuss the correction to put meta data in 
>>>>>>> rsc-parameters with Mr. Lars? Or Mr. David?
>>>>>>> 
>>>>>>> Best Regards,
>>>>>>> Hideo Yamauchi.
>>>>>>> 
>>>>>>> --- On Tue, 2014/2/18, Andrew Beekhof <and...@beekhof.net> wrote:
>>>>>>> 
>>>>>>>> 
>>>>>>>> On 17 Feb 2014, at 5:43 pm, renayama19661...@ybb.ne.jp wrote:
>>>>>>>> 
>>>>>>>>> Hi All,
>>>>>>>>> 
>>>>>>>>> The next change was accomplished by Mr. Lars.
>>>>>>>>> 
>>>>>>>>> https://github.com/ClusterLabs/pacemaker/commit/6a17c003b0167de9fe51d5330fb6e4f1b4ffe64c
>>>>>>>> 
>>>>>>>> I'm confused... that patch seems to be the reverse of yours.
>>>>>>>> Are you saying that we need to undo Lars' one?
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> I may lack the correction of other parts which are not the patch 
>>>>>>>>> which I sent.
>>>>>>>>> 
>>>>>>>>> Best Regards,
>>>>>>>>> Hideo Yamauchi.
>>>>>>>>> 
>>>>>>>>> --- On Mon, 2014/2/17, renayama19661...@ybb.ne.jp 
>>>>>>>>> <renayama19661...@ybb.ne.jp> wrote:
>>>>>>>>> 
>>>>>>>>>> Hi All,
>>>>>>>>>> 
>>>>>>>>>> The crm_mon tool which is attached to Pacemaker1.1 seems to have a 
>>>>>>>>>> problem.
>>>>>>>>>> I send a patch.
>>>>>>>>>> 
>>>>>>>>>> Best Regards,
>>>>>>>>>> Hideo Yamauchi.
>>>>>>>>> 
>>>>>>>>> _______________________________________________
>>>>>>>>> Pacemaker mailing list: Pacemaker@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
>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> Pacemaker mailing list: Pacemaker@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
>>>>>> 
>>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Pacemaker mailing list: Pacemaker@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
>>>> 
>>> <cibadmin-Q.xml>_______________________________________________
>>> Pacemaker mailing list: Pacemaker@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
>> 
>> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker@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

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to