table of contents
OCF_HEARTBEAT_GARBD(7) | OCF resource agents | OCF_HEARTBEAT_GARBD(7) |
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
(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)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
validate-all
meta-data
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 depth="0" timeout="20s" interval="20s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
03/19/2024 | resource-agents UNKNOWN |