Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jun 19, 2014 9:24 am 
Offline
Senior Newbie

Joined: Sun Apr 20, 2014 7:20 am
Posts: 6
Website: http://jesin.tk
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?


Top
   
PostPosted: Thu Jun 19, 2014 8:54 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
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.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group