SUSE Support

Here When You Need Us

default action timeout and op default timeout (OPENAIS)

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

Environment

SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 11 Service Pack 1

Situation

There are two global parameters that can influence the timeout setting for a resource. In the Pacemaker Cluster "action" and "operation" can be used arbitrarly. The settings for an operation in the Resource itself always take precedence over the default values. So setting 10 seconds for a monitor in a Resource and a global of 140 seconds will result in a timeout of 10 seconds for this resource.

Resolution

The first option is to set the value of default-action-timeout in the cluster properties

crm configure property default-action-timeout="140s"

results in

property $id="cib-bootstrap-options" \
        dc-version="1.1.5-5bd2b9154d7d9f86d7f56fe0a74072a5a6590c60" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        last-lrm-refresh="1318939784" \
        default-action-timeout="140s"

which will make every action or operation have a 140 second timeout if not configured otherwise in the resource.

The second option is to use the op default and can be set via

crm_attribute --type op_defaults --attr-name timeout --attr-value 20s

which will result in

property $id="cib-bootstrap-options" \
        dc-version="1.1.5-5bd2b9154d7d9f86d7f56fe0a74072a5a6590c60" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        last-lrm-refresh="1318939784" \
        default-action-timeout="140s"
op_defaults $id="op_defaults-options" \
        timeout="20s"

Now both values are set and it is important to know that the op_defaults takes precedence over the default-action.

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:7009584
  • Creation Date: 18-Oct-2011
  • Modified Date:03-Mar-2020
    • 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.