OCF_HEARTBEAT_DOVECO(7)

πŸ’Œ ocf_heartbeat_dovecot β€” the manual, but make it make sense

okay bestie, pull up a chair, we're reading OCF_HEARTBEAT_DOVECO(7) from the OCF resource agents collection together and honestly? it's giving main character energy for your mail server. πŸ•ŠοΈβœ¨


✨ NAME ✨

ocf_heartbeat_dovecot β€” she manages a highly available Dovecot IMAP/POP3 server instance. no cap, that's literally the whole job. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

dovecot [start | stop | monitor | meta-data | validate-all]

that's the lineup, bestie. those are your five moves. πŸ‘‘


🌸 DESCRIPTION 🌸

So this script manages Dovecot as an OCF resource inside a high-availability setup. That's it, that's the vibe β€” it's the girl who keeps Dovecot alive and kicking when the cluster needs her to be. πŸ¦‹


πŸ’– SUPPORTED PARAMETERS πŸ’–

These are the knobs you can turn. Every single one, no skipping, iykyk. πŸŽ›οΈ

  • binary β€” the full path to the Dovecot binary. like, for example, "/usr/sbin/dovecot". (optional, string, default "/usr/sbin/dovecot")
  • config_file β€” full path to a Dovecot configuration file. for example, "/etc/dovecot/dovecot.conf". (unique, optional, string, no default)
  • pid_file β€” full path to a Dovecot PID file. for example, "/var/run/dovecot/master.pid". (unique, optional, string, default "/var/run/dovecot/master.pid")
  • parameters β€” the Dovecot daemon can be called with extra parameters, and you drop any of them right here. πŸ“ (optional, string, no default)

πŸ”₯ SUPPORTED ACTIONS πŸ”₯

This resource agent supports the following actions (aka operations). every single one of them, and the timeouts are not a suggestion you can ignore, okay? 😭

  • start β€” starts the resource. suggested minimum timeout: 20s.
  • stop β€” stops the resource. suggested minimum timeout: 20s.
  • reload β€” 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, so don't get any ideas πŸ’€). suggested minimum timeout: 5s.

πŸ’… EXAMPLE CRM SHELL πŸ’…

Here's an example config for a dovecot resource using the crm(8) shell. copy it, love it, respect it:

primitive p_dovecot ocf:heartbeat:dovecot \
  op monitor depth="0" timeout="20s" interval="60s"

🧚 EXAMPLE PCS 🧚

And here's the same energy for pcs(8):

pcs resource create p_dovecot ocf:heartbeat:dovecot \
  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 and left no crumbs, fr fr. 🫢


okay that's the whole page!! mwah πŸ’– this was from the resource-agents source, version UNKNOWN, dated 04/08/2026, and it's OCF_HEARTBEAT_DOVECO(7) β€” go be a highly available icon, bestie πŸŒΈπŸ¦‹βœ¨

πŸ“¦ where this page comes from