[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2014-03-21
7
Medium Priority
?
569 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
4 Comments
 
LVL 38

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 38

Accepted Solution

by:
Mahesh earned 2000 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 38

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

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Question has a verified solution.

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

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Resolve DNS query failed errors for Exchange
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…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

873 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