SUSE Support

Here When You Need Us

is_managed and cluster resource maintenance (HEARTBEAT)

This document (7000553) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10

Situation

On a cluster it is sometimes necessary or at least desirable to take away the control of a resource from the cluster for maintenance without bringing down the whole cluster. An example would be to update the software for a resource in the cluster or maybe change one IP address. And do this without having to stop the whole cluster.

From the documentation:
/usr/share/heartbeat/crm.dtd

 * is_managed_default (boolean, default=TRUE)
   Unless the resource's definition says otherwise,
   * TRUE : resources will be started, stopped, monitored and moved as necessary/required
   * FALSE : resources will not started if stopped, stopped if started nor have any recurring actions scheduled.
it might seem viable to do this by just setting the attribute "is_managed" to "false" on the affected resource.

This is NOT so!

If there is a monitor operation running on the resource, which is the case in most enviroments, then the resource will be in status "unmanaged" but the monitor will still be done. So as soon as the resource gives anything back to the monitor that triggers the failure, the cluster will act accordingly.

 

Resolution

The reason is for this is, that the the attribute "is_managed" does not affect the monitor if any part of the cluster is managed.

There is two solutions to set the cluster to maintenance:

1. set the global attribute "is_managed" to false (via GUI or CLI):



this will set all resources to "is_managed" "false". Any resource can now be modified. But during this period of time the cluster will NOT check any resource.

2. set the resource attribute "is_managed" to "false" and set the monitor operation of this resource "on_fail" to "ignore".

After the maintenance all settings have to be reverted to make the cluster functioning again.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7000553
  • Creation Date: 04-Jun-2008
  • Modified Date:10-Mar-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.