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 Service Pack 1
Situation
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
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com