LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-22-2011, 05:27 AM   #1
nickjamesd
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
load balanced routing in beowulf cluster


Hi all
I have a Beowulf cluster , running suse 11 , the worker nodes are in a private network and route to the wider network via head nodes with 2 interfaces . I would ideally like to set up load balanced routing using several head nodes , but failing that non load balanced with quick fail over , what do you suggest on how this could be done .

thanks.
 
Old 09-24-2011, 09:28 AM   #2
ccolumbu
Member
 
Registered: Oct 2009
Posts: 37

Rep: Reputation: 4
One way would be with 2 virtual IPs, round robin DNS, and heartbeat.
You configure heartbeat with 1 virtual ip with the 1st head node as primary and then the 2nd virtual IP on the 2nd head node as primary.
If one of the head nodes goes down then the other head node will take over the virtual IP and answer for both addresses until the down server is restored. Then simply add both virtual IPs to the DNS record so that each time a request for the domain is answered the IPs will be rotated in the answer and about 1/2 the traffic will go to each head node.

If you don't have 2 available IPs you can use heartbeat to set-up an active/backup solution using 1 IP and 1 active head node, with a live backup monitoring the primary/active head node.

Note, you will also have to deal with the private IP your nodes use as the gateway as part of the set-up.

This thread has a little more detail on this set-up:
http://www.linuxquestions.org/questi...8/#post4473241

^C
http://www.peacelovejellybeans.com/

Last edited by ccolumbu; 09-24-2011 at 09:29 AM.
 
1 members found this post helpful.
Old 10-02-2011, 02:29 PM   #3
nickjamesd
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi Thanks for the response ! , I wasn't aware of round robin DNS so I will have a look into it , I have also found VRRP virtual routing redundancy protocol which I'll also investigate .
cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Load-Balanced High-Availability Web Cluster With 2 Xen Servers On Ubuntu 8.04 LXer Syndicated Linux News 0 10-12-2008 12:30 PM
LXer: How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1 LXer Syndicated Linux News 0 06-17-2008 02:20 PM
highly available and load balanced apache cluster uttam_h Linux - Software 1 08-30-2007 09:28 AM
cluster beowulf grened23 Linux - Networking 0 09-11-2006 08:13 AM
LXer: How To Set Up A Load-Balanced MySQL Cluster LXer Syndicated Linux News 0 04-23-2006 11:03 AM


All times are GMT -5. The time now is 04:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration