[Pacemaker] Globally-unique clone cleanup on remote nodes

Vladislav Bogdanov bubble at hoster-ok.com
Thu Nov 20 01:44:50 EST 2014


20.11.2014 09:25, Andrew Beekhof пишет:
> 
>> On 20 Nov 2014, at 5:12 pm, Vladislav Bogdanov <bubble at hoster-ok.com> wrote:
>>
>> 20.11.2014 01:57, Andrew Beekhof пишет:
>>>
>>>> On 19 Nov 2014, at 4:27 pm, Vladislav Bogdanov <bubble at hoster-ok.com> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> just an observation.
>>>>
>>>> I have a globally-unique clone with 50 instances in a cluster consisting
>>>> of one cluster node and 3 remote bare-metal nodes.
>>>> When I run "crm_resource -C -r '<g_u_clone>'" (crmsh does that for me),
>>>> it writes that it expects to receive 50 answers (although it writes 4
>>>> lines for per-instance requests, one for each node).
>>>>
>>>> Is that correct (I would expect to see 200 there)?
>>>
>>> At most it would be 151, not 200.
>>>
>>> How many times do you see this printed?
>>>
>>>        printf("Cleaning up %s on %s\n", rsc->id, host_uname);
>>
>> 200. Ok, I didn't count, but this is printed once per instance per node,
>> 50 instances, 4 nodes (one cluster node and 3 remote ones).
> 
> ah, 201 then.
> 
> But actually, we don't expect replies from pacemaker-remote nodes.

Aha, got the idea, so what I see is correct, right?

Btw, if I run the same command per remote node, no expectation line is
printed at all.

Thanks.

> 
>>
>>>
>>>
>>>>
>>>> Version is c191bf3.
>>>>
>>>> Best,
>>>> Vladislav
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>>
>> _______________________________________________
>> 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
> 
> 
> _______________________________________________
> 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