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: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
_______________________________________________________ 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/