[Pacemaker] group resource starting parallel

Wolfgang Routschka wolfgang.routschka at drumedar.de
Mon Jun 10 11:28:56 EDT 2013


Hi,

thanks for your answer.

Hi,

On Thu, Jun 06, 2013 at 09:01:33AM +0200, Florian Crouzat wrote:
> Le 05/06/2013 16:23, Wolfgang Routschka a ?crit :
> >Hi Guys,
> >
> >one question about group  resource for starting parallel configuring 
> >with crmshell (Scientific Linux 64 with pacemaker 1.1.8-7, cman-3.0.12.1-49 and crmsh-1.2.5-55).
> >
> >in my 2 node cluster I?ll configured a group with 40 ip-address 
> >resources for easy managing. Now I want that start the resources parallel.
> >
> >in my crmshell I cannot use the option "meta ordered=false"  - these 
> >option is no longer disponse for my information
> >
> >Afte searching i found "resource sets" so I hope it?s correct for my 
> >way  to parallel my resources but I can?t configure resource sets in crmshell in my opinion.
> >
> >How can I configure my resources to start parallel?
> >
> >Greetings Wolfgang
> 
> Well, as one the primary author of pacemaker once said[1] "Unordered 
> and/or uncolocated groups are an abomination."
> 
> I don't know if his position has moved but a group beeing a syntaxic 
> shortcut for ordering+collocation, trying to make it behave otherwise 
> might not be a good idea, even if I understand your need to address a 
> group of 40 resources in a command.
> 
> Question: the couple seconds (if not a single second) required to 
> start synchronously 40 IPaddr2 RA are too long to wait for you ? Why 
> do you /must/ start them in parallel ?

I can only start my Web-Application after running all ip-resources so the first ip-resource is offline in the meantime.


>That's what a resource set is for. Just define a collocation with those 40 IP address resources.
>Thanks,
>
>Dejan

I don´t know how can I configure resource sets in crmshell exactly. For my information a resource set is called if 2 or more resources are in relationship in a colocation - is it right?

crm configure colocation c_parallel inf: (resource1, resource2, resource3, resource4....)

But in my crm_mon resources all resources successively start

Greetings

Wolfgang

> [1] - 
> http://oss.clusterlabs.org/pipermail/pacemaker/2011-January/008969.htm
> l
> 
> 
> --
> Cheers,
> Florian Crouzat
> 
> _______________________________________________
> 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