OCF_HEARTBEAT_LXD-I(7)
π ocf_heartbeat_lxd-info β the glow-up edition π
okay bestie, sit down, hydrate, and let me tell you about this lil manpage from the OCF_HEARTBEAT_LXD-I(7) set. it's giving cluster magic, and you're gonna eat it up. π
β¨ NAME β¨
ocf_heartbeat_lxd-info β she Records various node attributes in the CIB. that's the whole job. she's a notetaker and she's iconic for it. π
β¨ SYNOPSIS β¨
lxd-info [start | stop | monitor | meta-data | validate-all]
like, pick one of those five actions, queen. that's the whole vibe check. π
β¨ DESCRIPTION β¨
so this is a LXD Registration Service Resource Agent. what does that mean fr fr? it means she records β in the CIB β attributes about how many running LXD containers are chilling on the node. π«Ά
sample output so you know what the tea looks like:
lxd_containers: 5
no cap, that's it. five containers. recorded. slay. β¨
β¨ SUPPORTED PARAMETERS β¨
two (2) params, both optional, both cute:
pidfileβ the PID file. like, where the pid lives. (optional, string, default"/run/resource-agents/LXDInfo-RESOURCE_ID")delayβ the interval to allow values to stabilize. giving her a sec to breathe before we judge the numbers. (optional, string, default"0s")
β¨ SUPPORTED ACTIONS β¨
this resource agent supports the following actions (operations), and honestly, she supports all of them:
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:60s. she's checking on you every minute, that's love. πmeta-dataβ retrieves resource agent metadata (internal use only, bestie, don't touch, it's giving backstage pass). suggested minimum timeout:5s.validate-allβ performs a validation of the resource configuration. suggested minimum timeout:20s.
β¨ EXAMPLE CRM SHELL β¨
here's an example config for a lxd-info resource using the crm(8) shell. copy it, don't fight it:
primitive p_lxd-info ocf:heartbeat:lxd-info \
op monitor timeout="20s" interval="60s"
β¨ EXAMPLE PCS β¨
and here's the same energy for pcs(8), because we contain multitudes:
pcs resource create p_lxd-info ocf:heartbeat:lxd-info \
op monitor timeout="20s" interval="60s"
β¨ SEE ALSO β¨
- http://clusterlabs.org/ β go look, bestie, the lore is there π¦
β¨ AUTHOR β¨
ClusterLabs contributors (see the resource agent source for information about individual authors). we don't know exactly who, but they ate. π
π reminder: meta-data is internal use only. i said what i said.
resource-agents UNKNOWN β 04/08/2026 π
and that's the whole page, bestie!! resource-agents version UNKNOWN, dated 04/08/2026, page OCF_HEARTBEAT_LXD-I(7). go forth and register those containers. periodt. πβ¨πΈ
π¦ 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