OCF_HEARTBEAT_GARBD(7)

πŸ’… OCF_HEARTBEAT_GARBD(7) β€” OCF resource agents edition πŸ’…

Okay bestie, welcome to the manual page for ocf_heartbeat_garbd β€” it's giving Galera arbitrator management, and honestly it's iconic. No cap, every detail is below. 🫢

✨ NAME ✨

ocf_heartbeat_garbd β€” manages a galera arbitrator instance πŸ’–

✨ SYNOPSIS ✨

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

🌸 DESCRIPTION 🌸

Resource script for managing Galera arbitrator. That's the whole vibe β€” it's the script that handles your Galera arbitrator. ✨

πŸŽ€ SUPPORTED PARAMETERS πŸŽ€

These are the parameters, bestie β€” every single one, no skips:

  • binary β€” location of the Galera arbitrator binary. It's optional, type string, default "/usr/sbin/garbd" 🧚
  • user β€” user running the garbd process. Optional, type string, default "mysql" πŸ‘‘
  • group β€” group running garbd (for logfile permissions). Optional, type string, default "mysql" πŸ“
  • log β€” the logfile to be used for garbd. Optional, type string, default "/var/log/garbd.log" πŸ“
  • pid β€” the pidfile to be used for garbd. Optional, type string, default "/var/run/garbd.pid" πŸ†”
  • options β€” additional parameters which are passed to garbd on startup. Optional, type string, no default πŸ’«
  • wsrep_cluster_address β€” the galera cluster address. This takes the form of: gcomm://node:port,node:port,node:port. Unlike Galera servers, port is mandatory for garbd β€” do not skip it, bestie 🚨. It's required, type string, no default.
  • wsrep_cluster_name β€” the group name of the Galera cluster to connect to. Required, type string, no default 🌈

πŸ”₯ SUPPORTED ACTIONS πŸ”₯

This resource agent supports the following actions (operations): yes, 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: 20s πŸ‘€
  • validate-all β€” performs a validation of the resource configuration. Suggested minimum timeout: 5s βœ…
  • meta-data β€” retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s πŸ—‚οΈ

πŸŽ€ EXAMPLE CRM SHELL πŸŽ€

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

primitive p_garbd ocf:heartbeat:garbd \
  params \
    wsrep_cluster_address=string \
    wsrep_cluster_name=string \
  op monitor depth="0" timeout="20s" interval="20s"

πŸ¦‹ EXAMPLE PCS πŸ¦‹

The following is an example configuration for a garbd resource using pcs(8):

pcs resource create p_garbd ocf:heartbeat:garbd \
  wsrep_cluster_address=string \
  wsrep_cluster_name=string \
  op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="20s"

⭐ SEE ALSO ⭐

http://clusterlabs.org/ β€” go peep it, bestie πŸ’œ

πŸ‘‘ AUTHOR πŸ‘‘

ClusterLabs contributors (see the resource agent source for information about individual authors) 🫢


Source/version: resource-agents UNKNOWN Β· date: 10/01/2026 β€” okay bye, slay the cluster πŸ’…

πŸ“¦ where this page comes from