OCF_HEARTBEAT_PURE-(7)

πŸ’– ocf_heartbeat_Pure-FTPd πŸ’–

okay bestie, come sit with me, we're gonna talk about ocf_heartbeat_Pure-FTPd β€” it lives in section 7 of the manuals, it's part of the OCF resource agents, and it is literally just here to babysit a Pure-FTPd FTP server instance for you. no cap. πŸŽ€


✨ SYNOPSIS ✨

Pure-FTPd [start | stop | monitor | meta-data | validate-all]

that's it, that's the whole vibe check. πŸ¦‹


🌸 DESCRIPTION 🌸

so the way this works is: this script manages Pure-FTPd in an Active-Passive setup. one node is the main character, the other one is patiently waiting in the wings like a true understudy. periodt. πŸ’…


πŸ‘‘ SUPPORTED PARAMETERS πŸ‘‘

every one of these is precious, don't skip any:

  • script β€” the full path to the Pure-FTPd startup script, bestie. like for example "/sbin/pure-config.pl". (unique, optional, string, default "/sbin/pure-config.pl") 🌟
  • conffile β€” the Pure-FTPd config file name, and yes it needs the full path. for example "/etc/pure-ftpd/pure-ftpd.conf". (unique, optional, string, default "/etc/pure-ftpd/pure-ftpd.conf") πŸ“
  • daemon_type β€” which Pure-FTPd daemon gets called by pure-ftpd-wrapper. the valid options are: "" for pure-ftpd, "mysql" for pure-ftpd-mysql, "postgresql" for pure-ftpd-postgresql, and "ldap" for pure-ftpd-ldap. (unique, optional, string, no default β€” so if you leave it blank it's giving pure-ftpd energy) πŸ™ˆ
  • pidfile β€” PID file, iconic, we love a PID file. (optional, string, default "/run/resource-agents/pure-ftpd-RESOURCE_ID.pid") ⭐

πŸ”₯ SUPPORTED ACTIONS πŸ”₯

this resource agent supports the following actions (operations), and yes we're listing all of them:

  • 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. she's thorough, she checks in, she cares. ✨
  • 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. πŸ’€

🌈 EXAMPLE CRM SHELL 🌈

here's an example config for a Pure-FTPd resource using the crm(8) shell, look at her go:

primitive p_Pure-FTPd ocf:heartbeat:Pure-FTPd \
  op monitor depth="0" timeout="20s" interval="60s"

πŸ’œ EXAMPLE PCS πŸ’œ

and here's the same energy but for a Pure-FTPd resource using pcs(8):

pcs resource create p_Pure-FTPd ocf:heartbeat:Pure-FTPd \
  op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s"

πŸ¦‹ SEE ALSO πŸ¦‹


πŸŽ€ AUTHOR πŸŽ€

ClusterLabs contributors (see the resource agent source for information about individual authors). they ate, fr fr. πŸ‘‘


and that's the whole page, bestie β€” no notes, it's giving flawless. πŸ’–βœ¨

okay so this was resource-agents UNKNOWN, dated 04/08/2026 β€” mwah, love you, bye! πŸ’…πŸŒΈπŸŽ€πŸ«Ά

πŸ“¦ where this page comes from