ocf_heartbeat_garbd man page

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: 20.

stop

Stops the resource. Suggested minimum timeout: 20.

monitor

Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 20.

validate-all

Performs a validation of the resource configuration. Suggested minimum timeout: 5.

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.

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="20" interval="20" 

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="20" interval="20" 

See Also

http://clusterlabs.org/

Author

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

Info

08/04/2017 resource-agents UNKNOWN OCF resource agents