table of contents
other versions
- jessie 1:3.9.3+git20121009-3.1
- jessie-backports 1:4.0.0~rc1-4~bpo8+1
- stretch 1:4.0.0~rc1-4
- testing 1:4.2.0-1
- unstable 1:4.2.0-2
OCF_HEARTBEAT_POUND(7) | OCF resource agents | OCF_HEARTBEAT_POUND(7) |
NAME¶
ocf_heartbeat_pound - Manage a Pound instanceSYNOPSIS¶
pound [start | stop | status | monitor | meta-data |
validate-all]
DESCRIPTION¶
The Pound Resource Agent can manage Pound instances.SUPPORTED PARAMETERS¶
configThe Pound configuration file that Pound should manage,
for example "/etc/pound.cfg".
(unique, required, string, no default)
name
Override the name of the instance that should be given to
Pound (defaults to the resource identifier).
(unique, optional, string, default "RESOURCE_ID")
pid
Write the process's PID to the specified file. The
default will include the specified name, i.e.:
"/var/run/pound_production.pid". Unlike what this help message
shows, it is most likely not necessary to change this parameter.
(unique, optional, string, default
"/var/run/pound_RESOURCE_ID.pid")
binary
This is used to start Pound server. Normally use pound.
(optional, string, default "pound")
ctl_binary
This is used to watch Pound status via Unix socket.
Normally use poundctl.
(optional, string, default "poundctl")
socket_path
Write the process's Unix socket. This parameter is same
'Control' parameter in configuration file, i.e.: Control
"/var/lib/pound/pound.cfg".
(optional, string, default "/var/lib/pound/pound.cfg")
maxfiles
Determines how many files pound is allowed to open at a
time. Helps to fix the 'Too many open files' error message.
(optional, integer, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations): startStarts the resource. Suggested minimum timeout: 20.
stop
Stops the resource. Suggested minimum timeout: 20.
monitor
Performs a detailed status check. Suggested minimum
timeout: 20. Suggested interval: 10.
status
Performs a status check. Suggested minimum timeout:
20.
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: 20.
EXAMPLE CRM SHELL¶
The following is an example configuration for a pound resource using the crm(8) shell:primitive p_pound ocf:heartbeat:pound \ params \ config= string \ op monitor timeout="20" interval="10" depth="0"
EXAMPLE PCS¶
The following is an example configuration for a pound resource using pcs(8)pcs resource create p_pound ocf:heartbeat:pound \ config= string \ op monitor timeout="20" interval="10" depth="0"
SEE ALSO¶
http://clusterlabs.org/AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)06/07/2017 | resource-agents 4.0.0~rc1-4~bp |