Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 1.59 KB

TODO.md

File metadata and controls

65 lines (47 loc) · 1.59 KB

Immediate

pg-playbook

  1. Create image as part of the pg-playbook
  2. Tuning for Pg / OS
    • max_connections
    • shared_buffer
    • checkpoint_timeout
  3. No pg logs in the directory anymore - is it going to syslog?
  4. Verify the postgresql.base.conf defaults

patroni setup

  1. Why are stderr from patroni starting up postgres not visible in the patroni logs
  2. Necessary setup for
  • bootstrapping a brand new cluster
    • tweak the bootstrap config - needs to create relevant users (replicator, postgres user with password?)
  • bootstrapping an existing Pg instance as the master
  1. patroni.service file

ansible setup

  1. Get ansible to use dynamic inventory
  2. Get host_key_checking to work
  3. Group vars names using illegal char '-'

Longer term

  1. Further tuning for Pg instnace
  • os optimizations
  • network optimizations
  • pd-ssh / fs optimizations
  1. Logging
  • get patroni, etcd and postgresql logs streaming to cloudlogging
  • Using stackdriver logging for logs
  1. Monitoring

    • 3rd party tool?
    • what should be monitored - rep lag, disk, io
  2. backups

  • wall-g, pg_backrest
  • simplify the bootstrap
  1. connection pooling
  • pgbouncer/pg-pool?
  • run on dedicated IG
  • allow the use of only 1 ILB
  1. security
  • ssl connections
  • user lockdown

Steps to handle the following operational tasks:

  1. Upgrading disk size
  2. Updating os disk (same major version)
  3. Updating new major version