The databases/patroni port
patroni-4.0.4p0 – PostgreSQL HA cluster management tool (cvsweb github mirror)
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.WWW: https://github.com/zalando/patroni
Readme
+----------------------------------------------------------------------- | Running ${PKGSTEM} 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.
Maintainer
Pavel Korovin
Categories
Files
- /etc/patroni/
- /etc/patroni/patroni.yml
- /etc/rc.d/patroni
- /usr/local/bin/patroni
- /usr/local/bin/patroni_aws
- /usr/local/bin/patroni_barman
- /usr/local/bin/patroni_raft_controller
- /usr/local/bin/patroni_wale_restore
- /usr/local/bin/patronictl
- /usr/local/lib/python3.12/site-packages/patroni-4.0.4.dist-info/
- /usr/local/lib/python3.12/site-packages/patroni-4.0.4.dist-info/LICENSE
- /usr/local/lib/python3.12/site-packages/patroni-4.0.4.dist-info/METADATA
- /usr/local/lib/python3.12/site-packages/patroni-4.0.4.dist-info/RECORD
- /usr/local/lib/python3.12/site-packages/patroni-4.0.4.dist-info/WHEEL
- /usr/local/lib/python3.12/site-packages/patroni-4.0.4.dist-info/entry_points.txt
- /usr/local/lib/python3.12/site-packages/patroni-4.0.4.dist-info/top_level.txt
- /usr/local/lib/python3.12/site-packages/patroni/
- /usr/local/lib/python3.12/site-packages/patroni/__init__.py
- /usr/local/lib/python3.12/site-packages/patroni/__main__.py
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/__init__.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/__init__.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/__main__.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/__main__.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/api.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/api.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/async_executor.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/async_executor.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/collections.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/collections.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/config.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/config.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/config_generator.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/config_generator.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/ctl.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/ctl.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/daemon.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/daemon.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/dynamic_loader.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/dynamic_loader.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/exceptions.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/exceptions.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/file_perm.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/file_perm.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/global_config.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/global_config.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/ha.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/ha.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/log.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/log.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/psycopg.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/psycopg.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/quorum.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/quorum.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/raft_controller.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/raft_controller.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/request.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/request.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/tags.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/tags.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/utils.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/utils.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/validator.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/validator.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/version.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/__pycache__/version.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/api.py
- /usr/local/lib/python3.12/site-packages/patroni/async_executor.py
- /usr/local/lib/python3.12/site-packages/patroni/collections.py
- /usr/local/lib/python3.12/site-packages/patroni/config.py
- /usr/local/lib/python3.12/site-packages/patroni/config_generator.py
- /usr/local/lib/python3.12/site-packages/patroni/ctl.py
- /usr/local/lib/python3.12/site-packages/patroni/daemon.py
- /usr/local/lib/python3.12/site-packages/patroni/dcs/
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__init__.py
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/__init__.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/__init__.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/consul.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/consul.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/etcd.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/etcd.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/etcd3.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/etcd3.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/exhibitor.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/exhibitor.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/kubernetes.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/kubernetes.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/raft.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/raft.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/zookeeper.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/__pycache__/zookeeper.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/dcs/consul.py
- /usr/local/lib/python3.12/site-packages/patroni/dcs/etcd.py
- /usr/local/lib/python3.12/site-packages/patroni/dcs/etcd3.py
- /usr/local/lib/python3.12/site-packages/patroni/dcs/exhibitor.py
- /usr/local/lib/python3.12/site-packages/patroni/dcs/kubernetes.py
- /usr/local/lib/python3.12/site-packages/patroni/dcs/raft.py
- /usr/local/lib/python3.12/site-packages/patroni/dcs/zookeeper.py
- /usr/local/lib/python3.12/site-packages/patroni/dynamic_loader.py
- /usr/local/lib/python3.12/site-packages/patroni/exceptions.py
- /usr/local/lib/python3.12/site-packages/patroni/file_perm.py
- /usr/local/lib/python3.12/site-packages/patroni/global_config.py
- /usr/local/lib/python3.12/site-packages/patroni/ha.py
- /usr/local/lib/python3.12/site-packages/patroni/log.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__init__.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/__init__.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/__init__.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/bootstrap.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/bootstrap.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/callback_executor.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/callback_executor.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/cancellable.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/cancellable.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/config.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/config.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/connection.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/connection.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/misc.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/misc.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/postmaster.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/postmaster.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/rewind.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/rewind.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/slots.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/slots.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/sync.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/sync.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/validator.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/__pycache__/validator.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/available_parameters/
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/available_parameters/0_postgres.yml
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/available_parameters/__init__.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/available_parameters/__pycache__/
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/available_parameters/__pycache__/__init__.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/available_parameters/__pycache__/__init__.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/bootstrap.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/callback_executor.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/cancellable.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/config.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/connection.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/misc.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/mpp/
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/mpp/__init__.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/mpp/__pycache__/
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/mpp/__pycache__/__init__.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/mpp/__pycache__/__init__.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/mpp/__pycache__/citus.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/mpp/__pycache__/citus.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/mpp/citus.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/postmaster.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/rewind.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/slots.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/sync.py
- /usr/local/lib/python3.12/site-packages/patroni/postgresql/validator.py
- /usr/local/lib/python3.12/site-packages/patroni/psycopg.py
- /usr/local/lib/python3.12/site-packages/patroni/quorum.py
- /usr/local/lib/python3.12/site-packages/patroni/raft_controller.py
- /usr/local/lib/python3.12/site-packages/patroni/request.py
- /usr/local/lib/python3.12/site-packages/patroni/scripts/
- /usr/local/lib/python3.12/site-packages/patroni/scripts/__init__.py
- /usr/local/lib/python3.12/site-packages/patroni/scripts/__pycache__/
- /usr/local/lib/python3.12/site-packages/patroni/scripts/__pycache__/__init__.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/__pycache__/__init__.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/__pycache__/aws.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/__pycache__/aws.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/__pycache__/wale_restore.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/__pycache__/wale_restore.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/aws.py
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__init__.py
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__pycache__/
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__pycache__/__init__.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__pycache__/__init__.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__pycache__/cli.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__pycache__/cli.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__pycache__/config_switch.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__pycache__/config_switch.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__pycache__/recover.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__pycache__/recover.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__pycache__/utils.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/__pycache__/utils.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/cli.py
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/config_switch.py
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/recover.py
- /usr/local/lib/python3.12/site-packages/patroni/scripts/barman/utils.py
- /usr/local/lib/python3.12/site-packages/patroni/scripts/wale_restore.py
- /usr/local/lib/python3.12/site-packages/patroni/tags.py
- /usr/local/lib/python3.12/site-packages/patroni/utils.py
- /usr/local/lib/python3.12/site-packages/patroni/validator.py
- /usr/local/lib/python3.12/site-packages/patroni/version.py
- /usr/local/lib/python3.12/site-packages/patroni/watchdog/
- /usr/local/lib/python3.12/site-packages/patroni/watchdog/__init__.py
- /usr/local/lib/python3.12/site-packages/patroni/watchdog/__pycache__/
- /usr/local/lib/python3.12/site-packages/patroni/watchdog/__pycache__/__init__.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/watchdog/__pycache__/__init__.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/watchdog/__pycache__/base.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/watchdog/__pycache__/base.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/watchdog/__pycache__/linux.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/patroni/watchdog/__pycache__/linux.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/patroni/watchdog/base.py
- /usr/local/lib/python3.12/site-packages/patroni/watchdog/linux.py
- /usr/local/share/doc/pkg-readmes/patroni
- /usr/local/share/examples/patroni/
- /usr/local/share/examples/patroni/patroni.yml
- /var/log/patroni/