1OCF_HEARTBEAT_GARBD(7) OCF resource agents OCF_HEARTBEAT_GARBD(7)
2
3
4
6 ocf_heartbeat_garbd - Manages a galera arbitrator instance
7
9 garbd [start | stop | monitor | meta-data | validate-all]
10
12 Resource script for managing Galera arbitrator.
13
15 binary
16 Location of the Galera arbitrator binary
17
18 (optional, string, default "/usr/sbin/garbd")
19
20 user
21 User running the garbd process
22
23 (optional, string, default "mysql")
24
25 group
26 Group running garbd (for logfile permissions)
27
28 (optional, string, default "mysql")
29
30 log
31 The logfile to be used for garbd.
32
33 (optional, string, default "/var/log/garbd.log")
34
35 pid
36 The pidfile to be used for garbd.
37
38 (optional, string, default "/var/run/garbd.pid")
39
40 options
41 Additional parameters which are passed to garbd on startup.
42
43 (optional, string, no default)
44
45 wsrep_cluster_address
46 The galera cluster address. This takes the form of:
47 gcomm://node:port,node:port,node:port
48
49 Unlike Galera servers, port is mandatory for garbd.
50
51 (required, string, no default)
52
53 wsrep_cluster_name
54 The group name of the Galera cluster to connect to.
55
56 (required, string, no default)
57
59 This resource agent supports the following actions (operations):
60
61 start
62 Starts the resource. Suggested minimum timeout: 20s.
63
64 stop
65 Stops the resource. Suggested minimum timeout: 20s.
66
67 monitor
68 Performs a detailed status check. Suggested minimum timeout: 20s.
69 Suggested interval: 20s.
70
71 validate-all
72 Performs a validation of the resource configuration. Suggested
73 minimum timeout: 5s.
74
75 meta-data
76 Retrieves resource agent metadata (internal use only). Suggested
77 minimum timeout: 5s.
78
80 The following is an example configuration for a garbd resource using
81 the crm(8) shell:
82
83 primitive p_garbd ocf:heartbeat:garbd \
84 params \
85 wsrep_cluster_address=string \
86 wsrep_cluster_name=string \
87 op monitor depth="0" timeout="20s" interval="20s"
88
90 The following is an example configuration for a garbd resource using
91 pcs(8)
92
93 pcs resource create p_garbd ocf:heartbeat:garbd \
94 wsrep_cluster_address=string \
95 wsrep_cluster_name=string \
96 op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="20s"
97
99 http://clusterlabs.org/
100
102 ClusterLabs contributors (see the resource agent source for information
103 about individual authors)
104
105
106
107resource-agents UNKNOWN 04/06/2022 OCF_HEARTBEAT_GARBD(7)