LinuxCommandLibrary

stolonctl

TLDR

Get cluster status

$ stolonctl --cluster-name [cluster] status
copy
Initialize cluster
$ stolonctl --cluster-name [cluster] init
copy
Get cluster spec
$ stolonctl --cluster-name [cluster] spec
copy
Update spec
$ stolonctl --cluster-name [cluster] update --patch '[{"key":"value"}]'
copy
Failkeeper
$ stolonctl --cluster-name [cluster] failkeeper [keeper-id]
copy

SYNOPSIS

stolonctl [--cluster-name name] command [options]

DESCRIPTION

stolonctl manages Stolon clusters. It controls PostgreSQL HA.
Cluster administration. Status and config.
Initialization support. Bootstrap clusters.
Specification management. Update settings.
Failover control. Manual failover.

PARAMETERS

--cluster-name NAME

Cluster name.
status
Show status.
init
Initialize cluster.
spec
Show specification.
update
Update configuration.
--store-backend TYPE
Backend type.

CAVEATS

Stolon deployment required. Kubernetes or etcd. PostgreSQL specific.

HISTORY

stolonctl is the CLI for Stolon, a cloud-native PostgreSQL high-availability manager.

SEE ALSO

psql(1), pg_ctl(1), kubectl(1)

Copied to clipboard