snippetbashTip
stolonctl — CLI for Stolon, a cloud native PostgreSQL manager for PostgreSQL high availability. More information
Viewed 0 times
commandstolonctlcloudnativeclistolonfor
Problem
How to use the
stolonctl command: CLI for Stolon, a cloud native PostgreSQL manager for PostgreSQL high availability. More information: <https://github.com/sorintlab/stolon/blob/master/doc/commands/stolonctl.md>.Solution
stolonctl — CLI for Stolon, a cloud native PostgreSQL manager for PostgreSQL high availability. More information: <https://github.com/sorintlab/stolon/blob/master/doc/commands/stolonctl.md>.Get cluster status:
stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} statusGet cluster data:
stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} clusterdataGet cluster specification:
stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} specUpdate 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}}'Code Snippets
Get cluster status
stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} statusGet cluster data
stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} clusterdataGet cluster specification
stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} specUpdate 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}}'Context
tldr-pages: common/stolonctl
Revisions (0)
No revisions yet.