added basic failover configuration for haproxy