Brian Ritchie's Blog

My ramblings on .NET & other development topics

News



Twitter

Blog Roll

Connect with me

F5 Add-on for Web Farm Framework

Gupreet over on the IIS.NET site posted a sample for integrating an F5 load balancer with the Web Farm Framework.  It works well, but isn't configurable.  I started adding my own configuration, but artisticcheese posted a project to CodePlex that already has this functionality.

To install, download the extension and perform the following: 

  1. Create pool on F5 load balanacer with exactly the same name on WFF. Do not add any farm members yet.
  2. Stop WFF service
  3. Create folder "%programfiles%\IIS\Microsoft Web Farm Framework\extensions" and put all files in distribution into that folder
  4. Modify "F5LoadBalancer.dll.config" file to point to active node of F5 loadbalancer and authentication credentials
  5. Copy "icontrol.dll" into "%programfiles%\IIS\Microsoft Web Farm Framework"
  6. Open "%systemroot%\system32\inetsrv\config\applicationHost.config" and edit XML node below by adding attribute in bold <webFarm name="DevWebFarm" enabled="true" primaryServer="webnode1" loadBalancerProvider="F5">
  7. Start WFF service

iControl.dll is an assembly provided by BigIP giving you a .NET API to control your F5 Local Traffic Balancer.

Now that you have it installed, WFF will automatically take nodes online & offline thru the F5 as needed.  This supports rolling deployments and more.

Posted: Aug 27 2011, 12:24 PM by brian_ritchie | with 5 comment(s)
Filed under: , , , ,

Comments

Brian Ritchie's Blog said:

Today at the Jax Code Camp I gave a presentation on scaling out your .NET applications by leveraging

# August 27, 2011 1:30 PM

Brian Ritchie's Blog said:

Today at the Jax Code Camp I gave a presentation on scaling out your .NET applications by leveraging

# August 27, 2011 1:39 PM

Scaling Out .NET Presentation at Jax Code Camp 2011 said:

Pingback from  Scaling Out .NET Presentation at Jax Code Camp 2011

# August 28, 2011 12:20 AM

Scaling Out .NET Presentation at Jax Code Camp 2011 said:

Pingback from  Scaling Out .NET Presentation at Jax Code Camp 2011

# August 28, 2011 1:20 AM

F5 Add-on for Web Farm Framework | .NET, ASP.NET and IIS | Syngu said:

Pingback from  F5 Add-on for Web Farm Framework | .NET, ASP.NET and IIS | Syngu

# August 28, 2011 1:34 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)