OCF_HEARTBEAT_PROFTP(7)
β¨ NAME β¨
ocf_heartbeat_proftpd β it's an OCF Resource Agent compliant FTP script, bestie π
this is the OCF_HEARTBEAT_PROFTP(7) page and it's literally all about keeping your FTP server alive and iconic.
π¦ SYNOPSIS π¦
proftpd [start | stop | monitor | meta-data | validate-all]
πΈ DESCRIPTION πΈ
Okay so picture this: this script manages Proftpd in an Active-Passive setup. That's the whole vibe. Two nodes, one is the main character, the other is waiting in the wings, and this agent handles the handoff. Periodt. π
π SUPPORTED PARAMETERS π
binaryβ the actual Proftpd binary, like where it lives on your filesystem. optional, string, default is"/usr/sbin/proftpd"conffileβ the Proftpd configuration file name, with the full path, no shortcuts. Example given:"/etc/proftpd.conf". optional, string, default is"/etc/proftpd.conf"pidfileβ the Proftpd PID file π«Ά. Heads up though: the location of the PID file is configured in the Proftpd configuration file itself, so don't get it twisted. optional, string, default is"/var/run/proftpd.pid"curl_binaryβ the absolute path to the curl binary, and this one only matters when you're monitoring withOCF_CHECK_LEVELgreater than zero. optional, string, default is"/usr/bin/curl"curl_urlβ the URL that curl goes and checks, again only whenOCF_CHECK_LEVELis greater than zero. optional, string, default is"ftp://localhost/"test_userβ the name of the ftp user used for monitoring whenOCF_CHECK_LEVELis greater than zero. optional, string, default is"test"test_passβ the password of that ftp user, same deal, monitoring withOCF_CHECK_LEVELgreater than zero. optional, string, and there is no default β you gotta bring your own π₯
π SUPPORTED ACTIONS π
This resource agent supports the following actions (operations), and yes bestie we're going through every single one:
startβ starts the resource. Suggested minimum timeout:20s.stopβ stops the resource. Suggested minimum timeout:20s.monitorβ performs a detailed status check. Suggested minimum timeout:20s. Suggested interval:60s.monitorβ performs a detailed status check. Suggested minimum timeout:20s. Suggested interval:120s.validate-allβ performs a validation of the resource configuration. Suggested minimum timeout:20s.meta-dataβ retrieves resource agent metadata (internal use only, don't touch it, it's not for you π). Suggested minimum timeout:5s.
Not me pointing out that monitor shows up twice up there β that's not a typo on my part, that's genuinely how the page lists it. Both entries, both kept, both real. π
π§ EXAMPLE CRM SHELL π§
Here's an example config for a proftpd resource using the crm(8) shell:
primitive p_proftpd ocf:heartbeat:proftpd \
op monitor depth="0" timeout="20s" interval="60s" \
op monitor depth="10" timeout="20s" interval="120s"
π EXAMPLE PCS π
And here's the same energy for a proftpd resource using pcs(8):
pcs resource create p_proftpd ocf:heartbeat:proftpd \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s" \
op monitor OCF_CHECK_LEVEL="10" timeout="20s" interval="120s"
π SEE ALSO π
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors). Slay, honestly.
That's the whole page, bestie β and for the sign-off: this is resource-agents version UNKNOWN, dated 04/08/2026. Go forth and keep that FTP server in its active-passive main character era π«Άβ¨
π¦ where this page comes from
- fedora 43: resource-agents 4.18.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: resource-agents 4.18.0-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms