---
name: "ocf_heartbeat_garbd"
section: "7"
platform: "linux"
package: "resource-agents"
version: "1:4.16.0-3+deb13u2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ocf_heartbeat_garbd"
---

# ocf\_heartbeat\_garbd(7)

Manages a galera arbitrator instance

## 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.

## SUPPORTED PARAMETERS

**binary**

Location of the Galera arbitrator binary

(optional, string, default "/usr/sbin/garbd")

**user**

User running the garbd process

(optional, string, default "mysql")

**group**

Group running garbd (for logfile permissions)

(optional, string, default "mysql")

**log**

The logfile to be used for garbd.

(optional, string, default "/var/log/garbd.log")

**pid**

The pidfile to be used for garbd.

(optional, string, default "/var/run/garbd.pid")

**options**

Additional parameters which are passed to garbd on startup.

(optional, 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.

(required, string, no default)

**wsrep\_cluster\_name**

The group name of the Galera cluster to connect to.

(required, string, no default)

## SUPPORTED ACTIONS

This resource agent supports the following actions (operations):

**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)](/crm/8.md) 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/8.md)

```
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/**

## AUTHOR

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