OCF_HEARTBEAT_MINIO(7)

πŸ’– OCF_HEARTBEAT_MINIO πŸ’–

okay bestie, welcome to the ocf_heartbeat_minio(7) page β€” yes that's the manual name, no I'm not gonna make you say it out loud, just know that's what you're reading 🫢

✨ NAME ✨

ocf_heartbeat_minio β€” an OCF Resource Agent compliant Minio server script. that's it, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

minio [start | stop | monitor | meta-data | validate-all]

look at her. five little words and a whole server's fate. iconic honestly ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so this script manages Minio, and it does it in an Active-Passive setup. one of them is the main character, the other one is waiting in the wings for their moment. that's the arrangement, that's the whole thing πŸ’–


πŸŽ€ SUPPORTED PARAMETERS πŸŽ€

these are the knobs you get to turn. all of them optional, all of them with a default already picked out for you. slay.

  • binary β€” the Minio server binary. where your actual minio lives. (optional, string, default "/opt/minio/minio-server")
  • confdir β€” the Minio configuration directory path. for example, "/etc/minio". (optional, string, default "/etc/minio")
  • pidfile β€” the Minio PID file, i.e. the location of the PID file. (optional, string, default "/var/run/minio.pid")
  • address β€” address to bind minio to. (optional, string, default ":9000")
  • volumepaths β€” the storage volumes for minio to use. (optional, string, default "/home/shared")

πŸ‘‘ SUPPORTED ACTIONS πŸ‘‘

this resource agent supports the following actions (operations). lowkey the whole personality of the thing, ngl:

  • 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.
  • validate-all β€” performs a validation of the resource configuration. suggested minimum timeout: 2s.
  • meta-data β€” retrieves resource agent metadata (internal use only). suggested minimum timeout: 5s.

🌈 EXAMPLE CRM SHELL 🌈

here's an example configuration for a minio resource using the crm(8) shell. copy, paste, thrive:

primitive p_minio ocf:heartbeat:minio \
  op monitor depth="0" timeout="20s" interval="60s"

⭐ EXAMPLE PCS ⭐

and here's the same energy but for pcs(8). different tool, same dream:

pcs resource create p_minio ocf:heartbeat:minio \
  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. they did that, fr fr πŸ”₯


and that's the page bestie!! πŸ’– this was resource-agents UNKNOWN, dated 04/08/2026 β€” go forth and cluster responsibly βœ¨πŸ‘‘πŸ’…

πŸ“¦ where this page comes from