Home Page Link
  Skip Navigation Links
January 26
Setting up Load Balancing on a Server 2008 SharePoint Farm

 

Here are some steps  put together for setting up load balancing on a SharePoint farm with Windows Server 2008.

Let the steps to configure load balancing commence…

1. Install Network Load Balancing Feature on each Web Front End

On each front end in the farm, within Server Manager, add the NLB feature:
clip_image002
Click Install.
Wait a bit:
clip_image004
clip_image006

2. Add a New Cluster

Through the start menu, Administrator Tools, click Network Load Balancing Manager:
clip_image008
Right click Network Load Balancing Clusters, and choose New Cluster:
clip_image010
Type the IP address of one of the web fronts in the farm to serve as the first host in the cluster:
clip_image012
Click Connect.
Click next.
Leave the defaults and click next again:
clip_image014

3. Set Cluster IP Address

This IP Address is the dedicated IP address for the cluster and is what DNS will point to, to get load balanced between the front ends. On the Cluster IP Addresses box, click Add and type an available dedicated IP address and subnet mask:
clip_image016
Optionally, you can setup many clusters IPs for fault tolerance purposes, but for most cases you'll just have one:
clip_image018
Click next.

4. Specify Cluster Parameters

Select the Multicast operation mode, and click next:
clip_image020

5. Specify Port Rules

Click edit on the default port rule:
clip_image021
Deselect the "All" checkbox, and choose the Network filtering mode:
clip_image022
Click Ok.
Click Finish.
After finish, the NLB manager will show it has begun the configurations changes. If you're in a remote desktop to the server, you'll lose your connection temporarily while it re-configures:
clip_image024

6. Add Any Additional Hosts to the Cluster

Now that the cluster is ready to go, you can add additional hosts/web front ends. Right click on the cluster IP address and click Add Host To Cluster and type the IP of another web front end in the farm. Repeat until they're all added.
clip_image026

 

Some SIde Notes:

if you get "Could not locate NLB on the specified computer" you must first install the load balancing manager feature. See step 1.

Also:

Here is a good resource that shows how to implement Network Load Balancing (NLB) and Round Robin. 
http://www.messagingtalk.org/how-to-load-balance-exchange-front-end-servers
The article says its for Exchange...but it definitely applies to SP as well.
Personally, if I had to choose between the two...it would be NLB.  However, the DNS solution is a breeze to setup. 
As for the SharePoint side of things, there isn't any further configuration required.  Just simply configure load balancing from one of those methods and then start building more than one SharePoint server that holds the Web role.

Also, as an FYI Joel has a good post for troubleshooting NLB as well as some "tips" that are worth perusing through. It's an older post, but I don't think NLB has changed much with Windows Server 2008 from 2003.

Thanks to Joel and Phil for the above info

Digg This

Comments

There are no comments for this post.

Feedback