SUSE Support

Here When You Need Us

Changing Resource Attributes without Restarting Resource

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

Environment

SUSE Linux Enterprise High Availability Extension 15
SUSE Linux Enterprise High Availability Extension 12
SUSE Linux Enterprise High Availability Extension 11 SP 4
SUSE Linux Enterprise High Availability Extension 11 SP 3
SUSE Linux Enterprise High Availability Extension 11 SP 2

Situation

Under some circumstances it is desirable to change the Attributes of a Resource in the Cluster without having the Resource restarting. This is especially true if the Resource in question is a part of a group or other Resources are depending via an order constraint to the Resource in question.

Under normal circumstances any change of any Attribute of a Resource, for example the ARP interval of an IPAddr2 Resource, will lead to a restart of this Resource in the cluster and all depending Resources.

Resolution

This behaviour can be prevented by setting the cluster into maintenance mode first, then do the changes, then clean up the unmanaged resource and then remove the maintenance mode again. Maintenance Mode differs from managed/unmanaged in that way, that no monitor operation will be run, while the resource is in Maintenance mode.

On the command line with a theoretical resource agent of named "test_ip" this would be like: 
 
crm configure property maintenance-mode="true"
crm configure edit test_ip
crm resource cleanup test_ip
crm configure property maintenance-mode="false"

Additional Information

Please keep in mind this is a best-practice tip and advanced administration. Also that changing the attributes of a resource might have other consequences.

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:7012872
  • Creation Date: 17-Jul-2013
  • Modified Date:13-Sep-2022
    • SUSE Linux Enterprise High Availability Extension

< 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.