table of contents
OCF_HEARTBEAT_PGAGEN(7) | OCF resource agents | OCF_HEARTBEAT_PGAGEN(7) |
NAME¶
ocf_heartbeat_pgagent - Controls pgagent
SYNOPSIS¶
pgagent [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
This is a pgagent Resource Agent.
SUPPORTED PARAMETERS¶
connection_string
(optional, string, default "user=postgres host=/var/run/postgresql")
user
(optional, string, default "postgres")
options
(optional, string, default "-r 1 -t 1")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
meta-data
validate-all
EXAMPLE CRM SHELL¶
The following is an example configuration for a pgagent resource using the crm(8) shell:
primitive p_pgagent ocf:heartbeat:pgagent \
op monitor timeout="20s" interval="10s" depth="0"
EXAMPLE PCS¶
The following is an example configuration for a pgagent resource using pcs(8)
pcs resource create p_pgagent ocf:heartbeat:pgagent \
op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |