Load balanceing WFE servers sharepoint


Windows 2008 includes a Network Load Balancing feature and I’ll be utilizing this in my SharePoint environment.  I currently have two web front end servers but there is no reason why I can’t add more, and include them in the NLB cluster, at a later date.

Unfortunately, NLB isn’t application aware so it won’t know if SharePoint fails.  As long as the server is up NLB will continue to forward requests to the failed server and any users hitting that server will just get an error of some kind if SharePoint is not running.

So, the first thing to do is install the NLB feature in Windows.  This can be done using the Server Manager.  See the screenshot below:

Load balanceing WFE servers sharepoint

Load balanceing WFE servers sharepoint

Once installed I need to create an NLB cluster on the first server.  This is quite easy to do – just follow these steps:

  1. Start the Network Load Balancing Manager
  2. From the Cluster menu choose New
  3. Enter the server name or IP address and select the desired interface from the list.  Click Next
  4. Select the dedicated IP address and click Next
  5. Add a cluster IP address, choose Multicast and click Next
  6. If required, narrow down the ports required for the cluster (for example just port 80 and 443).  Click Finish.  The cluster is now in place with just the one host, as you can see below:
load balance manager create cluster

create cluster load balance manager

To add the second host just right-click the cluster and choose Add host to cluster.  Follow the wizard to add the second server to the cluster.

Note: when clustering 3 or more web front end servers it is a good idea to use a separate network for server to server communication.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s