Install Application Request Routing

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Application Request Routing (ARR) is a proxy-based request routing and load balancing module that works with the URL Rewrite module and that uses information contained in HTTP headers and server variables to make routing decisions about incoming requests. For information about the key features included with ARR, see ARR Key Concepts and Features.

Before you install the ARR module and its dependent modules, make sure that you have IIS 7 installed on a computer that is running Windows Server® 2008 or newer.

The ARR installer package installs the following components:

  • Microsoft Application Request Routing Version 2

  • Microsoft URL Rewrite Module Version 2

  • Microsoft Web Farm Management Version 1

  • Microsoft External Cache Version 1

Install Application Request Routing

You can install the ARR module and its dependent modules by downloading the installer package or by using the Microsoft Web Platform Installer. You must remove all previous versions of Application Request Routing before you continue with the installation of ARR Version 2, unless you are upgrading from ARR Version 2 RC or ARR Version 1 RTW.

To install ARR by using the installer package

  1. Download the Application Request Routing installer package:

  2. Open a command prompt with administrator user rights, and enter the following commands to stop the WAS and WMSVC processes:

    net stop was /y

    net stop wmsvc /y

  3. Double-click the installer package, ARRv2_setup_x86.exe or ARRv2_setup_x64.exe, to start the installation process.

  4. In the dialog box confirming that you want to proceed with installing ARR and its dependent modules, click Yes.

  5. Read the End User License Agreement (EULA), and then click Yes to accept the agreement and continue the installation.

  6. Click OK to close the dialog box confirming that the installation was successful. You can also verify that the installation was successful by viewing the %TEMP%\arr_setup.log file.

  7. Open a command prompt with administrator user rights, and enter the following commands to start the WAS, W3SVC, and WMSVC processes:

    net start was

    net start w3svc

    net start wmsvc

To install ARR by using the Microsoft Web Platform Installer

  1. Download and launch the Microsoft Web Platform Installer.

  2. In the Security Warning dialog box, click Run to allow the Web Platform Installer to continue.

  3. In the next two dialog boxes that request permission to allow Microsoft’s Web site to open a program and Web content on your computer, click Allow.

  4. In the Web Platform Installer 2.0 wizard, select the Install Application Request Routing 2.0 check box, and then click Install.

  5. Read the End User License Agreement (EULA), and then click I Accept to accept the agreement and continue the installation.

  6. Click Finish to close the dialog box confirming that the installation was successful.

  7. Click Exit to close the Web Platform Installer.

Optional Post-Installation Steps

After you have successfully installed ARR and its dependent modules, you can configure the application pool settings. These steps are optional but recommended.

Disable the Idle Time-Out Setting

Because all HTTP requests and responses for the content sites go through ARR, the worker process for the Default Web Site should always be running. You can configure the worker process to always run by disabling the Idle Time-Out setting in the application pool process model for the Default Web Site.

To disable the Idle Time-Out setting by using the UI

  1. Open IIS Manager.

  2. In the Connections pane, select Application Pools.

  3. In the Application Pools pane, select DefaultAppPool.

  4. In the Actions pane, click Advanced Settings….

  5. In the Advanced Settings dialog box, change the Idle Time-out (minutes) value to 0.

To disable the Idle Time-Out setting by using the command line

  1. Open a command prompt with administrator user rights, and navigate to %windir%\system32\inetsrv.

  2. Enter the following command:

    appcmd.exe set apppool “DefaultAppPool” -processModel.idleTimeout:”00:00:00” /commit:apphost

Disable the Application Pool Recycle Settings

You can also disable the application pool recycle settings to prevent an application pool from recycling unexpectedly.

To disable the application pool recycle settings by using the UI

  1. Open IIS Manager.

  2. In the Connections pane, select Application Pools.

  3. In the Application Pools pane, select DefaultAppPool.

  4. In the Actions pane, click Recycling….

  5. In the Edit Application Pool Recycling Settings dialog box, clear the Regular time intervals (in minutes) check box.

To disable the application pool recycle settings by using the command line

  1. Open a command prompt with administrator user rights, and navigate to %windir%\system32\inetsrv.

  2. Enter the following command:

    appcmd.exe set config -section:system.applicationHost/applicationPools /[name=’DefaultAppPool’].recycling.periodicRestart.time:”00:00:00” /commit:apphost

See Also

Concepts

General Tasks
Disk Caching Tasks
ARR Common Tasks