Load Balancing with Floated IP
Most of the tutorials require the use of two loadbalancers (HAProxy or Nginx) at the frontend with an IP floating between them and multiple backends.
Is it possible to eliminate these "dedicated" loadbalancers and use heartbeat/keepalived/pacemaker or any other software to perform IP failover as well as load balancing?
1 Reply
For load balancing, not so much. Unless you're doing extremely crude DNS-based load balancing, you're going to need some way to get traffic arriving at one IP address distributed to more than one server. The way to do that is with… a load balancer.
But if you just have two servers and want them in an active-standby configuration (e.g. only one handling traffic at a time), you don't need a separate load balancing layer.