'\" t .\" Title: ocf_heartbeat_garbd .\" Author: ClusterLabs contributors (see the resource agent source for information about individual authors) .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 12/17/2020 .\" Manual: OCF resource agents .\" Source: resource-agents UNKNOWN .\" Language: English .\" .TH "OCF_HEARTBEAT_GARBD" "7" "12/17/2020" "resource-agents UNKNOWN" "OCF resource agents" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ocf_heartbeat_garbd \- Manages a galera arbitrator instance .SH "SYNOPSIS" .HP \w'\fBgarbd\fR\ 'u \fBgarbd\fR [start | stop | monitor | meta\-data | validate\-all] .SH "DESCRIPTION" .PP Resource script for managing Galera arbitrator\&. .SH "SUPPORTED PARAMETERS" .PP \fBbinary\fR .RS 4 Location of the Galera arbitrator binary .sp (optional, string, default "/usr/sbin/garbd") .RE .PP \fBuser\fR .RS 4 User running the garbd process .sp (optional, string, default "mysql") .RE .PP \fBgroup\fR .RS 4 Group running garbd (for logfile permissions) .sp (optional, string, default "mysql") .RE .PP \fBlog\fR .RS 4 The logfile to be used for garbd\&. .sp (optional, string, default "/var/log/garbd\&.log") .RE .PP \fBpid\fR .RS 4 The pidfile to be used for garbd\&. .sp (optional, string, default "/var/run/garbd\&.pid") .RE .PP \fBoptions\fR .RS 4 Additional parameters which are passed to garbd on startup\&. .sp (optional, string, no default) .RE .PP \fBwsrep_cluster_address\fR .RS 4 The galera cluster address\&. This takes the form of: gcomm://node:port,node:port,node:port .sp Unlike Galera servers, port is mandatory for garbd\&. .sp (required, string, no default) .RE .PP \fBwsrep_cluster_name\fR .RS 4 The group name of the Galera cluster to connect to\&. .sp (required, string, no default) .RE .SH "SUPPORTED ACTIONS" .PP This resource agent supports the following actions (operations): .PP \fBstart\fR .RS 4 Starts the resource\&. Suggested minimum timeout: 20s\&. .RE .PP \fBstop\fR .RS 4 Stops the resource\&. Suggested minimum timeout: 20s\&. .RE .PP \fBmonitor\fR .RS 4 Performs a detailed status check\&. Suggested minimum timeout: 20s\&. Suggested interval: 20s\&. .RE .PP \fBvalidate\-all\fR .RS 4 Performs a validation of the resource configuration\&. Suggested minimum timeout: 5s\&. .RE .PP \fBmeta\-data\fR .RS 4 Retrieves resource agent metadata (internal use only)\&. Suggested minimum timeout: 5s\&. .RE .SH "EXAMPLE CRM SHELL" .PP The following is an example configuration for a garbd resource using the \fBcrm\fR(8) shell: .sp .if n \{\ .RS 4 .\} .nf primitive p_garbd ocf:heartbeat:garbd \e params \e wsrep_cluster_address=\fIstring\fR \e wsrep_cluster_name=\fIstring\fR \e op monitor depth="0" timeout="20s" interval="20s" .fi .if n \{\ .RE .\} .SH "EXAMPLE PCS" .PP The following is an example configuration for a garbd resource using \fBpcs\fR(8) .sp .if n \{\ .RS 4 .\} .nf pcs resource create p_garbd ocf:heartbeat:garbd \e wsrep_cluster_address=\fIstring\fR \e wsrep_cluster_name=\fIstring\fR \e op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="20s" .fi .if n \{\ .RE .\} .SH "SEE ALSO" .PP \m[blue]\fB\%http://clusterlabs.org/\fR\m[] .SH "AUTHOR" .PP \fBClusterLabs contributors (see the resource agent source for information about individual authors)\fR