Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Load Balanced - High Availability Solution.

Posted on 2004-10-04
4
Medium Priority
?
174 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 2000 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

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

618 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