OCF_HEARTBEAT_PGAGEN(7)

πŸ’– NAME πŸ’–

ocf_heartbeat_pgagent β€” controls pgagent.

okay bestie, welcome to OCF_HEARTBEAT_PGAGEN(7), a manual page from the OCF resource agents fam. This is giving small but iconic resource agent energy πŸ’….

πŸ“œ SYNOPSIS πŸ“œ

Run it like this, exactly:

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

🌸 DESCRIPTION 🌸

This is a pgagent Resource Agent, periodt. ✨

πŸŽ€ SUPPORTED PARAMETERS πŸŽ€

bestie, here are the parameters this cutie supports:

  • connection_string β€” connection string for pgagent. It's optional, type 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". 🌈

πŸ‘‘ SUPPORTED ACTIONS πŸ‘‘

This resource agent supports the following actions (operations), and yes, the timeouts are part of the lore:

  • 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. βœ…

🐚 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 πŸ¦‹

http://clusterlabs.org/ β€” go peek, bestie πŸ’œ

🌟 AUTHOR 🌟

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


okay bye bestie β€” this page comes from resource-agents version UNKNOWN, dated 10/01/2026, and it's the OCF_HEARTBEAT_PGAGEN(7) manual page. slay and farewell πŸ’…βœ¨

πŸ“¦ where this page comes from