Overview of the Web Farm Framework 2.0 for IIS 7
by Randall DuBois
In the past, setting up web farm servers, deploying content to them, and then managing them has been a tedious and error-prone process. It has required many manual and repetitive steps and ongoing tracking of the platform components, along with writing and using a combination of scripts and code.
The Microsoft Web Farm Framework (WFF) 2.0 for IIS 7 and above simplifies the provisioning, scaling, and management of multiple servers for administrators and hosting providers. Administrators can seamlessly provision multiple servers, deploy content to them, and use them to enable elastic scale. Using WFF, you can also run operations on a server or an entire server farm through a unified interface that provides up-to-date status of server farm provisioning and health. You can also reduce management costs, leverage web infrastructure in an efficient manner, and simplify ongoing server farm management.
The Web Farm Framework 2.0 is designed to enable you to create group of servers and set up provisioning for them with a one-step process that is automated and keeps the server farm up to date. You can customize the components that are provisioned and include additional platform components. You can configure provisioning policy and add additional content to the farm. In addition, you can use WFF to view up-to-date status of provisioning and of the health of the servers in the farm.
The Web Farm Framework 2.0 integrates with Application Request Routing (ARR) for load balancing and elastic scale through the same one-step process. WFF works with third-party load-balancing products and enhances the ability to upgrade, swap, and add servers by simplifying the underlying logistics. It also provides a snapshot of server readiness so that you can easily view servers that are available for load balancing.
The Web Farm Framework 2.0 provides one view and user interface to see the status of operations running throughout the server farm. You can also use the interface to run the most frequently used operations on the farm as a whole or on individual server in the farm. Additionally, you can interact programmatically with WFF functionality by using Web Farm Framework APIs and Windows PowerShell cmdlets.
The main features of the Web Farm Framework 2.0 include:
- One-step provisioning of servers added to a farm.
- Application provisioning using Microsoft Web Deploy.
- Policy-based provisioning.
- Installation of additional platform components and content.
- Reduced down time with load-balancing integration using ARR.
- Up-to-date status and trace logs of servers in the farm.
- An extensible model that lets you write additional providers.
- Workflow Builder can be used to define and schedule custom tasks that can be run on all servers in the web farm. - Windows Credential Store support that enables you to securely store administrator credentials used for server provisioning. - Third party load balancers support. - Improved support for advanced Web Deploy operations. - Improved support for syncing large amount of files.
The following key terms and concepts are used in the Web Farm Framework articles:
Server farm Also called a web farm. A collection of servers grouped together for simplified management, provisioning, and deployment.
Controller server The server that manages provisioning of the servers in the server farm. This can not be combined with Primary or Secondary Servers.
Primary server The server that is used to define the platform applications and components to install. The primary server also defines the configuration of those applications and components and the content that is provisioned and synchronized to the secondary servers in the server farm.
Secondary server Additional servers that are synchronized to the primary server for platform applications and components, configuration settings, content, and applications.
What are the dependencies of the Web Farm Framework? Microsoft Web Farm Framework uses the Microsoft Web Platform Installer V3 and Microsoft Web Deploy V2, which must both be installed on the controller server.
Does Web Farm Framework require setup of ARR for load balancing?
No, ARR is not required. You can use the Microsoft Web Farm Framework with a third-party load balancing environment.
What other configurations are needed for Web Farm Framework? Firewall exceptions must allow Core Networking and Remote Administration through the firewall. For more information, see System and Platform Requirements.
Can I create a server farm without setting up provisioning?
Yes. You can enable, disable, and modify settings for provisioning at any time.
Additional IIS Learn articles:
- System and Platform Requirements for the Web Farm Framework for IIS 7 and Above
- Setting up a Server Farm with the Web Farm Framework for IIS 7 and Above
- Managing a Server Farm with the Web Farm Framework for IIS 7 and Above
- Running Server Operations Using the Web Farm Framework 2.0 for IIS 7 and Above
- Skipping Folders while Provisioning with Web Farm Framework 2.0 for IIS 7 and Above
- Building Workflows with Web Farm Framework 2.0 for IIS 7 and Above
- Web Farm Framework 2.0 for IIS 7 and Above Code Sample
- Web Farm Framework 2.0 for IIS 7 and Above cmdlets for Windows PowerShell
WFF team blogs:
- How to Write a Web Farm Framework Provider (Gupreet's Blog)
- How to do Skip Directives using default provider in Web Farm Framework 2.0 (Gurupurna)
- How to integrate F5 with Web Farm Framework (Gupreet's Blog)
- Web Farm Framework 2.0 – Work Flow Builder & Extensibility (Younus' Blog)
- Run Existing Web Farm Framework 2.0 providers using CreateRunOptions (Gupreet's Blog)
- Microsoft Web Farm Framework 2.0 (ScottGu's Blog)