Configuring IIS 7.5 to Load-Balance a LiveCycle Cluster

To configure Apache Web Server, see here.

Microsoft Windows Server 2008 R2 comes with IIS 7.5

IIS 7.0 comes with Windows Server 2008. Microsoft re-architected IIS in version 7.0 to be more modular like Apache Web Server. Metabase was removed.

As a result, configuring IIS 7.5 to load-balance a LiveCycle cluster (whether it is WebSphere, WebLogic or JBoss) is now simple and straightforward. You don’t need to make any changes on the J2EE app servers.

The following instructions assume that the IIS 7.5 instance is dedicated. For a shared IIS instance/farm, you will have to modify some of these instructions. Also, Microsoft’s AppCmd can be used to script all of these. AppCmd is a command line utility to manage IIS via commands and scripts. It is different from PowerShell.

For handling complex environments, the URL Rewrite module will be very useful.

1) Add the role “Web Server (IIS)” on Windows Server 2008 R2

– Use the menu Administrative Tools->Server Manager

– Choose Roles (there are about 17 roles defined in Windows Server 2008 R2 standard edition)

– Add Roles, then Web Server(IIS)

– Make sure “Directory Browsing” is unchecked (it is checked by default)

– Check “HTTP Redirection”

– Click Install

– Re-start the server

2) Install Application Request Routing (ARR)

You can download it here. Once downloaded, run ARRv2_setup_amd64_en-us.exe (make sure that IIS is stopped at this point). Also make sure that the “Windows Process Activation Service” is stopped.

Once finished, check the install log in %USER_TEMP% and make sure that all of the components installed fine. You don’t want to see the following:

rewrite_amd64_en-us.msi Failed Status Code 1603
webfarm_amd64_en-us.msi Failed Status Code 1603
requestrouter_amd64_en-us.msi Failed Status Code 1603
ExternalDiskCache_amd64_en-us.msi Failed Status Code 1603

3) Using IIS Manager, create a new “Server Farm”

Start Internet Information Services (IIS) Manager. If the installation of Application Request Routing is successful, you should see a new node in the left pane under “Sites” called “Server Farms”.

– Create a new “Server Farm”

– Name it with something meaningful like LC_TEST_CLUSTER

– One by one, add all of the members of your LiveCycle cluster. For each, make sure that you click the ‘Advanced Settings” and provide the completely qualified DNS name (eg:, HTTP port (eg: 8001 for WebLogic) and HTTPS port (eg: 8002) of each of the cluster members.

– Save the “Server Farm” definition. Say “Yes” to the creation of an InBound URLRewrite Rule.

4) Configure the new “Server Farm”

– Click on the new Server Farm. On the right pane, dbl-click ‘Caching’. Make sure that for ‘Query String Support’, “Include Query String” is chosen.

– On the right pane, dbl-click ‘Load Balance’. For ‘Load Balance Algorithm’, you can choose “Weighter Round Robin” or another that makes sense to your environment (test). For ‘Load Distribution’, you can choose “Even Distribution”. If the cluster members are not all alike in their capabilities, you can choose “Custom Distribution” and assign a higher weight to a more capable cluster member so that more requests get routed to it.

– On the right pane, dbl-click ‘Routing Rules’. Make sure that the checkbox for “Use URL Rewrite to inspect incoming requests” is checked. If it is not, check it and click ‘Apply’ on the top right to save.

– On the right pane, dbl-click ‘Server Affinity’. Make sure that the checkbox for “Client Affinity” is checked.

5) Test

– Exercise your application from multiple client machines (with different IP addresses)

– Verify in IIS Manager. Click on the Server Farm. On the right pane, dbl-click ‘Monitoring and Management’. Check under the column ‘Total Requests’ and make sure that all members of the cluster received requests.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 9.3/10 (7 votes cast)
Configuring IIS 7.5 to Load-Balance a LiveCycle Cluster, 9.3 out of 10 based on 7 ratings
This entry was posted in Adobe LiveCycle ES2 (9.0.x), Adobe LiveCycle ES, General Interest and tagged , , , . Bookmark the permalink.

Comments are closed.