[ClusterLabs] Q: ocf:pacemaker:ping

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Tue Nov 19 09:32:43 EST 2019


Hi!

Seems today I'm digging out old stuff:
I can remeber in 2011 that the documentation for ping's dampen was not very help ful. I think it still is:

(RA info)
node connectivity (ocf:pacemaker:ping)

Every time the monitor action is run, this resource agent records (in the CIB) the current number of nodes the host can connect to using the system fping (preferred) or ping tool.

Parameters (*: required, []: default):

pidfile (string, [/var/run/ping-ping]):
    PID file

dampen (integer, [5s]): Dampening interval
    The time to wait (dampening) further changes occur

name (string, [pingd]): Attribute name
    The name of the attributes to set.  This is the name to be used in the constraints.

multiplier (integer, [1]): Value multiplier
    The number by which to multiply the number of connected ping nodes by

host_list* (string): Host list
    A space separated list of ping nodes to count.

attempts (integer, [3]): no. of ping attempts
    Number of ping attempts, per host, before declaring it dead

timeout (integer, [2]): ping timeout in seconds
    How long, in seconds, to wait before declaring a ping lost

options (string): Extra Options
    A catch all for any other options that need to be passed to ping.

failure_score (integer):
    Resource is failed if the score is less than failure_score.
    Default never fails.

use_fping (boolean, [1]): Use fping if available
    Use fping rather than ping, if found. If set to 0, fping
    will not be used even if present.

debug (string, [false]): Verbose logging
    Enables to use default attrd_updater verbose logging on every call.

Operations' defaults (advisory minimum):

    start         timeout=60
    stop          timeout=20
    monitor       timeout=60 interval=10
---------

"The name of the attributes to set.": Why plural ("attributes")?
"The time to wait (dampening) further changes occur": Is this an English sentence at all?

Regards,
Ulrich





More information about the Users mailing list