OCF_HEARTBEAT_ASTERI(7) | OCF resource agents | OCF_HEARTBEAT_ASTERI(7) |
ocf_heartbeat_asterisk - Manages an Asterisk PBX
asterisk [start | stop | status | monitor | meta-data | validate-all]
Resource agent for the Asterisk PBX. May manage an Asterisk PBX telephony system or a clone set that forms an Asterisk distributed device setup.
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)
This resource agent supports the following actions (operations):
start
stop
status
monitor
validate-all
meta-data
The following is an example configuration for a asterisk resource using the crm(8) shell:
primitive p_asterisk ocf:heartbeat:asterisk \
op monitor timeout="30s" interval="20s"
The following is an example configuration for a asterisk resource using pcs(8)
pcs resource create p_asterisk ocf:heartbeat:asterisk \
op monitor timeout="30s" interval="20s"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
06/27/2020 | resource-agents UNKNOWN |