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_ASTERI(7) | OCF resource agents | OCF_HEARTBEAT_ASTERI(7) |
NAME¶
ocf_heartbeat_asterisk - Manages an Asterisk PBXSYNOPSIS¶
asterisk [start | stop | status | monitor | meta-data |
validate-all]
DESCRIPTION¶
Resource agent for the Asterisk PBX. May manage an Asterisk PBX telephony system or a clone set that forms an Asterisk distributed device setup.SUPPORTED PARAMETERS¶
binaryLocation of the Asterisk PBX server binary
(optional, string, default "asterisk")
canary_binary
Location of the Asterisk PBX Canary server binary
(optional, string, default "astcanary")
config
The Asterisk PBX configuration file
(optional, string, default "/etc/asterisk/asterisk.conf")
user
User running Asterisk PBX daemon
(optional, string, default "asterisk")
group
Group running Asterisk PBX daemon (for logfile and
directory permissions)
(optional, string, default "asterisk")
additional_parameters
Additional parameters which are passed to the Asterisk
PBX on startup (e.g. -L <load> or -M <value>).
(optional, string, default "-g -vvv")
realtime
Determines whether the Asterisk PBX daemon will be run
with realtime priority or not.
(optional, boolean, default false)
maxfiles
Determines how many files the Asterisk PBX is allowed to
open at a time. Helps to fix the 'Too many open files' error message.
(optional, integer, default 8192)
monitor_sipuri
A SIP URI to check when monitoring. During monitor, the
agent will attempt to do a SIP OPTIONS request against this URI. Requires the
sipsak utility to be present and executable. If unset, the agent does no SIP
URI monitoring.
(optional, string, 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.
status
Performs a status check. Suggested minimum timeout:
20.
monitor
Performs a detailed status check. Suggested minimum
timeout: 30. Suggested interval: 20.
validate-all
Performs a validation of the resource configuration.
Suggested minimum timeout: 5.
meta-data
Retrieves resource agent metadata (internal use only).
Suggested minimum timeout: 5.
EXAMPLE¶
The following is an example configuration for a asterisk resource using the crm(8) shell:primitive p_asterisk ocf:heartbeat:asterisk \ op monitor timeout="30" interval="20"
SEE ALSO¶
http://www.linux-ha.org/wiki/asterisk_(resource_agent)AUTHOR¶
Linux-HA contributors (see the resource agent source for information about individual authors)02/21/2014 | resource-agents UNKNOWN |