Linode Forum
https://forum.linode.com/

Load Balancing with Floated IP
https://forum.linode.com/viewtopic.php?f=19&t=11117
Page 1 of 1

Author:  jesin [ Thu Jun 19, 2014 9:24 am ]
Post subject:  Load Balancing with Floated IP

Is it possible to load balance two or more VMs with the "IP Failover" feature?

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?

Author:  hoopycat [ Thu Jun 19, 2014 8:54 pm ]
Post subject:  Re: Load Balancing with Floated IP

For failover, sure. Nginx and HAProxy are not particularly special. They're just lightweight and can be quickly restarted when IPs are swapped over.

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.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/