[Pacemaker] About updated attribute value output in the DC node
Yoshihiko SATO
satoyoshi at intellilink.co.jp
Mon Jul 4 10:05:02 UTC 2011
Hi Andrew,
Thanks for your comment.
Do you mean that the output logic is branched by some conditions?
If my understanding is correct, What conditions should we judge?
"tag"(TYPE(reason)), "abort_text" or otherwise?
- TYPE(reason) == "nvpair"
Is it all right judging as attribute update?
- abort_text == "Transient attribute: update"
I am concerned about changing contents of strings.
Regards,
Yoshihiko SATO
(2011/07/01 15:29), Andrew Beekhof wrote:
> 2011/6/28 Yoshihiko SATO<satoyoshi at intellilink.co.jp>:
>> Hi,
>>
>> I am setting location to the resource by using pingRA.
>>
>> location location-grpPostgreSQLDB grpPostgreSQLDB \
>> rule -inf: default_ping_set lt 100 \
>>
>> I watch the log of the DC node for the system observation.
>> However, the updated attribute values are only one output at each node.
>> So, not output to the DC node.
>> To confirm the cause of move resource,
>> I want to output the updated attribute values in the DC node.
>>
>> I made the patch which is added one line in the log.
>> Please comments.
>
> Would it not be better to add an exrtra case to the "if(diff) {" block
> in abort_transition_graph() ?
>
>>
>> Regards,
>> Yoshihiko SATO
>>
>> _______________________________________________
>> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>>
>>
>
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
More information about the Pacemaker
mailing list