OCF_PACEMAKER_PING(7) Pacemaker Configuration OCF_PACEMAKER_PING(7)NAME
ocf_pacemaker_ping - node connectivity
SYNOPSIS
[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_debug=string]
ping [start | stop | reload | monitor | meta-data | validate-all]
DESCRIPTION
Every time the monitor action is run, this resource agent records (in the CIB) the current number of ping nodes the host can connect to. It
is essentially the same as pingd except that it uses the system ping tool to obtain the results.
SUPPORTED PARAMETERS
OCF_RESKEY_pidfile = string [/var/run//ping-default]
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 []
Value multiplier
The number by which to multiply the number of connected ping nodes by
OCF_RESKEY_host_list = string []
Host list
The list of ping nodes to count. Defaults to all configured ping nodes. Rarely needs to be specified.
OCF_RESKEY_attempts = integer [2]
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_debug = string [false]
Verbose logging
Enables to use default attrd_updater verbose logging on every call.
AUTHOR
Andrew Beekhof <andrew@beekhof.net>
Author.
Pacemaker Configuration 07/05/2010 OCF_PACEMAKER_PING(7)
Check Out this Related Man Page
OCF_HEARTBEAT_PINGD(7) OCF resource agents OCF_HEARTBEAT_PINGD(7)NAME
ocf_heartbeat_pingd - Monitors connectivity to specific hosts or IP addresses ("ping nodes") (deprecated)
SYNOPSIS
pingd [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Deprecation warning: This agent is deprecated and may be removed from a future release. See the ocf:pacemaker:pingd resource agent for a
supported alternative. -- This is a pingd Resource Agent. It records (in the CIB) the current number of ping nodes a node can connect to.
SUPPORTED PARAMETERS
pidfile
PID file (optional, string, default /var/run/resource-agents/pingd-default)
user
The user we want to run pingd as (optional, string, default root)
dampen
The time to wait (dampening) further changes occur (optional, integer, default 1s)
set
The name of the instance_attributes set to place the value in. Rarely needs to be specified. (optional, integer, no default)
name
The name of the attributes to set. This is the name to be used in the constraints. (optional, integer, default default)
section
The section place the value in. Rarely needs to be specified. (optional, integer, no default)
multiplier
The number by which to multiply the number of connected ping nodes by (optional, integer, no default)
host_list
The list of ping nodes to count. Defaults to all configured ping nodes. Rarely needs to be specified. (optional, integer, no default)
ignore_deprecation
If set to true, suppresses the deprecation warning for this agent. (optional, boolean, default false)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20s.
stop
Stops the resource. Suggested minimum timeout: 20s.
monitor
Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 10.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20s.
EXAMPLE
The following is an example configuration for a pingd resource using the crm(8) shell:
primitive p_pingd ocf:heartbeat:pingd
op monitor depth="0" timeout="20s" interval="10"
SEE ALSO
http://www.linux-ha.org/wiki/pingd_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_PINGD(7)