Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4733

Loadbalancing and failover - is HAproxy suit?

$
0
0

@driftux wrote:

Hi good people, could someone answer me the question. I plan the infrastructure and I need advice.

I have two internet providers. One internet goes throught router A with static WAN IP, and other internet goes to the secont internet provider router B with also static WAN IP.
Both routers will be connected to the single WEB server (ports 80, 433). Domain lets say domain.com will be setup on that server.

  1. What I need to achieve is loadbalancing and failover of domain.com on the WEB server on ports 80, 443 using both internets. So I think to setup HAproxy on highly available server which will point to these to routers. Both internet connections will be used at the same time and if one connection goes down, HAproxy will leave only one stable connection. HAproxy will do checks every single second and if both connections are good and in case of error leave only one.

  2. Other solution I think is to have only one primary internet on router A, and if it fails then HAproxy switch suddenly to the other internet on router B. It this case internet on router B will be like in stand by mode all the time exept the error of primary internet. The problem in this solution, that I can’t use the power of both internets all the time as it was written in solution 1. above.

Is this possible to achieve and run both solutions 1 and 2 very stable? Does somenone have practice of such kind of setups and run it smoothly for years? Is realy HAproxy is suit my needs or should I look for the alternative software?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4733

Trending Articles