ocf_heartbeat_pound man page

ocf_heartbeat_pound — Manage a Pound instance

Synopsis

pound [start | stop | status | monitor | meta-data | validate-all]

Description

The Pound Resource Agent can manage Pound instances.

Supported Parameters

config

The 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 "default")

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_default.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):

start

Starts 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://www.linux-ha.org/wiki/pound_(res…

Author

Linux-HA contributors (see the resource agent source for information about individual authors)

Info

02/09/2016 resource-agents UNKNOWN OCF resource agents