LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-24-2007, 01:43 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Rep: Reputation: 30
clustering solution


I want to setup a clustering solution for a unix system , the hardware we have are two unix servers ( eg. server A and server B ) and one SAN storage server , they are physically connected properly now , but I am wonder how to setup the IP address -- > if server A is down , how user can connect server B , how the DNS server know when server A is down then forward user to connect server B ? I know something called "round robin" but I am too understand is it related to our situation , can advise what can I do ? thx in advance
 
Old 10-24-2007, 02:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well that area is huge, and could go in a myriad of directions. assuming you are talking about linux, check the LVS project out, may well be all you need. http://www.linuxvirtualserver.org/
 
Old 10-24-2007, 03:20 AM   #3
jlvoo
LQ Newbie
 
Registered: Mar 2007
Posts: 9

Rep: Reputation: 0
Wink

You can also try DRBD & Heartbeat
http://www.drbd.org/
http://www.linux-ha.org/Heartbeat

http://www.howtoforge.com/high_avail...drbd_heartbeat
 
Old 10-24-2007, 03:33 AM   #4
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jlvoo View Post
thx replies,

For simplply , we use windows DNS server , can I do something in DNS server instead of use other third parties program like headbeat ? thx
 
Old 10-24-2007, 03:35 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
DNS can do a round robin by specifying two A records for one FQDN, but that's an extremely crude way to do load balancing. if one of two machines goes down, then half the users will fail to function. pretty useless in my opinion. obviously the right solution depends on your circumstances, but you've decided no to tell us anything at all about the architecture you're working with and how you need things to function
 
Old 10-24-2007, 04:07 AM   #6
kinetic
Member
 
Registered: Aug 2007
Location: Fort Collins, Colorado
Distribution: Gentoo
Posts: 64

Rep: Reputation: 17
don't the routers that supply the backbone of the internet do this?
 
Old 10-24-2007, 04:12 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
do dns based round robin? hell no. why would a backbone router have anything to do with DNS at all?
 
Old 10-24-2007, 05:21 AM   #8
kinetic
Member
 
Registered: Aug 2007
Location: Fort Collins, Colorado
Distribution: Gentoo
Posts: 64

Rep: Reputation: 17
Quote:
Originally Posted by acid_kewpie View Post
do dns based round robin? hell no. why would a backbone router have anything to do with DNS at all?
By "this" I meant automatically detect when a server is down and find an alternative route. fatty.
 
Old 10-24-2007, 06:47 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
not like that no. they run routing protcols, mainly BGP in the net which sort this out.
 
Old 10-24-2007, 12:28 PM   #10
kinetic
Member
 
Registered: Aug 2007
Location: Fort Collins, Colorado
Distribution: Gentoo
Posts: 64

Rep: Reputation: 17
Ok. My mistake.
 
Old 10-24-2007, 09:33 PM   #11
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by acid_kewpie View Post
DNS can do a round robin by specifying two A records for one FQDN, but that's an extremely crude way to do load balancing. if one of two machines goes down, then half the users will fail to function. pretty useless in my opinion. obviously the right solution depends on your circumstances, but you've decided no to tell us anything at all about the architecture you're working with and how you need things to function


do you mean the round robin is not a good solution ?

my architecture is typical , the user connect the linux server by hostname ( we have windows DNS server ) , what I want is when server A is down , then it will redirect the user to server B , can advise what can I do ? thx
 
Old 10-25-2007, 01:53 AM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
round robin is effectively "dumb", 1, 2, 1, 2, 1, 2, 1, 2, 1, 2... no intelligence there at all.

as above, lvs.
 
  


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
Looking for opinions on HA clustering solution xavpaice Linux - Enterprise 3 06-12-2007 03:59 AM
Clustering Atwin Fedora 1 04-04-2007 10:57 PM
Clustering Solution kaplan71 Fedora 1 01-31-2007 04:08 PM
LXer: Greenplum Wins Award for Best Clustering Solution at LinuxWorld LXer Syndicated Linux News 0 08-20-2006 09:21 PM
clustering mimithebrain Linux - General 2 06-13-2005 09:02 AM


All times are GMT -5. The time now is 04:24 AM.

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