1OCF_HEARTBEAT_PGAGEN(7) OCF resource agents OCF_HEARTBEAT_PGAGEN(7)
2
3
4
6 ocf_heartbeat_pgagent - Controls pgagent
7
9 pgagent [start | stop | monitor | meta-data | validate-all]
10
12 This is a pgagent Resource Agent.
13
15 connection_string
16 Connection string for pgagent.
17
18 (optional, string, default "user=postgres
19 host=/var/run/postgresql")
20
21 user
22 User to run pgagent as.
23
24 (optional, string, default "postgres")
25
26 options
27 Options for pgagent.
28
29 (optional, string, default "-r 1 -t 1")
30
32 This resource agent supports the following actions (operations):
33
34 start
35 Starts the resource. Suggested minimum timeout: 5s.
36
37 stop
38 Stops the resource. Suggested minimum timeout: 5s.
39
40 monitor
41 Performs a detailed status check. Suggested minimum timeout: 20s.
42 Suggested interval: 10s.
43
44 meta-data
45 Retrieves resource agent metadata (internal use only). Suggested
46 minimum timeout: 5s.
47
48 validate-all
49 Performs a validation of the resource configuration. Suggested
50 minimum timeout: 5s.
51
53 The following is an example configuration for a pgagent resource using
54 the crm(8) shell:
55
56 primitive p_pgagent ocf:heartbeat:pgagent \
57 op monitor timeout="20s" interval="10s" depth="0"
58
60 The following is an example configuration for a pgagent resource using
61 pcs(8)
62
63 pcs resource create p_pgagent ocf:heartbeat:pgagent \
64 op monitor timeout="20s" interval="10s" depth="0"
65
67 http://clusterlabs.org/
68
70 ClusterLabs contributors (see the resource agent source for information
71 about individual authors)
72
73
74
75resource-agents UNKNOWN 03/09/2020 OCF_HEARTBEAT_PGAGEN(7)