Share via


Setting up load balancing on a SharePoint farm running on Windows Server 2008

 

  

  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_image001

 

  • Click Install and wait a bit

 

   clip_image002

 

  1. Add a New Cluster

 

  • Through the start menu, Administrator Tools, click Network Load Balancing Manager:

 

  clip_image003

 

  • Right click Network Load Balancing Clusters, and choose New Cluster:

 

 clip_image004

 

  • Type the IP address of one of the web fronts in the farm to serve as the first host in the cluster

 

 clip_image005

 

  • Click Connect.
  • Click next.
  • Leave the defaults and click next again:

 

 clip_image006

 

  1. 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_image007

 

  • Optionally, you can setup many clusters IPs for fault tolerance purposes, but for most cases you'll just have one:

 

           clip_image008

 

  • Click next.

 

  1. Specify Cluster Parameters

 

  • Select the Multicast operation mode, and click next:

 

           clip_image009

 

  1. Specify Port Rules

 

  • Click edit on the default port rule:

 

           clip_image010

 

  • Deselect the "All" checkbox, and choose the Network filtering mode:

          

           clip_image011

 

  • 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_image012

 

 

  1. 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_image013

 

 

Interesting read

 

Comments

  • Anonymous
    April 16, 2014
    Is the Netwrok LB recommended for the production Sharepoint farms?

    Thanks for sharing.

    Faisal Masood - PMP
    http://www.FaisalMasood.com
  • Anonymous
    June 04, 2014
    Hi,
    I have 2 VMs inside VMware

    1st machine

    IP Address : 192.168.2.20
    It has SQL,IIS and sharepoint installed and configured

    2nd machine

    IP Address : 192.168.2.21
    It has Sharepoint installed and configured such that it is connected to 1st machine shareppoint farm

    Now I want to implement load balancing I would like to know what IP should I enter as Cluster IP Address

    Kindly reply

    Thanks