OCF_HEARTBEAT_POSTFI(7)
πΈ ocf_heartbeat_postfix(7) πΈ
okay so bestie, welcome to the OCF resource agents corner of the manual β this one's called ocf_heartbeat_postfix and it's giving mail server main character energy. Buckle up, we're learning how to make Postfix highly available, and honestly? It's lowkey iconic. π
β¨ NAME β¨
ocf_heartbeat_postfix β manages a highly available Postfix mail server instance. periodt. π
β¨ SYNOPSIS β¨
postfix [start | stop | monitor | meta-data | validate-all]
β¨ DESCRIPTION β¨
So basically, this script manages Postfix as an OCF resource inside a high-availability setup. That's the whole vibe check β it's the little agent that keeps your mail server behaving in a cluster. π¦
π SUPPORTED PARAMETERS π
These are the knobs you get to turn, bestie. Use them wisely:
binaryβ full path to the Postfix binary. Like, for example,"/usr/sbin/postfix". (optional, string, default"/usr/sbin/postfix")config_dirβ full path to a Postfix configuration directory. For example,"/etc/postfix". (unique, optional, string, no default β so yeah, nothing's filled in for you here π)parametersβ the Postfix daemon can be called with extra parameters, and if you've got any you just drop them right here. (optional, string, no default)
π SUPPORTED ACTIONS π
This resource agent supports these actions (a.k.a. operations). Slay:
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 like... don't touch unless you know what you're doing fr fr). Suggested minimum timeout:5s.
π EXAMPLE CRM SHELL π
Here's how you'd configure a postfix resource using the crm(8) shell β copy it exactly, no cap:
primitive p_postfix ocf:heartbeat:postfix \
op monitor depth="0" timeout="20s" interval="60s"
β EXAMPLE PCS β
And here's the same situation using pcs(8):
pcs resource create p_postfix ocf:heartbeat:postfix \
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). shoutout to the collective, iykyk π«Ά
ngl bestie, if you ever need the lore on who wrote what, the source is right there β go peek π
okay that's the whole page!! π This gem is from resource-agents version UNKNOWN, dated 10/01/2026 β and that's the manual page wrap, mwah π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms