Solved

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

Posted on 2014-03-21
7
514 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 35

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 35

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 35

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now