On 1/26/06, Alan Robertson <[EMAIL PROTECTED]> wrote:
> Andrew Beekhof wrote:
> > On 1/26/06, Alan Robertson <[EMAIL PROTECTED]> wrote:
> >> Andrew Beekhof wrote:
> >>> CTS testers please note this commit.
> >>>
> >>> In order to run the same tests as you used to, you need to specify:
> >>>   enable_config_writes off
> >>> in ha.cf
> >> Why is this an ha.cf option.  It's clearly a CIB option - so I would
> >> think it belongs in the CIB.  It makes no sense there...  We discussed
> >> some things, but I don't remember this one.
> >
> > Four reasons:
> >  - the CIB is intended to be policy free (and at the moment is IIRC)
>
> BUT this is a CIB policy - hence it must be enforced and carried out by
> the CIB.
>
> >  - correct interpretation of options in the CIB requires linking against 
> > the PE
> >    (or worse, duplicating slabs of its code)
>
> I don't follow this at all.  It's the CIB that writes the CIB, isn't it?

But it doesn't know what its writing.  Same way the LRM doesn't know
what its starting.

Remember all options can be time, host and phase of the moon dependent.
In order to understand what the option is actually set to, it needs to
be able to evaluate all those expressions and rule sets - a fair chunk
of the PE.

Plus its a waste to do this every time the CIB is updated.

> >  - because we may want different values for different hosts
> >  - because this isn't something that needs to be changed on the fly
> >
> > Mostly reasons 1 and 2 were the driving factors.
> > You had said you weren't opposed to new options and lmb concurred with
> > my reasons at the time - so I didn't think it would be a big deal.
> >
> >> With regard to the other logging options.  Which do I have to set to get
> >> CIB to work?  I'm currently setting debug to 1.  Is that sufficient?
> >
> > The CIB will function no matter what.
> > If you set the other options to "on" then it will function AND I'll be
> > able to help if something goes wrong (regardless of the value for
> > debug).
_______________________________________________________
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/

Reply via email to