Solved

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

Posted on 2014-03-21
7
529 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
  • 3
7 Comments
 
LVL 36

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 36

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 36

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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…
Resolve DNS query failed errors for Exchange
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 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