2018-11-01 12:35:04 +00:00
|
|
|
# Stolon
|
|
|
|
|
|
|
|
> A cloud native PostgreSQL manager for PostgreSQL high availability.
|
2019-05-23 11:56:50 +01:00
|
|
|
> More information: <https://github.com/sorintlab/stolon>.
|
2018-11-01 12:35:04 +00:00
|
|
|
|
|
|
|
- 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}}'`
|