table of contents
other versions
- buster 1:4.2.0-2+deb10u2
- buster-backports 1:4.7.0-1~bpo10+1
- testing 1:4.7.0-1
- unstable 1:4.7.0-1
OCF_HEARTBEAT_CONNTR(7) | OCF resource agents | OCF_HEARTBEAT_CONNTR(7) |
NAME¶
ocf_heartbeat_conntrackd - This resource agent manages conntrackdSYNOPSIS¶
conntrackd [start | stop | monitor | promote | demote | meta-data | validate-all]
DESCRIPTION¶
Master/Slave OCF Resource Agent for conntrackdSUPPORTED PARAMETERS¶
binaryName of the conntrackd executable. If conntrackd is
installed and available in the default PATH, it is sufficient to configure the
name of the binary For example "my-conntrackd-binary-version-0.9.14"
If conntrackd is installed somewhere else, you may also give a full path For
example "/packages/conntrackd-0.9.14/sbin/conntrackd"
(optional, string, default "conntrackd")
config
Full path to the conntrackd.conf file. For example
"/packages/conntrackd-0.9.14/etc/conntrackd/conntrackd.conf"
(optional, string, default "/etc/conntrackd/conntrackd.conf")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):start
Starts the resource. Suggested minimum timeout:
30s.
promote
Promotes the resource to the Master role. Suggested
minimum timeout: 30s.
demote
Demotes the resource to the Slave role. Suggested minimum
timeout: 30s.
notify
Suggested minimum timeout: 30s.
stop
Stops the resource. Suggested minimum timeout: 30s.
monitor (Slave role)
Performs a detailed status check. Suggested minimum
timeout: 20s. Suggested interval: 20s.
monitor (Master role)
Performs a detailed status check. Suggested minimum
timeout: 20s. Suggested interval: 10s.
meta-data
Retrieves resource agent metadata (internal use only).
Suggested minimum timeout: 5s.
validate-all
Performs a validation of the resource configuration.
Suggested minimum timeout: 30s.
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" promotable
SEE ALSO¶
http://clusterlabs.org/AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)12/17/2020 | resource-agents UNKNOWN |