OCF_HEARTBEAT_VSFTPD(7)
π ocf_heartbeat_vsftpd β the manual, but make it a vibe π
okay bestie, so this is ocf_heartbeat_vsftpd, and it lives in the OCF resource agents section of your manual pages. yes the one in section 7. we're doing this. π¦
β¨ NAME β¨
ocf_heartbeat_vsftpd β literally just Manages an vsftpd. that's the whole job description. icon behavior honestly. π
πΈ SYNOPSIS πΈ
vsftpd [start | stop | monitor | meta-data | validate-all]
that's it, that's the lineup. pick your action, girl. π
π DESCRIPTION π
so this script manages vsftpd. simple. elegant. she's a resource agent. π§
BUT. and this is the part where you need to lean in β there are two things in your vsftpd.conf that HAVE to be right or the whole thing falls apart:
- the parameter
backgroundmust be set toyes setproctitle_enablemust be disabled
if either of those is off, the RA cannot work. like, at all. not a little bit broken, not working. no cap. π so go fix your config before you come crying to me, bestie.
β¨ SUPPORTED PARAMETERS β¨
three little params, all optional, all with defaults so you can just not think about them if you don't want to. π«Ά
binpathβ where thevsftpdbinary lives. like, for example,"/usr/sbin/vsftpd". (optional, string, default"/usr/sbin/vsftpd")conffileβ the full path + filename of yourvsftpdconfig file. for example"/etc/vsftpd/vsftpd.conf". (optional, string, default"/etc/vsftpd/vsftpd.conf")pidfileβ the full path to thevsftpdpidfile. for example"/var/run/vsftpd.pid". (optional, string, default"/var/run/vsftpd.pid")
π SUPPORTED ACTIONS π
this resource agent supports the following actions (operations) β aka the things you can actually do:
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.validate-allβ performs a validation of the resource configuration. suggested minimum timeout:20s.meta-dataβ retrieves resource agent metadata (internal use only). suggested minimum timeout:5s.
ngl meta-data said internal use only and she MEANT it. that's not for you, babe. that's for the machinery. π
π EXAMPLE CRM SHELL π
here's what a vsftpd resource looks like when you're configuring it with the crm(8) shell:
primitive p_vsftpd ocf:heartbeat:vsftpd \
op monitor depth="0" timeout="20s" interval="60s"
copy it, paste it, slay it. β
π EXAMPLE PCS π
and here's the same thing but you're using pcs(8) instead:
pcs resource create p_vsftpd ocf:heartbeat:vsftpd \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s"
see how it's depth="0" in one and OCF_CHECK_LEVEL="0" in the other? yeah. that's a thing. don't mix them up. π
π SEE ALSO π
- http://clusterlabs.org/ β go look, bestie, they know things
πΈ AUTHOR πΈ
ClusterLabs contributors (see the resource agent source for information about individual authors)
okay that's the whole page!! it's resource-agents version UNKNOWN, dated 04/08/2026, and that's your OCF_HEARTBEAT_VSFTPD(7) moment. go forth and manage that ftp daemon responsibly, mwah πβ¨ππ¦
π¦ 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