Sorry, I am new to ArcGIS 10.1 Server and this Forum. If I am posting at the wrong place, please bear with me.
Got a few questions related to the Server, site address and cached tiles.
Will first explain how we set up the features in our enterprise:
We have three virtual machine, the first one is called web01, second one is called app01 and the last one is sql01 web01 is where the IIS web server, Client application and Web Adapter is located. app01 contains the ArcGIS Server, configuration store for files, server caches and SQL sql01 contains the MS SQL Server and Geodatabases.
In app01, we use the Web Tier in the Security Configuration Wizard during installation (because of business requirement).
The Web Adapter configuration is set to: http://machine:6080 -- aka the local host is of course web01 however, when I check the URL setting inside the green box at the bottom of the ArcGIS Web Adaptor page, instead of reading: "You can now use the URL (http://localhost/arcgis/rest/services) for accessing services in the Services Directory." It has replaced the URL as: "You can now use the URL (http://web01/arcgis/rest/services) for accessing services in the Services Directory."
------------------------------ *So now my first question: 1. Is the settings not right for the URL in the Services Directory here? ------------------------------
------------------------------ *Second Question: 2. I presume the above setting is correct? Though, I am a bit confused. If that is correct, it means we don't need 6080 to start off with, correct? If so, how can we serve published maps in app01, in which port 6080 is required? ------------------------------
Now, want to publish the maps and point it to caching tiles we did.
Since all the cached tiles are stored on app01, it will automatically pointed to app01. Though, since the service directories can only be accessed via web01 as I have mentioned above, even though, services has been created for tiled maps, it would not be able to access the caches in app01.
------------------------------ *Third Question: 3. So what I can do about this? Restructure the cached folders into web01? But it does not sounds right either. Because we do want to publish the services to view it on the flex map viewer. ------------------------------
Sorry, if my questions are not clear. Any of your help is highly appreciated.
It can go to the Weclome page of ArcGIS Server, though, when you click on the the link to Services Directory, i get the Error: User does not have permissions to access this folder. Code 403 message.
Does it means, there are some security settings I need to modify?
Well I guess this might be a bit late now, but anyway:
1. Your client application (presumably either Flex, JSAPI or Silverlight) needs to access ArcGIS Server services, which you are exposing through the web adaptor. The client app runs in a browser on a user's machine, and is not therefore local to web01 when it is running - so how is the app supposed to resolve a localhost URL on a user's machine? It needs a working URL to ArcGIS Server services, which in your case is going to be: http://web01/arcgis/rest/services
So I think that URL is correct
2. At least one of (default) ports 6080/6443 always needs to be accessible - the web adaptor talks to either or both of those ports depending on your SSL settings
3. The web adaptor just routes requests from IIS to ArcGIS Server. You can keep everything (MXDs, source data, cached maps) on app01, so at a high level the process is something like:
a. Web adaptor receives request from client app b. Web adaptor routes request to ArcGIS Server c. ArcGIS Server parses request and retrieves cached tiles from disk accordingly d. ArcGIS Server streams response tiles back to web adaptor e. Web adaptor streams response back to client app
As your ArcGis server machine is different from your webserver machine and you've configured web adaptor on web server machinre so now the browser will access services from virtual directories created by web adaptor on your web server machine. That is why you need to supply the url as http://web01:6080/arcgis/rest/services . Also you ve mentioned that you have enabled web tier based security on your arcgis server machine.. In this case you need to pass web adaptor key while configuring the web adaptor. Also you need to disable Anonymous authentication and enable Windows authentication on IIS..