Slides of my talk at #PGConfUS 2017 in Jersey
City are available: Patroni - HA PostgreSQL made easy
If somebody is wondering how I did a Live-Demo, here is the script for that: demo.sh. Just save it into directory with Patroni source code and make it executable:
You have to install: docker, docker-compose and tmux to run it. Off-course psql client also must be available on the host system.
Don't forget to build a patroni docker image before running a demo.sh:
After that you just need to open two terminal screens. In the first terminal you have to run a "tmux".
And in the second terminal:
From time to time you just need to press Enter button to continue and watch what is happening on the first screen (where tmux is running).
If somebody is wondering how I did a Live-Demo, here is the script for that: demo.sh. Just save it into directory with Patroni source code and make it executable:
~/patroni$ chmod +x demo.sh
You have to install: docker, docker-compose and tmux to run it. Off-course psql client also must be available on the host system.
Don't forget to build a patroni docker image before running a demo.sh:
~/patroni$ docker build -t patroni .
After that you just need to open two terminal screens. In the first terminal you have to run a "tmux".
And in the second terminal:
~/patroni$ ./demo.sh
From time to time you just need to press Enter button to continue and watch what is happening on the first screen (where tmux is running).