PGCon2013 - Final Release

PGCon 2013
The PostgreSQL Conference

Nikhil Sontakke
Day Talks - Day 2 - 2013-05-24
Room MRT 221
Start time 11:30
Duration 01:00
ID 546
Event type Lecture
Track Advanced Features
Language used for presentation English

PostgreSQL High Availability with Corosync/Pacemaker

The Corosync/Pacemaker framework which is part of the LinuxHA stack can be used to provide monitoring and automatic failover capabilities. Now with streaming replication in place, it makes sense to use this robust infrastructure for PostgreSQL master and its replica handling. The open source pgsql resource agent also does this now. This talk will talk about using Corosync/Pacemaker with Postgres.

The talk will be on the following lines:

  • Introduce the Corosync/Pacemaker LinuxHA stack and talk about its features
  • Talk about PostgreSQL 9 and the high availability requirements
  • Talk about how streaming replication helps meet these requirements
  • Talk about how using Virtual IP and the Corosync/Pacemaker resource agents, a robust high availability solution can be provided by using PostgreSQL streaming replication

I have done work around high availability in Postgres-XC and blogged about it as well at

Corosync/Pacemaker is a great platform to use for HA and talking about it at PGCon will raise awareness about it.