2017-04-01

Patroni - HA PostgreSQL made easy

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:

  ~/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).

3 comments:

  1. Hey, do you mind if I link to the slides from https://wiki.postgresql.org/wiki/PgConfUS_Talks_2017 ?

    ReplyDelete
    Replies
    1. Hi Michael.
      Yeah, please add it to the wiki.
      Somehow I totally forgot to do it, probably because I still don't have an account there.

      Delete
    2. Thanks, done so now.

      The wiki account is the same as your postgresql community account, but I think you need to ask for write access in order to actually be able to edit something.


      Michael

      Delete

Patroni - HA PostgreSQL made easy

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...