Re: [Pacemaker] globally-unique clone question

2009-05-22 Thread Andrew Beekhof
On Thu, May 21, 2009 at 5:04 PM, Joe Armstrong wrote: > Hi All, > > I am a little confused about globally-unique clones, since there can be no > instance attributes for a clone how do you tell each clone that it is unique ? The globally-unique=true option. Then, inside your resource agent, you n

Re: [Pacemaker] globally-unique clone question

2009-05-22 Thread Andrew Beekhof
The idea behind unique vs. non-unique is best illustrated by example. Take a CLUSTERIP resource... Based on some criteria (usually the source address), it allocates all requests into a bucket from 0..(N-1), where N ::= clone-max So when we ask "is the resource running here", we're really asking:

Re: [Pacemaker] globally-unique clone question

2009-05-21 Thread Eliot Gable
istered trademark of Broadvox, LLC. -Original Message- From: Joe Armstrong [mailto:jarmstr...@postpath.com] Sent: Thursday, May 21, 2009 2:53 PM To: 'pacema...@clusterlabs.org' Subject: Re: [Pacemaker] globally-unique clone question > -Original Message- >

Re: [Pacemaker] globally-unique clone question

2009-05-21 Thread Joe Armstrong
> -Original Message- > From: Infos E-Blokos [mailto:in...@e-blokos.com] > Sent: Thursday, May 21, 2009 9:16 AM > To: pacema...@clusterlabs.org > Subject: Re: [Pacemaker] globally-unique clone question > > > - Original Message - > From: &quo

Re: [Pacemaker] globally-unique clone question

2009-05-21 Thread Infos E-Blokos
- Original Message - From: "Eliot Gable" To: "pacemaker@oss.clusterlabs.org" ; "JoeArmstrong" Sent: Thursday, May 21, 2009 11:39 AM Subject: Re: [Pacemaker] globally-unique clone question The typical usage in this case would be to make all mail serve

Re: [Pacemaker] globally-unique clone question

2009-05-21 Thread Eliot Gable
maker] globally-unique clone question Hi All, I am a little confused about globally-unique clones, since there can be no instance attributes for a clone how do you tell each clone that it is unique ? My use case is that we need to run N instances of a mail server, each mail server is unique in th

[Pacemaker] globally-unique clone question

2009-05-21 Thread Joe Armstrong
Hi All, I am a little confused about globally-unique clones, since there can be no instance attributes for a clone how do you tell each clone that it is unique ? My use case is that we need to run N instances of a mail server, each mail server is unique in that it serves a specific domain, two