Fault tolerant PostgreSQL cluster. Part 5. Testing. Ansible. Final thoughts.
Part 1. Introduction.Part 2. Replication. Repmgr.Part 3. Auto-failover. Repmgr daemons.Part 4. HA. Backup. Repmgr daemons. Barman.Part 5. Testing. Ansible. Final thoughts. Manual switchover On backup server run. su – postgres repmgr standby switchover -f /etc/repmgrd_db2.conf –log-to-file Auto-failover db2 is a new master now. Gracefully shutdown db2 server. shutdown -h now Wait for db1 server promotion. …
Fault tolerant PostgreSQL cluster. Part 5. Testing. Ansible. Final thoughts. Read More »