[Pacemaker] How to start resources in a Resource Group in parallel

Kashif Jawed Siddiqui kashifjs at huawei.com
Tue Jan 31 05:29:14 EST 2012


Hi Andrew,
      
          It is the LRMD_MAX_CHILDREN limit which by default is 4.

          I see in forums that this parameter is tunable by adding /etc/sysconfig/pacemaker
with the following line as content
   LRMD_MAX_CHILDREN=8

          But the above works only for Hearbeat. How do we do it for Corosync?

          can you suggest?

Regards
KASHIF

________________________________________
From: Andrew Beekhof [andrew at beekhof.net]
Sent: Tuesday, January 31, 2012 2:34 PM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] How to start resources in a Resource Group in  parallel

On Tue, Jan 31, 2012 at 6:46 PM,  <manish.gupta at ionidea.com> wrote:
> Hi All,
>  I am using pacemaker 1.0.11 + corosync 1.4.2 for a 2 node cluster
>  I have configured one Group, which is having 12 resources,
>  Ordered parameter is set to false but all 12 resource are not started
> parallel.
>  At a time only four resource started parallel.

This is probably the lrmd limit.

>  Resource 1,2,3,4 starts then 5,6,7,8 starts, then 9,10,11,12
>  If 5 second sleep is their in Resource-Agent's start method.
>  Then All the resources will start in 15 second.
>
>  Please can you suggest how can I solve the same,
>
>  It seems, only four thread starts at a time for a group's resource,
>
> Regards
> Manish
>
> On Fri, December 2, 2011 4:23 pm, Andreas Kurz wrote:
>> Hello Kashif,
>>
>>
>> On 12/02/2011 06:04 AM, Kashif Jawed Siddiqui wrote:
>>
>>> Hi All,
>>>
>>>
>>>
>>>
>>> I am using pacemaker 1.0.11 + corosync 1.4.2 for a 2 node cluster.
>>>
>>>
>>>
>>>
>>> The old cib.xml for Heartbeat based cluster had an option
>>> "ordered=true | false" for "group" tag which supported starting of
>>> resources in series or parallel.
>>
>> this meta attribute is still available ... when in crm shell add:
>>
>> meta ordered=false
>>
>> to your group resource ... or you could also use a colocation set.
>>
>> Regards,
>> Andreas
>>
>>
>> --
>> Need help with Pacemaker?
>> http://www.hastexo.com/now
>>
>>
>>>
>>>
>>>
>>> By default, resources in Resource Group start in serial order for
>>> Pacemaker based clusters.
>>>
>>>
>>>
>>>
>>> Is there a way to start multiple resources in parallel?
>>>
>>>
>>>
>>>
>>> Regards
>>>
>>>
>>> KASHIF
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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