To get information about the cluster, use the list
or topology
endpoints:
Patroni logs
Patroni logs are sent to system logs by systemd. Use the journalctl
system utility to fetch it:
Maintenance mode
To pause or resume cluster management, use:
Manual failover or switchover
The failover endpoint allows you to perform a manual failover when there are no healthy nodes. It doesn't allow you to schedule a switchover.
The switchover endpoint works only when the cluster is healthy, that is, there's a leader. It allows you to schedule a switchover.
Example:
Could this page be better? Report a problem or suggest an addition!