Re: [Linux-ha-dev] Meta configuration namespace

2006-05-22 Thread Andrew Beekhof

On 5/21/06, Lars Marowsky-Bree <[EMAIL PROTECTED]> wrote:

On 2006-05-21T07:13:16, Alan Robertson <[EMAIL PROTECTED]> wrote:



> Lars has always wanted RAs to time themselves (which I thought was
> madness), so he may disagree with us on this.

If you can't represent me correctly, please do not at all ;-) I prefer
to speak for myself.

I said that there's value in RAs having time-outs on the (possibly
blocking) external commands they run in some cases, and then might
escalate to a more forceful way of, say, shutting down a resource
instance. (ask nicely, ask with force, kill processes - the Oracle
database agent for FailSafe had such logic.)

That's got nothing to do with the current discussion, though.



> Do they show up in the normal namespace now?

Yes. That's a "bug" though, they shouldn't.

> >And even the compatibility shouldn't be too bad since the LRM gets
> >these values from the CRM not the parameter list.
> The one I know shows up is "target_role".  This is kind of annoying in
> the GUI.  So in my thinking (futile and clouded though it is), it's the
> example I tend to have in mind.

Now that I think of it some more, whether the GUI learns to treat a
meta_attributes section differently or treat attributes starting with
"crm_meta_" differently probably doesn't matter one way or the other.

But, how to describe defaults for these in the RA metadata then?

Probably ought to go into the  section in
the metadata then :-/


perhaps something like s/parameter/option/:


...


blah blah

blah


___
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


Re: [Linux-ha-dev] Meta configuration namespace

2006-05-21 Thread Andrew Beekhof
On May 21, 2006, at 3:47 PM, Lars Marowsky-Bree wrote:On 2006-05-21T13:45:10, Andrew Beekhof <[EMAIL PROTECTED]> wrote: Another question... should things like an operation's interval/ timeout also show up in the meta namespace or the regular one?Momentarily ignoring issues of compatibility, I think it should be  the meta namespace. Meta, clearly.ok.  followup question... when do you want it?  GM or SP1? -- Andrew Beekhof  "Would the last person to leave please turn out the enlightenment?" - TISM  ___
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


Re: [Linux-ha-dev] Meta configuration namespace

2006-05-21 Thread Lars Marowsky-Bree
On 2006-05-21T07:13:16, Alan Robertson <[EMAIL PROTECTED]> wrote:



> Lars has always wanted RAs to time themselves (which I thought was
> madness), so he may disagree with us on this.

If you can't represent me correctly, please do not at all ;-) I prefer
to speak for myself.

I said that there's value in RAs having time-outs on the (possibly
blocking) external commands they run in some cases, and then might
escalate to a more forceful way of, say, shutting down a resource
instance. (ask nicely, ask with force, kill processes - the Oracle
database agent for FailSafe had such logic.)

That's got nothing to do with the current discussion, though.



> Do they show up in the normal namespace now?

Yes. That's a "bug" though, they shouldn't.

> >And even the compatibility shouldn't be too bad since the LRM gets  
> >these values from the CRM not the parameter list.
> The one I know shows up is "target_role".  This is kind of annoying in 
> the GUI.  So in my thinking (futile and clouded though it is), it's the 
> example I tend to have in mind.

Now that I think of it some more, whether the GUI learns to treat a
meta_attributes section differently or treat attributes starting with
"crm_meta_" differently probably doesn't matter one way or the other.

But, how to describe defaults for these in the RA metadata then?

Probably ought to go into the  section in
the metadata then :-/


Sincerely,
Lars Marowsky-Brée

-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"

___
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


Re: [Linux-ha-dev] Meta configuration namespace

2006-05-21 Thread Lars Marowsky-Bree
On 2006-05-21T13:45:10, Andrew Beekhof <[EMAIL PROTECTED]> wrote:

> Another question... should things like an operation's interval/ 
> timeout also show up in the meta namespace or the regular one?
> 
> Momentarily ignoring issues of compatibility, I think it should be  
> the meta namespace.

Meta, clearly.



-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"

___
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


Re: [Linux-ha-dev] Meta configuration namespace

2006-05-21 Thread Alan Robertson

Andrew Beekhof wrote:
Another question... should things like an operation's interval/ timeout 
also show up in the meta namespace or the regular one?


Momentarily ignoring issues of compatibility, I think it should be  the 
meta namespace.


I agree with you on this - unless the OCF spec says otherwise.  Then I 
agree with it :-).  Lars has always wanted RAs to time themselves (which 
I thought was madness), so he may disagree with us on this.


Do they show up in the normal namespace now?

And even the compatibility shouldn't be too bad since the LRM gets  
these values from the CRM not the parameter list.


The one I know shows up is "target_role".  This is kind of annoying in 
the GUI.  So in my thinking (futile and clouded though it is), it's the 
example I tend to have in mind.



--
Alan Robertson <[EMAIL PROTECTED]>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce

___
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/