PostgreSQL-automatic-failover Keepalived and postgreSQL configuration for automatic database failover.