LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   clustering solution (https://www.linuxquestions.org/questions/linux-software-2/clustering-solution-594123/)

ust 10-24-2007 01:43 AM

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

acid_kewpie 10-24-2007 02:23 AM

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/

jlvoo 10-24-2007 03:20 AM

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

http://www.howtoforge.com/high_avail...drbd_heartbeat

ust 10-24-2007 03:33 AM

Quote:

Originally Posted by jlvoo (Post 2934661)

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

acid_kewpie 10-24-2007 03:35 AM

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

kinetic 10-24-2007 04:07 AM

don't the routers that supply the backbone of the internet do this?

acid_kewpie 10-24-2007 04:12 AM

do dns based round robin? hell no. why would a backbone router have anything to do with DNS at all?

kinetic 10-24-2007 05:21 AM

Quote:

Originally Posted by acid_kewpie (Post 2934703)
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.

acid_kewpie 10-24-2007 06:47 AM

not like that no. they run routing protcols, mainly BGP in the net which sort this out.

kinetic 10-24-2007 12:28 PM

Ok. My mistake.

ust 10-24-2007 09:33 PM

Quote:

Originally Posted by acid_kewpie (Post 2934675)
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

acid_kewpie 10-25-2007 01:53 AM

round robin is effectively "dumb", 1, 2, 1, 2, 1, 2, 1, 2, 1, 2... no intelligence there at all.

as above, lvs.


All times are GMT -5. The time now is 02:32 PM.