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 π
- http://clusterlabs.org/ β go look, bestie, they're iconic.
π 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
- 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