mirror of https://github.com/CrimsonTome/tldr.git
21 lines
800 B
Markdown
21 lines
800 B
Markdown
# Stolon
|
|
|
|
> A cloud native PostgreSQL manager for PostgreSQL high availability.
|
|
> More information: <https://github.com/sorintlab/stolon>.
|
|
|
|
- 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}}'`
|