The key word in my question was "thinks". It would be useful to the RA
if it could know what state the CRM thought it was in, so in case the RA
determines on its own that its already in that state, it doesn't have to
do anything. But, if the RA finds that the CRM thinks its in a different
state, then the RA could set the CRM straight by calling the crm_master
with the appropriate value. Make sense?

Doug

On Wed, 2007-04-04 at 16:02 +0200, Andrew Beekhof wrote:

> On 4/4/07, Doug Knight <[EMAIL PROTECTED]> wrote:
> >
> >  I think I ran into this exact issue. I was calling crm_master -v 100 to
> > upgrade to master status too frequently. The postgres database needs to stay
> > in master state once its there, and not transition frequently. Are there any
> > other command line tools that could be used to retrieve what state CRM
> > thinks the resource is in?
> 
> definitly not - because that completely defeats the point of having a
> monitor operation
> 
> the RA needs to tell us what state the resource is in, never, ever the
> other way around.
> 
> >
> >  Doug
> >
> >  On Tue, 2007-04-03 at 22:05 -0600, Alan Robertson wrote:
> >  Lars Marowsky-Bree wrote:
> > > On 2007-03-29T21:31:32, Alan Robertson <[EMAIL PROTECTED]> wrote:
> > >
> > >> THe docs are more specific:
> > >> They state that it is mandatory to call it in the start action.
> > >>
> > >> That doesn't seem to be true.
> > >
> > > That's a correct observation.
> > >
> > >> You could call it in a monitor action quite nicely, or so it seems to
> > me...
> > >
> > > Yes. I'd avoid needless calls to it though as every call triggers a
> > > transition - so don't just call it in _every_ monitor operation ;-)
> >
> > That's a good point. Unfortunately that means the RA has to keep state
> > somewhere, which is a bit of a pain.
> >
> >
> >
> >
> > _______________________________________________________
> > Linux-HA-Dev: [email protected]
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
> >
> >
> _______________________________________________________
> Linux-HA-Dev: [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
> 
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to