1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/stolonctl.md

21 lines
792 B
Markdown
Raw Normal View History

2018-11-01 18:05:04 +05:30
# Stolon
> A cloud native PostgreSQL manager for PostgreSQL high availability.
2019-05-15 08:59:41 +01:00
> Homepage: <https://github.com/sorintlab/stolon>.
2018-11-01 18:05:04 +05:30
- Get cluster status:
`stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} status`
- Get cluster data:
`stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} clusterdata`
- Get cluster specification:
`stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} spec`
- Update cluster specification with a patch in json format:
`stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} update --patch '{{cluster_spec}}'`