table of contents
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¶
binary(optional, string, default "asterisk")
canary_binary
(optional, string, default "astcanary")
config
(optional, string, default "/etc/asterisk/asterisk.conf")
user
(optional, string, default "asterisk")
group
(optional, string, default "asterisk")
additional_parameters
(optional, string, default "-g -vvv")
realtime
(optional, boolean, default false)
maxfiles
(optional, integer, default 8192)
monitor_sipuri
(optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):start
stop
status
monitor
validate-all
meta-data
EXAMPLE CRM SHELL¶
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"
EXAMPLE PCS¶
The following is an example configuration for a asterisk resource using pcs(8)pcs resource create p_asterisk ocf:heartbeat:asterisk \ op monitor timeout="30" interval="20"
SEE ALSO¶
http://clusterlabs.org/AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)06/04/2017 | resource-agents 4.0.0~rc1-4 |