OCF_HEARTBEAT_GARBD(7) | OCF resource agents | OCF_HEARTBEAT_GARBD(7) |
ocf_heartbeat_garbd - Manages a galera arbitrator instance
garbd [start | stop | monitor | meta-data | validate-all]
Resource script for managing Galera arbitrator.
binary
(optional, string, default "/usr/sbin/garbd")
user
(optional, string, default "mysql")
group
(optional, string, default "mysql")
log
(optional, string, default "/var/log/garbd.log")
pid
(optional, string, default "/var/run/garbd.pid")
options
(optional, string, no default)
wsrep_cluster_address
Unlike Galera servers, port is mandatory for garbd.
(required, string, no default)
wsrep_cluster_name
(required, string, no default)
This resource agent supports the following actions (operations):
start
stop
monitor
validate-all
meta-data
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"
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"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |