OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-16

patroni-4.1.0

PostgreSQL HA cluster management tool

Project homepage: https://github.com/zalando/patroni

Description

Patroni is a cluster manager used to customize and automate deployment and maintenance of PostgreSQL HA (High Availability) clusters. It uses distributed configuration stores like etcd, Consul, ZooKeeper or Kubernetes for maximum accessibility.

Package information

Ports path
databases/patroni
Package architecture
amd64
Maintainer
Pavel Korovin <pvk@openbsd.org>
Categories
databases, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

OpenBSD README
+-----------------------------------------------------------------------
| Running patroni on OpenBSD
+-----------------------------------------------------------------------

Patroni can be considered as a wrapper around PostgreSQL server which makes
HA cluster management tasks easier.
When running Patroni, make sure that postgresql is not enabled in
rc.conf.local(8) and PostgreSQL administration tasks such as server startup
and shutdown are performed with patronictl utility.

Patroni can use different distributed configuration stores (DCS), and requires
installation of the appropriate python module for DCS, e.g. to use HashiCorp
Consul, install py3-consul module.
Provided example configuration assumes that HashiCorp Consul is used for DCS.

To initialize PostgreSQL Patroni cluster, review and edit example configuration
file located in /etc/patroni/patroni.yml.

Commented-out options show the PostgreSQL defaults which should be reviewed
before cluster initialization.

Topics related to system tuning, PostgreSQL upgrades are covered in PostgreSQL
server port readme.

Package guides

Package details as JSON