pingd constraint is not adhered to sporadically (OPENAIS HEARTBEAT)

This document (7008656) 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

After setting up a cluster with a pingd Resource according to documentation a constraint that needs this pingd is not adhered to.

The configuration of the pingd Resource might look like this

primitive pingd ocf:pacemaker:ping \
        operations $id="pingd-operations" \
        op monitor interval="10" timeout="60" \
        params host_list="192.168.67.2" name="pingd" dampen="20s" multiplier="100"

Most commonly a placement strategy like

location precious_on_connected_node precious \
        rule $id="precious_on_connected_node-rule" -inf: not_defined pingd or pingd lte 0

which would place resource "precious" on a node that has contact to the ping target. The effect seen is, the ping target can be reached but the constraint seemingly has no effect.

Resolution

The problem comes from the dampen parameter being bigger than the monitor interval.
This will be fixed in the future.
As a solution and workaround all that has to be done is to  make the dampen smaller than the monitor or the monitor bigger than the dampen. For example

primitive pingd ocf:pacemaker:ping \
        operations $id="pingd-operations" \
        op monitor interval="10" timeout="60" \
        params host_list="192.168.67.2" name="pingd" dampen="5s" multiplier="100"

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:7008656
  • Creation Date: 26-May-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@suse.com

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center