table of contents
OCF_HEARTBEAT_CONNTR(7) | OCF resource agents | OCF_HEARTBEAT_CONNTR(7) |
NAME¶
ocf_heartbeat_conntrackd - This resource agent manages conntrackd
SYNOPSIS¶
conntrackd [start | stop | monitor | promote | demote | meta-data | validate-all]
DESCRIPTION¶
Master/Slave OCF Resource Agent for conntrackd
SUPPORTED PARAMETERS¶
binary
(optional, string, default "conntrackd")
config
(optional, string, default "/etc/conntrackd/conntrackd.conf")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
promote
demote
notify
stop
monitor (Slave role)
monitor (Master role)
meta-data
validate-all
EXAMPLE CRM SHELL¶
The following is an example configuration for a conntrackd resource using the crm(8) shell:
primitive p_conntrackd ocf:heartbeat:conntrackd \
op monitor timeout="20s" interval="20s" role="Slave" \
op monitor timeout="20s" interval="10s" role="Master"
ms ms_conntrackd p_conntrackd \
meta notify="true" interleave="true"
EXAMPLE PCS¶
The following is an example configuration for a conntrackd resource using pcs(8)
pcs resource create p_conntrackd ocf:heartbeat:conntrackd \
op monitor timeout="20s" interval="20s" role="Slave" \
op monitor timeout="20s" interval="10s" role="Master" --master
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
03/19/2024 | resource-agents UNKNOWN |