'\" t .\" Title: ocf_heartbeat_conntrackd .\" Author: ClusterLabs contributors (see the resource agent source for information about individual authors) .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 04/13/2023 .\" Manual: OCF resource agents .\" Source: resource-agents 4.12.0-2 .\" Language: English .\" .TH "OCF_HEARTBEAT_CONNTR" "7" "04/13/2023" "resource-agents 4.12.0-2" "OCF resource agents" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ocf_heartbeat_conntrackd \- This resource agent manages conntrackd .SH "SYNOPSIS" .HP \w'\fBconntrackd\fR\ 'u \fBconntrackd\fR [start | stop | monitor | promote | demote | meta\-data | validate\-all] .SH "DESCRIPTION" .PP Promotable OCF Resource Agent for conntrackd .SH "SUPPORTED PARAMETERS" .PP \fBbinary\fR .RS 4 Name 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" .sp (optional, string, default "conntrackd") .RE .PP \fBconfig\fR .RS 4 Full path to the conntrackd\&.conf file\&. For example "/packages/conntrackd\-0\&.9\&.14/etc/conntrackd/conntrackd\&.conf" .sp (optional, string, default "/etc/conntrackd/conntrackd\&.conf") .RE .SH "SUPPORTED ACTIONS" .PP This resource agent supports the following actions (operations): .PP \fBstart\fR .RS 4 Starts the resource\&. Suggested minimum timeout: 30s\&. .RE .PP \fBpromote\fR .RS 4 Promotes the resource to the Master role\&. Suggested minimum timeout: 30s\&. .RE .PP \fBdemote\fR .RS 4 Demotes the resource to the Slave role\&. Suggested minimum timeout: 30s\&. .RE .PP \fBnotify\fR .RS 4 Suggested minimum timeout: 30s\&. .RE .PP \fBstop\fR .RS 4 Stops the resource\&. Suggested minimum timeout: 30s\&. .RE .PP \fBmonitor (Unpromoted role)\fR .RS 4 Performs a detailed status check\&. Suggested minimum timeout: 20s\&. Suggested interval: 20s\&. .RE .PP \fBmonitor (Promoted role)\fR .RS 4 Performs a detailed status check\&. Suggested minimum timeout: 20s\&. Suggested interval: 10s\&. .RE .PP \fBmeta\-data\fR .RS 4 Retrieves resource agent metadata (internal use only)\&. Suggested minimum timeout: 5s\&. .RE .PP \fBvalidate\-all\fR .RS 4 Performs a validation of the resource configuration\&. Suggested minimum timeout: 30s\&. .RE .SH "EXAMPLE CRM SHELL" .PP The following is an example configuration for a conntrackd resource using the \fBcrm\fR(8) shell: .sp .if n \{\ .RS 4 .\} .nf primitive p_conntrackd ocf:heartbeat:conntrackd \e op monitor timeout="20s" interval="20s" role="Unpromoted" \e op monitor timeout="20s" interval="10s" role="Promoted" .fi .if n \{\ .RE .\} .sp .if n \{\ .RS 4 .\} .nf ms ms_conntrackd p_conntrackd \e meta notify="true" interleave="true" .fi .if n \{\ .RE .\} .SH "EXAMPLE PCS" .PP The following is an example configuration for a conntrackd resource using \fBpcs\fR(8) .sp .if n \{\ .RS 4 .\} .nf pcs resource create p_conntrackd ocf:heartbeat:conntrackd \e op monitor timeout="20s" interval="20s" role="Unpromoted" \e op monitor timeout="20s" interval="10s" role="Promoted" promotable .fi .if n \{\ .RE .\} .SH "SEE ALSO" .PP \m[blue]\fB\%http://clusterlabs.org/\fR\m[] .SH "AUTHOR" .PP \fBClusterLabs contributors (see the resource agent source for information about individual authors)\fR