Getting ready

This recipe depends on multiple libraries and services. Please follow the Preparing systems for the stack and Installing and configuring etcd recipes before continuing.

Because of its relatively recent release and niche role, Patroni hasn't made its way into standard Linux distribution repositories. Due to this, begin by obtaining the latest source distribution of Patroni from this URL:

https://github.com/zalando/patroni/releases

 

Get PostgreSQL High Availability Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.