High Availability with PostgreSQL and Pacemaker
summary
Claims a way to lose no committed transactions by moving replication below PostgreSQL using DRBD block-level synchronous writes and keeping Postgres on an LVM/XFS volume, with Pacemaker-managed VIP and service orchestration to detect failure, promote the replica and start services. Examples show a two-node build from scratch, corosync for cluster messaging, Postgres 9.1 and pgbench for workload, automatic resync on rejoin, and observed live failovers around 10–20 second failover under VMs; useful caveats on barriers and stickiness.
AI-written summary · about
chapters (12)
- 0:00Start
- 4:15Log Shipping
- 12:52Build a Cluster
- 30:10Set Up Lvm
- 30:23Linux Volume Manager
- 31:02Create a Volume
- 31:24Create a Volume Group
- 41:15Configure Koro Sync
- 45:53Quorum Policy
- 50:37Configure a Master-Slave Resource
- 52:43Setting Up the Postgres Resource Monitor
- 53:33Failover
related talks
50mEvolution Of PostgreSQL Replication and High Availability (upto ~ 99.999%)
54mBreakout Session
36mDesigning Layered High‑Availability Architectures for PostgreSQL on a Budget
50mMoving from MSSQL to pgSQL – High Availability and Disaster Recovery
41mEnsuring High Availability in Self-Managed PostgreSQL with Patroni
57mReliability features in Postgres Pro
49mPostgreSQL Replication - The Most Exciting Technology on Earth
47mPostgreSQL High Availability: The Considerations and the Candidates
