Implement a pgpool-II/keepalived pair to sit in front of the PostgreSQL cluster.