40
40
<?xml version="1.0"?>
41
41
<!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
42
<resource-agent name="ping">
42
<resource-agent name="MonitorNeutron" version="1.0">
43
43
<version>1.0</version>
45
45
<longdesc lang="en">
46
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.
47
It is essentially the same as pingd except that it uses the system ping tool to obtain the results.
46
Monitor Neutron L3/DHCP agents for legacy HA.
49
<shortdesc lang="en">node connectivity</shortdesc>
48
<shortdesc lang="en">Monitor Neutron L3/DHCP agents for legacy HA</shortdesc>
53
<parameter name="pidfile" unique="0">
54
<longdesc lang="en">PID file</longdesc>
55
<shortdesc lang="en">PID file</shortdesc>
56
<content type="string" default="$HA_VARRUN/ping-${OCF_RESOURCE_INSTANCE}" />
59
<parameter name="dampen" unique="0">
61
The time to wait (dampening) further changes occur
63
<shortdesc lang="en">Dampening interval</shortdesc>
64
<content type="integer" default="5s"/>
67
<parameter name="name" unique="0">
69
The name of the attributes to set. This is the name to be used in the constraints.
71
<shortdesc lang="en">Attribute name</shortdesc>
72
<content type="string" default="pingd"/>
75
<parameter name="multiplier" unique="0">
77
The number by which to multiply the number of connected ping nodes by
79
<shortdesc lang="en">Value multiplier</shortdesc>
80
<content type="integer" default=""/>
83
<parameter name="attempts" unique="0">
85
Number of ping attempts, per host, before declaring it dead
87
<shortdesc lang="en">no. of ping attempts</shortdesc>
88
<content type="integer" default="2"/>
91
<parameter name="timeout" unique="0">
93
How long, in seconds, to wait before declaring a ping lost
95
<shortdesc lang="en">ping timeout in seconds</shortdesc>
96
<content type="integer" default="2"/>
99
<parameter name="options" unique="0">
101
A catch all for any other options that need to be passed to ping.
103
<shortdesc lang="en">Extra Options</shortdesc>
104
<content type="string" default=""/>
107
<parameter name="failure_score" unique="0">
109
Resource is failed if the score is less than failure_score.
112
<shortdesc lang="en">failure_score</shortdesc>
113
<content type="integer" default=""/>
116
51
<parameter name="debug" unique="0">
117
52
<longdesc lang="en">
118
53
Enables to use default attrd_updater verbose logging on every call.