<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RuslanY Blog &#187; Web Farm</title>
	<atom:link href="http://ruslany.net/tag/web-farm/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruslany.net</link>
	<description>IIS, FastCGI, PHP and other interesting stuff</description>
	<lastBuildDate>Fri, 26 Aug 2011 06:36:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Web Farm Framework 2.1 &#8211; Servicing Release</title>
		<link>http://ruslany.net/2011/07/web-farm-framework-2-1-servicing-release/</link>
		<comments>http://ruslany.net/2011/07/web-farm-framework-2-1-servicing-release/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 22:12:17 +0000</pubDate>
		<dc:creator>ruslany</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[IIS News Item]]></category>
		<category><![CDATA[Web Farm]]></category>

		<guid isPermaLink="false">http://ruslany.net/?p=1140</guid>
		<description><![CDATA[Today IIS team has published a servicing release of Web Farm Framework 2. This release contains fixes for the bugs reported in version 2.0 that was published in January this year. The following bugs have been fixed in this release: If a server was excluded from load balancing because of an error or if it [...]]]></description>
			<content:encoded><![CDATA[<p>Today IIS team has published a servicing release of <a href="http://www.iis.net/download/webfarmframework">Web Farm Framework 2</a>. This release contains fixes for the bugs reported in version 2.0 that was published in January this year. The following bugs have been fixed in this release:</p>
<ul>
<li>If a server was excluded from load balancing because of an error or if it was temporary unavailable then it required administrator to manually add it back. With this release the Web Farm Service will attempt to auto-repair unavailable servers and add them back to load balancing once they become healthy again.</li>
<li>Non-standard HTTP ports could not be used when communicating with servers in web farm.</li>
<li>Error caused by race condition between when applicationHost.config is updated and when service reads the configuration.</li>
<li>Service attempted to add firewall exception and failed if firewall service was not running.</li>
<li>MSDeploy 1.1 was always installed on servers in the farm, even if MSDeploy 2.0 was available.</li>
<li>Recycling of the app pool on the controller resulted in HTTP 502 errors.</li>
<li>Secondary servers kept synchronizing the same changes over and over again.</li>
<li>When primary server came back after downtime, the provisioning did not start automatically.</li>
<li>Sync Error &#8220;An item with the same key has already been added.&#8221;</li>
<li>User profile was not loaded when service was installed which caused installation failures.</li>
</ul>
<h3>Install the Web Farm Framework 2.1</h3>
<p>To install Web Farm Framework 2.1 use the download links at the project’s home page at <a href="http://www.iis.net/expand/WebFarmFramework">http://www.iis.net/expand/WebFarmFramework</a>.</p>
<p>If you have Web Farm Framework 2.0 already installed, then it will be updated to v2.1. Note that a reboot maybe required during update and after the reboot the WebFarmService must be restarted on the controller server by using the command below:</p>
<pre name="code" class="dos">
net start webfarmservice
</pre>
<h3>More information</h3>
<ul>
<li><a href="http://learn.iis.net/page.aspx/905/microsoft-web-farm-framework-20-for-iis-7/">Web Farm Framework 2 Documentation</a></li>
<li><a href="http://forums.iis.net/1167.aspx">Web Farm Framework Forum</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ruslany.net/2011/07/web-farm-framework-2-1-servicing-release/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web Farm Framework 2.0 &#8211; Release to Web</title>
		<link>http://ruslany.net/2011/01/web-farm-framework-2-0-release-to-web/</link>
		<comments>http://ruslany.net/2011/01/web-farm-framework-2-0-release-to-web/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 00:15:22 +0000</pubDate>
		<dc:creator>ruslany</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[IIS News Item]]></category>
		<category><![CDATA[Web Farm]]></category>

		<guid isPermaLink="false">http://ruslany.net/?p=968</guid>
		<description><![CDATA[Today IIS team has released to web the Web Farm Framework 2.0. This is the final, production ready version that has several new features and improvements listed below: Workflow Builder is used to define and schedule custom tasks that can be run on all servers in the farm. The tasks can be scheduled to run [...]]]></description>
			<content:encoded><![CDATA[<p>Today IIS team has released to web the <a href="http://www.iis.net/download/webfarmframework">Web Farm Framework 2.0</a>. This is the final, production ready version that has several new features and improvements listed below:</p>
<ul>
<li><strong>Workflow Builder</strong> is used to define and schedule custom tasks that can be run on all servers in the farm. The tasks can be scheduled to run periodically or can be started manually by an administrator. An example of such task could be a msdeploy command to partially sync web site content.</li>
<li><strong>Windows Credential Store</strong> support allows to store the administrator credentials used for server provisioning in a secure Windows Credential Store. This enables an added layer of security when dealing with credentials in Web Farm Framework.</li>
<li><strong>Third party load balancers support</strong> via Web Farm Framework extensibility. It is possible to configure Web Farm Framework to integrate with hardware load balancers instead of relying on IIS Application Request Routing module.</li>
<li><strong>Improved support for advanced MSDeploy operations</strong>. Options of MSDeploy can be used with Web Farm Framework for advanced deployment scenarios.</li>
<li><strong>Improved support for syncing large amount of files</strong>. Several issues related to syncing large amount of files across web farm nodes have been fixed.</li>
</ul>
<p>In addition to that many bugs reported by beta users were fixed in this release.</p>
<h3>Install the Web Farm Framework 2.0 – RTW</h3>
<p>To install Web Farm Framework 2.0 use the download links at the project’s home page at <a href="http://www.iis.net/expand/WebFarmFramework">http://www.iis.net/expand/WebFarmFramework</a>.</p>
<p>If you have a beta build of Web Farm Framework 2.0 already installed, then it needs to be uninstalled prior to installing RTW build.</p>
<h3>More information</h3>
<ul>
<li><a href="http://learn.iis.net/page.aspx/905/microsoft-web-farm-framework-20-for-iis-7/">Web Farm Framework 2.0 Documentation</a></li>
<li><a href="http://forums.iis.net/1167.aspx">Web Farm Framework Forum</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ruslany.net/2011/01/web-farm-framework-2-0-release-to-web/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Web Farm Framework 2.0 overview</title>
		<link>http://ruslany.net/2010/07/web-farm-framework-2-0-overview/</link>
		<comments>http://ruslany.net/2010/07/web-farm-framework-2-0-overview/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 23:00:28 +0000</pubDate>
		<dc:creator>ruslany</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Web Farm]]></category>

		<guid isPermaLink="false">http://ruslany.net/?p=829</guid>
		<description><![CDATA[IIS team has recently released a Web Farm Framework 2.0 beta. The goal of the Web Farm Framework is to enable easy provisioning, deployment and managing of web farms. This blog post provides an example of what Web Farm Framework can do and how it can simplify the Web Farm management tasks. To demonstrate the capabilities of the [...]]]></description>
			<content:encoded><![CDATA[<p>IIS team has recently released a <a href="http://www.iis.net/download/webfarmframework">Web Farm Framework 2.0 beta</a>. The goal of the Web Farm Framework is to enable easy provisioning, deployment and managing of web farms. This blog post provides an example of what Web Farm Framework can do and how it can simplify the Web Farm management tasks.</p>
<p>To demonstrate the capabilities of the tool, we will create a simple web farm that looks as on the following diagram:</p>
<p><a href="http://ruslany.net/wp-content/uploads/2010/07/WFF_diagram1.png"><img class="alignnone size-medium wp-image-830 screenshot" title="WFF_diagram1" src="http://ruslany.net/wp-content/uploads/2010/07/WFF_diagram1-400x236.png" alt="" width="400" height="236" /></a></p>
<ul>
<li>The load balancer will be using the Application Request Routing for IIS 7 and will also act as a <strong>Web Farm Controller</strong>. Web Farm Controller manages all the machines within the web farm and it has the Web Farm Framework 2.0 installed.</li>
<li>The <strong>Primary Server</strong>, in addition to serving the web requests, also acts as an example server for all the other servers in the farm. Web Farm Framework will ensure that every new secondary server added to the web farm has exact same components installed and is configured exactly as the primary server.</li>
<li>The <strong>Secondary Server(s)</strong> will serve web requests. It’s configuration and content matches the primary server.<span id="more-829"></span></li>
</ul>
<h3>Setting up a web farm</h3>
<p>The example web farm will contain 3 servers:</p>
<ol>
<li>DEMOCONTROLLER – this is the load balancer and controller machine. It has ARR 2.0 and Web Farm Framework 2.0 installed.</li>
<li>DEMOPRIMARY – this is the primary content server that has a PHP application setup. Here is what is installed on the primary server:<br />
<a href="http://ruslany.net/wp-content/uploads/2010/07/WebFarm3.png"><img class="alignnone size-medium wp-image-831 screenshot" title="WebFarm3" src="http://ruslany.net/wp-content/uploads/2010/07/WebFarm3-400x190.png" alt="" width="400" height="190" /></a></li>
<li>DEMOSECONDARY – this is the secondary content server that is a clean OS installation without any components or content installed. There is nothing installed on that server:<br />
<a href="http://ruslany.net/wp-content/uploads/2010/07/WebFarm4.png"><img class="alignnone size-medium wp-image-832 screenshot" title="WebFarm4" src="http://ruslany.net/wp-content/uploads/2010/07/WebFarm4-400x151.png" alt="" width="400" height="151" /></a></li>
</ol>
<p>Once the <a href="http://www.iis.net/download/ApplicationRequestRouting">Application Request Routing 2.0</a> and <a href="http://www.iis.net/download/webfarmframework">Web Farm Framework 2.0</a> have been setup on the controller server, the new web farm can be created by using IIS Manager UI:</p>
<p><a href="http://ruslany.net/wp-content/uploads/2010/07/WebFarm1.png"><img class="alignnone size-full wp-image-833 screenshot" title="WebFarm1" src="http://ruslany.net/wp-content/uploads/2010/07/WebFarm1.png" alt="" width="359" height="204" /></a></p>
<p>In the “Add Server Farm” dialog specify the name for the web farm (e.g. demofarm) and make sure that “Server Farm is available for load balancing” and “Provision server farm” options are selected. You will also need to provide the credentials for the account that exists all all the web farm servers and that has administrative privileges on all those servers.</p>
<p><a href="http://ruslany.net/wp-content/uploads/2010/07/WebFarm2.png"><img class="alignnone size-medium wp-image-834 screenshot" title="WebFarm2" src="http://ruslany.net/wp-content/uploads/2010/07/WebFarm2-400x301.png" alt="" width="400" height="301" /></a></p>
<p>On next page add the primary server and the secondary server to it. The Web Farm Framework will verify that it can connect to those servers. If connection fails then most probably the firewall on a server is not configured correctly. Follow the instructions at <a href="http://learn.iis.net/page.aspx/913/system-and-platform-requirements-for-the-web-farm-framework-20-beta-for-iis-7/">System Requirements for the Web Farm Framework 2.0</a> to troubleshoot connection problems.</p>
<p><a href="http://ruslany.net/wp-content/uploads/2010/07/WebFarm5.png"><img class="alignnone size-medium wp-image-835 screenshot" title="WebFarm5" src="http://ruslany.net/wp-content/uploads/2010/07/WebFarm5-400x298.png" alt="" width="400" height="298" /></a></p>
<p>After both servers have been added, the Web Farm Framework starts provisioning the web farm. You can monitor the provision process by using the IIS Manager UI:</p>
<p><a href="http://ruslany.net/wp-content/uploads/2010/07/WebFarm6.png"><img class="alignnone size-medium wp-image-836 screenshot" title="WebFarm6" src="http://ruslany.net/wp-content/uploads/2010/07/WebFarm6-400x280.png" alt="" width="400" height="280" /></a></p>
<p>Here is what happens during the web farm provisioning:</p>
<ol>
<li>The Web Farm Agent component is installed on both content servers in web farm. The Web Farm Agent is used to establish communication between each content server and the controller.</li>
<li>The primary server is added to the Web Farm and Web Deployment Tool is installed on it. Web Deployment Tool is used to synchronize the web content and configuration across all servers in the web farm.</li>
<li>The primary server is queried for all the installed components and for the web content.</li>
<li>The secondary server is added to web farm and the Web Deployment Tool is installed there too. After that all the same components that were installed on the primary server are also installed on the secondary server.</li>
<li>Finally both servers are marked as ready for load balancing, which means that they are now included in the web farm and web request will be routed to them.<br />
<a href="http://ruslany.net/wp-content/uploads/2010/07/WebFarm8.png"><img class="alignnone size-medium wp-image-837 screenshot" title="WebFarm8" src="http://ruslany.net/wp-content/uploads/2010/07/WebFarm8-400x280.png" alt="" width="400" height="280" /></a></li>
</ol>
<p>After both servers have been added to the web farm, the secondary server has exact same components installed and exact same web content as the primary server:</p>
<p><a href="http://ruslany.net/wp-content/uploads/2010/07/WebFarm9.png"><img class="alignnone size-medium wp-image-838 screenshot" title="WebFarm9" src="http://ruslany.net/wp-content/uploads/2010/07/WebFarm9-400x209.png" alt="" width="400" height="209" /></a></p>
<p>The Web Farm Framework periodically checks all the servers to ensure that they are synchronized with the primary server. If any new component is installed on the primary server or if any content has been changed on the primary server, those changes will be propagated to secondary servers. As soon as another secondary server is added to the web farm, the provisioning process for that server will start automatically. This makes it very easy to add new servers to the web farm. Also, the servers in the web farm do not have to use exact same version of the operating system. For example a web farm can contain a mix of x86 and x64 machines, as well as Windows Server 2008 and 2008 R2.</p>
<h3>More information</h3>
<p>Automatic provisioning of the servers and applications in a web farm is one of the many capabilities of the Web Farm Framework. Other cool things included in Web Farm Framework are:</p>
<ul>
<li>Support for <a href="http://learn.iis.net/page.aspx/940/running-server-operations-using-the-web-farm-framework-20-beta-for-iis-7/">running server operations</a> on the web farm nodes, e.g. starting and stopping services, rebooting and so on;</li>
<li><a href="http://learn.iis.net/page.aspx/925/web-farm-framework-20-for-iis-7-apis/">API’s for managing web farms</a>;</li>
<li><a href="http://learn.iis.net/page.aspx/934/web-farm-framework-20-for-iis-7-cmdlets-for-windows-powershell/">PowerShell cmdlets</a> for managing web farms.</li>
</ul>
<p>More information about the Web Farm Framework 2.0 can be found at <a href="http://learn.iis.net/page.aspx/905/microsoft-web-farm-framework-20-beta-for-iis-7/">Microsoft Web Farm Framework 2.0 Beta for IIS 7</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ruslany.net/2010/07/web-farm-framework-2-0-overview/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>

