Solved

Load Balanced - High Availability Solution.

Posted on 2004-10-04
4
171 Views
Last Modified: 2010-08-05
I didn't really know where to post this question, but to the best of my knowledge, I believe this is the right place.

I've been a webserver administrator for 5 years, I've always had two servers, one for production and a replica for backup. I've rarely needed the backup server but I have used it for my production server upgrades and system maintenance.

Now, I've been thinking for a while of the best way to setup an environment where both servers are working, they share one database, one source of files, and a shared log file.

We have another system that is basically a content management switch that has three servers attached to it, but the database is oracle and it is on a different server. The content is replicated manually, and most content is on the database.

In my case, my static content is always changing, and my dynamic content is too. Has anyone done a fault tolerent (software based) solution? Or some sort of fail-safe implementation with open source software?

My dreams had awakened when MySQL release a cluster in 4.1, but its still in Aplha, when this becomes stable, I could install the cluster on the two servers, setup a proxy on both that redirect to both servers. So when my main server is up, its the proxy that is serving the pages, but getting requests from both servers, and vice versa.

I also thought of sharing the static content by running rsync to update any change....

But I'd love to know if someone has done something that works... even ideas would do...

Sorry for the long question... But its one of those things that you'll never rest until you know :)
0
Comment
Question by:kalmen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
rhandels earned 500 total points
ID: 12221460
Hi,

I only know these things from the Microsoft product (not quite sure if this is what you want), but if your data is static, there is one hell of a nice feature on the 2003 platform, it's called NLB (Network Load Balancing). You can add up to 64 nodes to the static cluster and it works using round robin:

Let's say, you would have 4 nodes using the .2 .3 .4 and .5 address and the cluster is .1. Then all request would go to .1. Then the first request would be proceced using .2, the second using .3 the third using .4 and so on. So all info on the servers need to be the same, else the data on the website wouldn't be correct.

The other option is a Server Cluster (which you would need a SAN for) and isn't a real option...
0
 
LVL 1

Author Comment

by:kalmen
ID: 12223833
I acutally read about that and we thought of implementing it with one of our setups. We decided not to take it, and we used a cisco content managed switch (basically a proxy - but hardward) and its going quite well, only that its configuration needs an expert and sometimes hard to get figured out.
Have you used it? I want to find something for linux, but I want it to be a software solution, not OS.
0
 
LVL 23

Expert Comment

by:rhandels
ID: 12224110
Unfortenately, i don't have the linux knowledge to say there is some sort of cluster on it. I know openBSD can pull thisone off, but it's seems to be quite hard to do. Building an NLB cluster is done within 5 to 10 minutes... And it's very easy to set up.

Oh, yes, i used NLB clustering and Server clustering... NLB works pretty need. Second thing to take into consideration (for money's sake), you can buy 2003 Web Edition, it is a lot cheaper, but can only have 2 GB max internal memory and cannot be a DC (but it saves ya money)..
0
 
LVL 1

Author Comment

by:kalmen
ID: 12274452
I was looking for a solution in linux/unix mainly, but your answer is perfectly okay for windows.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question