1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:42:07 +02:00
tldr/pages/common/stolonctl.md
Matthew Peveler f44e989c65
stolonctl: change page title to filename (#5089)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
2021-01-04 15:24:59 -05:00

819 B

stolonctl

CLI for 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}}'