- Create image as part of the pg-playbook
- Tuning for Pg / OS
- max_connections
- shared_buffer
- checkpoint_timeout
- No pg logs in the directory anymore - is it going to syslog?
- Verify the postgresql.base.conf defaults
- Why are stderr from patroni starting up postgres not visible in the patroni logs
- 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
- patroni.service file
- Dynamically update the IP based on a ExecStartPre ?
- Get ansible to use dynamic inventory
- Get host_key_checking to work
- Group vars names using illegal char '-'
- Further tuning for Pg instnace
- os optimizations
- network optimizations
- pd-ssh / fs optimizations
- Logging
- get patroni, etcd and postgresql logs streaming to cloudlogging
- Using stackdriver logging for logs
-
Monitoring
- 3rd party tool?
- what should be monitored - rep lag, disk, io
-
backups
- wall-g, pg_backrest
- simplify the bootstrap
- connection pooling
- pgbouncer/pg-pool?
- run on dedicated IG
- allow the use of only 1 ILB
- security
- ssl connections
- user lockdown
Steps to handle the following operational tasks:
- Upgrading disk size
- Updating os disk (same major version)
- Updating new major version