On 8/17/06, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:
Hello,
Don't know if that's the way it's supposed to be, but doesn't look
like it to me. Here's the sequence of events as observed:
- a group is put into the unmanaged mode
- one of the resources from that group is stopped manually
- a monitor operation runs on this resource and crm_mon prints
FAILED next to it
This particular resource is configured to be monitored every 2
minutes and if I wait long enough the monitor operation will be
run. It seems like that these operations are scheduled by the LRM,
right?
Is there a way to tell LRM not to run any operations on a resource
which is not managed?
the solution is probably more about telling the CRM to cancel them.
the reason i've not done this in the past is because although we're
not managing the resource, its doesn't necessarily follow that we
don't care if its running or not (more specifically the resources that
depend on it and *are* managed probably do care).
example: apache needs the disk.
if you put the disk into unmanaged mode and stop it (without the CRM
knowing) then apache monitoring is going to fail. shortly after we'll
try and restart it which will fail too and prevent apache from ever
running on that node again until the failure is cleared.
if the CRM knows the disk is stopped, then apache fail to start
because we wont try to... that would require starting the disk first
which is something we're not allowed to do.
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/