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

相关信息
Article ID: 40680
Software:
ArcGIS for Server 10.1
Platforms: N/A

问题描述
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.



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

已邀请:

EsriSupport

赞同来自:

解决方案
The following architecture is described in this document:







Step 1 - ArcGIS Server Site Setup




A. Install ArcGIS 10.1 for Server SP1 and create the site.


For guidance on installing ArcGIS Server 10.1, see

How To: ArcGIS for Server Installation

• Example server hostname: AGSHOST
B. Install and configure ArcGIS Web Adaptor 10.1 SP1.


For guidance on installing ArcGIS Server 10.1, see

How To: Installing the ArcGIS Web Adaptor (IIS)

• Example ArcGIS Web Adaptor hostname: WAHOST
• Example Web Adaptor context path: WAPATH
• Example GIS server URL: http://AGSHOST:6080
Step 2 - Deploy IIS ARR




A. Install IIS 7.5.


For guidance on installing IIS 7.5 see Microsoft's

Installing IIS 7 on Windows Server 2008 or Windows Server 2008 R2

B. Install
IIS Application Request Routing (ARR).
Step 3 - Configure IIS ARR




A. Open IIS Manager.

B. Right-click Server Farms and select 'Create Server Farm'.



C. Complete the Create Server Farm wizard.
• Example farm name: AGSFARM (This value is arbitrary.)
D. Add server addresses.
• Example server address: WAHOST.DOMAIN.COM (This must match the FQDN of the web adaptor host.)
Step 4 - Define ARR Routing Rules




A. 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.




B. From the Advanced Routing Menu on the right-hand side, click URL Rewrite.

C. Select and disable all inbound and outbound rules.

D. In the Actions menu, select Add Rule(s) > Inbound Rules > Blank Rule.

E. In Edit Inbound Rule, complete the form as described below.


Name
• Name: AGSRTRULE (This value is arbitrary.)


Match URL
• Requested URL: Matches the Pattern
• Using: Wildcards
• Pattern: *WEBADAPTORURL*
• Check 'Ignore case'


Conditions
No values here.


Server Variables
No values here.


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'





Step 5 - Set Up the WebContextURL Property



A. Open http://localhost:6080/arcgis/a ... date.

B. Add the value below:
{
"WebContextURL": "http://WAHOST.ESRI.COM/WEBADAPTORPATH"
}


C. 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.


Created: 11/28/2012 Last Modified: 1/15/2013

原文链接
http://support.esri.com/en/kno ... 40680

要回复问题请先登录注册