GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OCF_HEARTBEAT_PGAGEN(7) OCF resource agents OCF_HEARTBEAT_PGAGEN(7)

ocf_heartbeat_pgagent - Controls pgagent

pgagent [start | stop | monitor | meta-data | validate-all]

This is a pgagent Resource Agent.

connection_string
Connection string for pgagent.

(optional, string, default "user=postgres host=/var/run/postgresql")

user

User to run pgagent as.

(optional, string, default "postgres")

options

Options for pgagent.

(optional, string, default "-r 1 -t 1")

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 5s.

stop

Stops the resource. Suggested minimum timeout: 5s.

monitor

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

meta-data

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

validate-all

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

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" 

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" 

http://clusterlabs.org/

ClusterLabs contributors (see the resource agent source for information about individual authors)
04/12/2022 resource-agents 4.10.0

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.