OCF_HEARTBEAT_IPSEC(7)
π OCF_HEARTBEAT_IPSEC(7) π
okay bestie, sit down, hydrate, because we're about to talk about ocf_heartbeat_ipsec β yes it's a whole manual page (section 7, iykyk) and yes it's about IPSEC tunnels. slay
β¨ NAME β¨
ocf_heartbeat_ipsec β handles IPSEC tunnels for VIPs π
β¨ SYNOPSIS β¨
ipsec [start | stop | monitor | meta-data]
β¨ DESCRIPTION β¨
So like, this is a Resource Agent whose whole job is managing IPSEC tunnels that are associated with a Virtual IP Address. It's meant to be collocated with one specific VIP β they're a package deal, fr fr β and it handles setting up or taking down one specific tunnel. That's it. That's the gig. π
β¨ SUPPORTED PARAMETERS β¨
tunnelβ the name of the tunnel we're monitoring, bestie. π (unique, required, string, no default)vipβ the Virtual IP address that the tunnel is using. (unique, required, string, no default)confdirβ the directory where the IPSEC tunnel configs live. (optional, string, default"/etc/ipsec.d/")fallbacktunnelβ the name of the tunnel to fall back to when the main tunnel gets put down. like a backup bestie π«Ά (unique, optional, string, no default)
β¨ SUPPORTED ACTIONS β¨
this resource agent supports the following actions (operations), periodt:
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:10s. πreloadβ suggested minimum timeout:20s.meta-dataβ retrieves resource agent metadata (internal use only, don't touch unless you know what you're doing π). Suggested minimum timeout:5s.
β¨ EXAMPLE CRM SHELL β¨
here's an example config for an ipsec resource using the crm(8) shell, copy it exactly pls:
primitive p_ipsec ocf:heartbeat:ipsec \
params \
tunnel=string \
vip=string \
op monitor timeout="20s" interval="10s" depth="0"
β¨ EXAMPLE PCS β¨
and here's the same vibe but for pcs(8):
pcs resource create p_ipsec ocf:heartbeat:ipsec \
tunnel=string \
vip=string \
op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"
β¨ SEE ALSO β¨
β¨ AUTHOR β¨
ClusterLabs contributors β and if you wanna know about individual authors, the resource agent source has the deets. π
and that's the whole page, no cap. go forth and tunnel responsibly. π¦
this was resource-agents version UNKNOWN, dated 04/08/2026, and honestly? iconic. bye bestie, ily πβ¨π
π¦ 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