[Pacemaker] order constraint based on any one of many

Patrick Irvine pirv at cybersites.ca
Thu Sep 2 10:07:39 EDT 2010



-----Original Message-----
From: Andrew Beekhof [mailto:andrew at beekhof.net] 
Sent: Thursday, September 02, 2010 12:03 AM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] order constraint based on any one of many

On Fri, Aug 27, 2010 at 6:06 PM, Patrick Irvine <pirv at cybersites.ca> wrote:
>
> Hi, and thanks for the response.
>
> The issue is this.  Glfs must be restricted from starting until at least
one
> of the glfsd clones has started.  The glfsd clones provide the backed
> storage for the glfs mounts.  So glfsd doesn't really need to be a M/S.
> This is just a way I came up with to make glfs wait for any single glfsd
as
> opposed to waiting for all glfsd clones.
>
> What I really need is some order constraint ( or some other mechanism)
that
> is like the logic below (to use some C syntax)
>
> If ( glfsd-1 || glfsd-2 || glfsd-3 || glfsd-4 ) then start glfs-clones
>

We want to support this, but the feature isn't fully baked yet.
For now what you've done is the only way.

Thanks Andrew, I'll go ahead with the m/s plan.  Btw thanks for all your
hard work!

Pat.

_______________________________________________
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