haproxy - beginner question

Discussion in 'Server Operation' started by dagaz11, Jan 26, 2011.

  1. dagaz11

    dagaz11 New Member

    New question: after further research, I'm going to go with dedicated servers. The host I found offers automated failover IP, so I'm thinking of installing Haproxy without heartbeat on both load balancers and have haproxy listen on its own server IP. If the LB in use fails, the other should be ready to take over unless I got something wrong.

    Can anyone confirm it, and that it's possible to use public addresses for both load balancers and webservers?
     
    Last edited: Jan 26, 2011
  2. falko

    falko Super Moderator ISPConfig Developer

    If your host takes care of automatically switching the failover IP if one of your web servers fails and you intended to use the load balancers solely for detecting if the backend servers are still up, then you don't need the load balancers in front of the web servers.
     
  3. dagaz11

    dagaz11 New Member

    Thank you for your reply falko.

    No, the IP failover is manual. I'm also very concerned about load balancing as I'd like my app to be able to scale out to an extend.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    In this case you can use HAProxy, but you don't need heartbeat/keepalived.
     
  5. dagaz11

    dagaz11 New Member

    Thank you. One last question. On the main load balancer and the back-up one, should I have HAproxy listen on its server's IP or the public IP?
     

Share This Page