On Mon, Apr 16, 2007 at 06:53:37AM -0600, Alan Robertson wrote:
> Dejan Muhamedagic wrote:
> > Hi,
> > 
> > Dealing with the LRM regression testing, I've noticed that the
> > lrmd tries to get the configuration from the environment which is
> > empty (configuration-wise: what a word!) if lrmd is started by
> > hand and not by heartbeat. Apart from the lrmd's messages ending
> > up in a place where they are not supposed to go, the output of the
> > ocf_log is simply lost in space.
> > 
> > Which solution do you propose?
> > 
> > Should lrmd be started by itself without heartbeat at all? It
> > does have functionality which could be attractive outside of the
> > cluster. If that is the case, shouldn't lrmd parse the config
> > files itself?
> 
> 
> If it parsed the heartbeat configuration file, that would render it not
> very useful by itself, since it would require a heartbeat-style
> configuration file.
> 
> Although the LRM could be useful in some other context, it won't ever be
> useful _by itself_.  It will always be used with some other smarter
> agency that knows how to tell it what to do by C APIs.  In that context,
> that smarter system ought to know how to start it up properly.

OK. But how? I have this regression testing which starts the lrmd
itself before running the test cases. Should I set some env
variables (which? is it documented somewhere?)? Note that these
are shell scripts using lrmadmin to communicate to the lrmd.

> 
> And, reading that environments config files and passing them to the LRM
> as environment variables seems better than having two or three config
> files in this other environment.  Or that's my first thought on the subject.
> 
> 
> -- 
>     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/

-- 
Dejan
_______________________________________________________
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