Solved

Load Balanced - High Availability Solution.

Posted on 2004-10-04
4
172 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

688 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