OCF_HEARTBEAT_SENDAR(7)
π
ocf_heartbeat_SendArp β from the OCF_HEARTBEAT_SENDAR(7) girlies β¨
okay bestie, sit down, hydrate, and let me tell you about the most unserious-but-actually-iconic resource agent in the cluster: SendArp. yes that's the name. yes it's capitalized like that. we don't ask questions, we just vibe π¦
πΈ NAME πΈ
ocf_heartbeat_SendArp β it Broadcasts unsolicited ARP announcements π no cap, that's literally the whole job.
β¨ SYNOPSIS β¨
SendArp [start | stop | monitor | meta-data | validate-all]
that's the whole menu, bestie. five actions, zero drama π
π«Ά DESCRIPTION π«Ά
okay so this is the part where it gets good π
This RA can be used instead of the IPaddr2 or IPaddr RA to send gratuitous ARP for an IP address on a given interface, without adding the address to that interface. like, it just... tells the network "hey, this IP lives here now" and then dips. main character energy fr π
For example β and this is the example the manpage gives, I'm not inventing lore β if for some reason you wanted to send gratuitous ARP for addresses managed by IPaddr2 or IPaddr on an additional interface. that's it, that's the use case. lowkey niche, highkey useful π
π SUPPORTED PARAMETERS π
three params. three. we love a minimal icon β
ipβ The IP address for sending ARP packet. it's required, it's a string, and there's no default β you gotta bring your own, bestie πnicβ The NIC for sending ARP packet. also required, also a string, also no default. no NIC, no ARP, no service πbackgroundβ Send ARPs in background. it's optional, it's a boolean, and it defaults totrue. > set it tofalseif you want to test if sending ARPs succeeded β that's the tradeoff, don't come for me π
π₯ SUPPORTED ACTIONS π₯
This resource agent supports the following actions (operations) β grab a snack, we're going through all five π
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.meta-dataβ Retrieves resource agent metadata (internal use only). Suggested minimum timeout:5s. it said internal use only so don't be nosy π§validate-allβ Performs a validation of the resource configuration. Suggested minimum timeout:20s.
π EXAMPLE CRM SHELL π
The following is an example configuration for a SendArp resource using the crm(8) shell β copy it exactly, don't be creative in here:
primitive p_SendArp ocf:heartbeat:SendArp \
params \
ip=string \
nic=string \
op monitor depth="0" timeout="20s" interval="10s"
π EXAMPLE PCS π
The following is an example configuration for a SendArp resource using pcs(8) β different tool, same energy:
pcs resource create p_SendArp ocf:heartbeat:SendArp \
ip=string \
nic=string \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"
(and yes, note that depth="0" vs OCF_CHECK_LEVEL="0" difference β that's not me being messy, that's exactly how the original has it π)
π¦ SEE ALSO π¦
- http://clusterlabs.org/ β go touch grass, it's the official site β¨
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors) π«Ά
anyway that's the whole page, mwah π this was resource-agents version UNKNOWN, dated 10/01/2026 β slay, no cap, periodt ππ
π¦ 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