On Jan 21, 2006, at 5:56 PM, Lars Marowsky-Bree wrote:

On 2006-01-21T11:38:18, Andrew Beekhof <[EMAIL PROTECTED]> wrote:

One thing to keep in mind is that if we stop monitoring a resource
when its not managed then the resources that sit on top of it may be
adversely affected since they now don't know that its prerequisite is
starting/stopping.

That's of relevance to an unmanaged resource how?

Its not - its relevant to the resources that sit on top of it. Sorry if I wasn't clear.

It's not like we could
_do_ anything about it... (Because we can't restart the unmanaged
resource.)

Monitoring an unmanaged resource is confusing.

Not really.

If you cast your mind back, the original purpose for managed/ unmanaged was so that we could depend on things that were outside the CRM's control. So that resources could "sit on top" of an unmanaged resource and would be stopped/relocated if the unmanaged one is.

So monitoring is actually essential.

If people really don't want monitoring for a while, the action can always be deleted (though an enabled/disabled flag would be nice too). Just make sure the "stop_orphan_actions" option is enabled in the CIB.

Maintenance mode goes
further; during maintenance of a resource, the admin basically expects
that the resource will appear unavailable/broken randomly. (If he didn't
expect that, he could leave it running as normal.)

Whether an unmanaged resource is monitored or not is has no effect on what the CRM does to it - since that is always nothing. So its free to be unavailable/broken as much as it likes.

As I said above, the difference is how the resources that depend on the unmanaged resource are treated. They are neither unmanaged nor in maintenance mode and there are still ordering and locational constraints that need to be satisfied.

The problem is that we have been using unmanaged mode for a situation its not 100% suited too.

What we really need is a way to shutdown a resource "until further notice"... it is still "managed" but the PE should arrange for it and everyone that requires it to be stopped (in the right order) and shouldn't restart them.

--
Andrew Beekhof

"I like your old stuff better than your new stuff" - Regurgitator




_______________________________________________________
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