English

How To: Set up a reverse proxy with ArcGIS 10.1 for Server on IIS ARR

Summary

Note:
The content in this article pertains to ArcGIS versions 10.1. Later versions of ArcGIS may contain different functionality, as well as different names and locations for menus, commands and geoprocessing tools.

The instructions provided describe how to set up a reverse proxy with ArcGIS 10.1 for Server on Internet Information Services (IIS) Application Request Routing (ARR) without SSL.

Note:
For guidance on integrating SSL with this architecture, see
How To: Set up a reverse proxy with ArcGIS 10.1 for Server on IIS ARR with SSL

Procedure

The following architecture is described in this document:

[O-Image] Architecture
  1. ArcGIS Server Site Setup
[O-Image] ArcGIS Server Site Setup
  1. Install ArcGIS 10.1 for Server SP1 and create the site.
    • Example server hostname: AGSHOST
Note:
For guidance on installing ArcGIS Server 10.1, see How To: ArcGIS for Server Installation
  1. Install and configure ArcGIS Web Adaptor 10.1 SP1.
    • Example ArcGIS Web Adaptor hostname: WAHOST
    • Example Web Adaptor context path: WAPATH
    • Example GIS server URL: http://AGSHOST:6080
Note:
For guidance on installing ArcGIS Server 10.1, see How To: Installing the ArcGIS Web Adaptor (IIS)
  1. Deploy IIS ARR
[O-Image] [O] Deploy IIS ARR
  1. Install IIS 7.5.
  2. Install IIS Application Request Routing (ARR).
Note:
For guidance on installing IIS 7.5 see Microsoft's 
Installing IIS 7 on Windows Server 2008 or Windows Server 2008 R2
  1. Configure IIS ARR
[O-Image] [O] Deploy IIS ARR
  1. Open IIS Manager.
  2. Right-click Server Farms and select Create Server Farm.
[O-Image] IIS Manager
  1. Complete the Create Server Farm wizard.
    • Example farm name: AGSFARM (This value is arbitrary.)
  2. Add server addresses.
    • Example server address: WAHOST.DOMAIN.COM (This must match the FQDN of the web adaptor host.)
  1. Define ARR Routing Rules
[O-Image] [O] Deploy IIS ARR
  1. In IIS Manager under Server Farms and the newly created server farm, open Routing Rules. Reboot the server if the options shown below are unavailable.
[O-Image] Server Farm Routing Rules
  1. From the Advanced Routing menu on the right-hand side, click URL Rewrite.
  2. Select and disable all inbound and outbound rules.
  3. In the Actions menu, select Add Rule(s) > Inbound Rules > Blank Rule.
  4. In Edit Inbound Rule, complete the form as described below.
    • Under Name: AGSRTRULE (This value is arbitrary.)
    • Under Match URL: Requested URL: Matches the Pattern
    • Using: Wildcards
    • Pattern: *WEBADAPTORURL*
    • Check Ignore case
    • Under Conditions: No values here.
    • Under Server Variables: No values here.
    • Under Action: Action Type: Route to Server Farm
    • Action Properties - Scheme: http://
    • Action Properties - Server farm: AGSFARM (This value must match the farm name created in Step 3.)
    • Action Properties - Path: /{R:0}
    • Check Stop processing of subsequent rules
[O-Image] Edit Inbound Rule
  1. Set Up the WebContextURL Property
[O-Image] Step 5
  1. Open http://localhost:6080/arcgis/admin/system/properties/update
  2. Add the value below:
{
"WebContextURL": "http://WAHOST.ESRI.COM/WEBADAPTORPATH"
}
  1. Save and close.

Supportability

Though there may be other methods of employing IIS/ARR as a reverse proxy/load balancer for ArcGIS 10.1 for Server, this is the method Esri Support provides guidance for and uses to test reported bugs. Customers seeking help using alternative methods of deploying IIS/ARR with ArcGIS for Server will be instructed to use this workflow and/or be directed to Esri Professional Services for a more tailored/customized deployment architecture.

Related Information