OCF_HEARTBEAT_ICP(7)

πŸ’– ocf_heartbeat_ICP πŸ’–

okay so bestie, welcome to OCF_HEARTBEAT_ICP(7) β€” part of the OCF resource agents manual set. this is the whole lore on ocf_heartbeat_ICP, the resource agent that manages an ICP Vortex clustered host drive. yes it's niche, yes it's iconic, let's get into it πŸ¦‹


✨ NAME ✨

ocf_heartbeat_ICP β€” manages an ICP Vortex clustered host drive. that's the whole job description, she's focused πŸ’…


🌸 SYNOPSIS 🌸

ICP [start | stop | status | monitor | meta-data | validate-all]

that's the vibe check right there β€” call the agent with one of those actions and she'll do the thing ✨


πŸŽ€ DESCRIPTION πŸŽ€

so basically? this is a resource script for ICP. it manages an ICP Vortex clustered host drive and treats it like an HA resource. that's it, that's the whole personality, and honestly? she ate πŸ‘‘


πŸ’œ SUPPORTED PARAMETERS πŸ’œ

these are the params you gotta feed her, no cap:

  • driveid β€” the ICP cluster drive ID. it's giving "you literally cannot skip this". (required, string, no default)
  • device β€” the device name. also not optional bestie. (required, string, no default)
lowkey important: both of these are required and neither one has a default, so if you leave them out you get nothing. periodt πŸ™ˆ

🌈 SUPPORTED ACTIONS 🌈

this resource agent supports the following actions (aka operations). here's the tea on each one πŸ“:

  • start β€” starts the resource. suggested minimum timeout: 20s. she's up, she's serving πŸ’«
  • stop β€” stops the resource. suggested minimum timeout: 20s. goodbye queen, thank you for your service 😭
  • status β€” performs a status check. suggested minimum timeout: 20s. suggested interval: 10s. just a lil peek at how she's doing πŸ‘€
  • monitor β€” performs a detailed status check. suggested minimum timeout: 20s. suggested interval: 10s. the full vibe check, deep dive energy πŸ”
  • validate-all β€” performs a validation of the resource configuration. suggested minimum timeout: 5s. making sure you didn't mess anything up, bestie πŸ’…
  • meta-data β€” retrieves resource agent metadata (internal use only). suggested minimum timeout: 5s. don't worry about her, she's doing admin stuff internally 🫢

🌸 EXAMPLE CRM SHELL 🌸

the following is an example configuration for a ICP resource using the crm(8) shell:

primitive p_ICP ocf:heartbeat:ICP \
  params \
    driveid=string \
    device=string \
  op monitor depth="0" timeout="20s" interval="10s"

copy it, paste it, slay it ✨


πŸ’– EXAMPLE PCS πŸ’–

the following is an example configuration for a ICP resource using pcs(8):

pcs resource create p_ICP ocf:heartbeat:ICP \
  driveid=string \
  device=string \
  op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"

yes bestie, OCF_CHECK_LEVEL="0" here instead of depth="0" β€” different tool, different syntax, same energy πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹


πŸ‘‘ AUTHOR πŸ‘‘

ClusterLabs contributors (see the resource agent source for information about individual authors). iconic collective behaviour, we love a team effort 🫢


and that's the whole page!! resource-agents UNKNOWN, dated 04/08/2026 β€” thanks for reading bestie, go manage that ICP Vortex clustered host drive like the main character you are πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from