LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 01-16-2004, 11:23 AM   #1
6tr6tr
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
Router/Cluster with Two Servers Question


I have been unable to find an answer to this question was hoping someone here would be able to help me.

I am currently wokring on an application and setup for a small business and I have a question about using a router for clustering.

I know that in a usual cluster setup, you have a router that goes to a load-balancer/dispatcher which then dispatches requests to the clustered servers. The problem is that this is a small business - they can't afford three servers (nor two and a load-balancer). However, the business needs fail-over as they rely on this application being up all-day long. I am wondering if the capabilities of commonly used routers today allow me to do one of the following:

(In this scenario, the router is connected to two servers)

1. Send requests to one server unless that one doesn't respond, and then automatically switch to sending requests to the other?

2. Send requests to both servers at once? i.e. duplicate the requests and send to all connected servers?

In #1, my software would handle replication/clustering of the two server's data/sessions.

Any help someone can give in this area would be greatly appreciated.

Thank you,

Robert Paris
 
Old 01-16-2004, 05:53 PM   #2
williamwbishop
Member
 
Registered: Feb 2003
Location: god's judge
Posts: 376

Rep: Reputation: 30
You didnt' specify an underlying OS, hardware model, etc...but let me take astab at it.

The way clustering works is that each machine has 2 interfaces. One interface for each box is reserved for it's heartbeat, and is on a private subnet. when a cluster is created, both boxes are given a combined IP address that points to the cluster. When the heartbeat fails on one of these machines, after a certain amount of time, the other box goes active and answers the IP address requests.

You don't need load balancing.
The only thing the router is there for is to send along the IP requests to the cluster itself, and if you're not using a private switch for the heartbeat, to route that betwen the two(there are several other methods of doing this as well). All you need are two servers with 2 interfaces each(minimum) to do clustering. There are of course even ways to get around this.
 
  


Reply



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
cluster suite, I can visualize the two servers, quorum problem STIBAL Linux - Enterprise 2 12-09-2005 07:06 AM
Cluster question: Is it possible to make a bulletproof cluster? ValidiusMaximus Linux - Software 1 09-06-2005 02:07 PM
Linux cluster question maenho Linux - Software 5 06-15-2005 08:51 PM
RedHat cluster question trigger638 Linux - Enterprise 0 06-01-2005 06:29 PM
Multiple Servers behind NAT router pnh73 Linux - Networking 6 10-08-2003 01:18 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration