Use Microsoft Web Farm Framework

Microsoft’s Web Farm Framework is one of the load balancing techniques you can use with Sitefinity CMS. To setup a web farm, you must have a controller server that will host the web farm and servers that will be connected in a web farm.

PREREQUISITES: Every server in the web farm must have one of the following:

Perform the following procedure:

  1. Install Web Farm Framework.
    For more information, see Setting up a Server Farm with the Web Farm Framework 2.0 for IIS 7 on http://learn.iis.net/page.aspx/919/setting-up-a-server-farm-with-the-web-farm-framework-20-for-iis-7/. Perform procedures Installing Web Farm Framework 2.0, Configuring the Primary Server, and Preparing the Secondary Servers.

    IMPORTANT: Only the controller must have Web Farm Framework. All servers that are part of the web farm must have Application Request Routing for IIS 7.0.

  2. To create a web farm, on the controller server, open Internet Information Services (IIS) by clicking Start » Administrative Tools » Internet Information Services.
  3. In the left pane, open the context menu of Server Farm and click Create Server Farm.
    The Create Server Farm wizard appears.
  4. Enter a name for the farm.
  5. If not selected, select Server farm is available for load balancing and Provision server farm checkboxes.
  6. Enter the credentials for the administrator account that is available on all servers and click Next.
  7. On Add Servers screen, click Finish.
  8. In the dialog that appears, click Yes.
    The web farm is created and appears in the tree on the left.
  9. Select the web farm and in the right pane double-click Application.
    Sitefinity CMS does not use Application provisioning. Uncheck all selected checkboxes and in Synchronization Interval enter 00:00:00.
  10. Select the web farm and in the right pane double-click Platform.
    Sitefinity CMS does not use Platform provisioning. Uncheck all selected checkboxes and in Synchronization Interval enter 00:00:00.
  11. Select the web farm and in the right pane double-click Load Balance.
  12. Set Load Balance Algorithm to Weighted total traffic and the Load distribution to Event Distribution.
  13. To add a server to the farm, select Add Servers in the context menu of Servers node in the left pane.
  14. Enter the name of the server, select Server is available for Load Balancing checkbox and click Add.
  15. Perform Step 13 for as many servers as needed.

    NOTE: Because you have disabled Application and Platform provisioning, all of the servers are set to the Secondary role.

  16. When finished adding servers, click OK.

Once you have created and configured your cluster, you must configure Sitefinity CMS for load balancing. For more information, see Administration: Configure Sitefinity CMS for load balancing.

Was this article helpful?