• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

2 Web Server Farm w/ Network Load Balancing; Need Opinions

I have two servers that will host a web application. The web application is accessible through an internet browser on port 80. Its a simple app but will have many users at any given time. The only thing I need to accomplish is network load balancing and failover.

The servers are identical and will access their data from a common source. So far I configured Window's "Network Load Balancing" with a common IP and DNS name for the two servers. From a remote browser I can access the web app using the NLB IP address. If I shut one of the servers off I can still hit the one that's up with the NLB address. My questions are: Do I need to do anything else or is Window's "Network Load Balancing" enough? How can I check how many and which users are connected to each server?
0
t3ngu
Asked:
t3ngu
  • 2
1 Solution
 
TheCapedPlodderCommented:
For basic web load balancing, NLB is fine and dandy.  There are many hardware load balancing options available but you need to balance their cost and complexity against your requirments.

The only potential gotcha with NLB is locking of shared data.  Have you confirmed that two connections to seperate servers will not conflict when reading/writing the same file data.  In some circumstances, you many need to maintain two copies of the data with a replication script to prevent locking issues.

The log files in c$\WINDOWS\system32\LogFiles\W3SVC1 on each server will show you which clients are connecting.

Cheers,

TCP

0
 
t3nguAuthor Commented:
TheCapedPlodder,
Thanks for the info. If I decide to use two copies of the data; what's the most efficient way to replicate the data?
Thanks Again..
0
 
TheCapedPlodderCommented:
When it comes to replicating data there are a number of options but I am a big advocate of robocopy.

If you've not used it before it's an excellent free utility and full syntax can be found by typing robocopy.exe /? from a command prompt.

The command you will use will look something like this:

robocopy.exe source target /MIR /COPYALL /ZB /R:0 /W:0

Cheers,

Plod
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now