ocf_pacemaker_ping man page

ocf_pacemaker_ping — node connectivity


[OCF_RESKEY_pidfile=string] [OCF_RESKEY_dampen=integer] [OCF_RESKEY_name=string] [OCF_RESKEY_multiplier=integer] [OCF_RESKEY_host_list=string] [OCF_RESKEY_attempts=integer] [OCF_RESKEY_timeout=integer] [OCF_RESKEY_options=string] [OCF_RESKEY_failure_score=integer] [OCF_RESKEY_use_fping=boolean] [OCF_RESKEY_debug=string] ping [start | stop | monitor | meta-data | validate-all]


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.

Supported Parameters

OCF_RESKEY_pidfile = string [/ping-]

PID file

OCF_RESKEY_dampen = integer [5s]

Dampening interval

The time to wait (dampening) further changes occur

OCF_RESKEY_name = string [pingd]

Attribute name

The name of the attributes to set. This is the name to be used in the constraints.

OCF_RESKEY_multiplier = integer [1]

Value multiplier

The number by which to multiply the number of connected ping nodes by

OCF_RESKEY_host_list = string []

Host list

A space separated list of ping nodes to count.

OCF_RESKEY_attempts = integer [3]

no. of ping attempts

Number of ping attempts, per host, before declaring it dead

OCF_RESKEY_timeout = integer [2]

ping timeout in seconds

How long, in seconds, to wait before declaring a ping lost

OCF_RESKEY_options = string []

Extra Options

A catch all for any other options that need to be passed to ping.

OCF_RESKEY_failure_score = integer []


Resource is failed if the score is less than failure_score. Default never fails.

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

OCF_RESKEY_debug = string [false]

Verbose logging

Enables to use default attrd_updater verbose logging on every call.


Andrew Beekhof <andrew@beekhof.net>