Re: [Linux-HA] Can a RA know if a clone resource is ordered or interleave is true?

2007-04-10 Thread Alan Robertson
Lars Marowsky-Bree wrote: On 2007-04-05T08:46:40, Alan Robertson [EMAIL PROTECTED] wrote: My only comment on this is that if having two copies of your resource agent running at once causes serious problems, you need to _strongly_ consider re-writing you agent to have sufficient locking /

Re: [Linux-HA] Can a RA know if a clone resource is ordered or interleave is true?

2007-04-09 Thread Lars Marowsky-Bree
On 2007-04-05T08:46:40, Alan Robertson [EMAIL PROTECTED] wrote: My only comment on this is that if having two copies of your resource agent running at once causes serious problems, you need to _strongly_ consider re-writing you agent to have sufficient locking / atomicity. Or it will come

[Linux-HA] Can a RA know if a clone resource is ordered or interleave is true?

2007-04-05 Thread Michael Schwartzkopff
Hi, Can a RA script know if the clone resource has set ordered=true or interleave=true? Is this information somewhere set in a variable, like the OCF_RESKEY_CRM_meta_clone_max for the information about maximum number of clones in a resource? Thanks. -- Dr. Michael Schwartzkopff MultiNET

Re: [Linux-HA] Can a RA know if a clone resource is ordered or interleave is true?

2007-04-05 Thread Andrew Beekhof
On 4/5/07, Michael Schwartzkopff [EMAIL PROTECTED] wrote: Hi, Can a RA script know if the clone resource has set ordered=true or interleave=true? Is this information somewhere set in a variable, like the OCF_RESKEY_CRM_meta_clone_max for the information about maximum number of clones in a

Re: [Linux-HA] Can a RA know if a clone resource is ordered or interleave is true?

2007-04-05 Thread Michael Schwartzkopff
Am Donnerstag, 5. April 2007 13:52 schrieb Andrew Beekhof: On 4/5/07, Michael Schwartzkopff [EMAIL PROTECTED] wrote: Hi, Can a RA script know if the clone resource has set ordered=true or interleave=true? Is this information somewhere set in a variable, like the

Re: [Linux-HA] Can a RA know if a clone resource is ordered or interleave is true?

2007-04-05 Thread Carson Gaspar
Michael Schwartzkopff wrote: Am Donnerstag, 5. April 2007 15:35 schrieb Alan Robertson: So, at the moment, you really just want to make sure you're configured correctly. Is that right? Yes. My only comment on this is that if having two copies of your resource agent running at once

Re: [Linux-HA] Can a RA know if a clone resource is ordered or interleave is true?

2007-04-05 Thread Carson Gaspar
Alan Robertson wrote: Carson Gaspar wrote: My only comment on this is that if having two copies of your resource agent running at once causes serious problems, you need to _strongly_ consider re-writing you agent to have sufficient locking / atomicity. Or it will come back to bite you some

Re: [Linux-HA] Can a RA know if a clone resource is ordered or interleave is true?

2007-04-05 Thread Michael Schwartzkopff
Carson Gaspar schrieb: My only comment on this is that if having two copies of your resource agent running at once causes serious problems, you need to _strongly_ consider re-writing you agent to have sufficient locking / atomicity. Or it will come back to bite you some day... Hi, have

Re: [Linux-HA] Can a RA know if a clone resource is ordered or interleave is true?

2007-04-05 Thread Alan Robertson
Carson Gaspar wrote: Alan Robertson wrote: Carson Gaspar wrote: My only comment on this is that if having two copies of your resource agent running at once causes serious problems, you need to _strongly_ consider re-writing you agent to have sufficient locking / atomicity. Or it will come