Solved

Need design a web farm loadbalance www1, www2, www3 etc.

Posted on 2014-03-21
7
540 Views
Last Modified: 2014-04-08
Hello I wish to design a web farm that

1) i can directly type in on url
e.g. www1, www2, www3 and it goes to different server - but same duplicated content.
2) Using php, IIS, MySQL on each webserver (all duplicated contents e.g. files, img, db)
3) Using MySQL and shared directory for files that shared between all web (on a separate server)
4) I wan to loadbalance so that if www1 server down -> when user type url www1 it goes to another available server
5) If user type ulr www then it forward to available server (preferably do not change to url to www1 etc.)
6) If www1 is okay, I want user to stay on www1 until user closed or www1 is not available
7) I do not wish to add a dedicated loadbalance box. and do not want single point of failure.

My design problem involve the webserver loadbalance for failure and how it forward to the right server

Thx,
0
Comment
Question by:JSW21
[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
  • 3
7 Comments
 
LVL 37

Expert Comment

by:Mahesh
ID: 39944866
Windows NLB do not understand service level failure where as Hardware load balancer can

Users can connect to direct url such as www1, www2 based on their Host(A) records in DNS but this will not forward request if server is down

You can use IIS shared configuration feature (available with 2008 \ iis 7.0) on each web server so that every server can share common configuration

You need to keep one common url such as www \ www.mysite.com on HLB and add all of your web servers in to HLB, so any request coming to above url will be redirected to available server based on configuration you set
If any server \ web service gone down, it will be dropped automatically

The above thing is possible with Windows NLB as well but if web service is down and web server is online, windows NLB will not be able to identify service level failure and send request to that server

Mahesh
0
 

Author Comment

by:JSW21
ID: 39945718
We have only Windows 2003 will you still suggest the same solution?

HLB is stand for Hareware LoadBalance? then we dont have such option, as well.
0
 
LVL 37

Accepted Solution

by:
Mahesh earned 500 total points
ID: 39945940
If you are running your iis on windows 2003 then shared configuration cannot be used, that's true

But apart from that according to me hardware load balancer (HLB) is the ideal option

If you don't like \ plan for HLB, then windows NLB is another option

But as far as I know not all your expectations will be fulfilled by this way
Just trying to answer your questions one by one
1 You can type urls as long as web sites has DNS Host(A) records \ CName exists
In order to connect to same content you have to have some kind of database (SQL for Ex) at backend so that all web servers will get connected to that and remains synced

2 According to me using multiple databases will not help (Common database required)
Application owner can define this better than me

3 Shared configuration is not possible as this is 2003 server with IIS 6.0 according to my knowledge

4 Load balancing is achievable as long as you are using NLB \ HLB and all of your web servers are member of that
Again you need to provide common url for web application so that any request came to VIP of load balancer will directed to available web server

5 The answer is same as no. 4

6 This is also achievable by setting up weight and priority and affinity in HLB \ NLB

7 You can add HLB array if wanted to which in turn provide you redundancy for hardware as well.
I don't think these day load balancers are very costly. You will get good deal for array (KEMP \ barracuda)
Other wise Windows NLB is also good option except that it cannot identify service level failure

Hope that helps

Mahesh
0
 
LVL 37

Expert Comment

by:Mahesh
ID: 39985786
Hi eenookami

Thanks for your attention and suggestion

According to me, my last comment is more positive and acceptable.

Since I am the only one who have responded to question, if author do not think that answer is appropriate he may ask more questions or if he simply don't want to discuss further or already got another better solution, Then my request is to simply delete the question instead of providing Average grade.

When there is average grade for appropriate answers without any feed back, response, reason, this is disappointing.

Mahesh.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

728 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