Adding elevation globe services on ArcGIS Server 10
If you want to use the USA Elevation and/or World Elevation services, you need to publish these globe services. These services will reference the globe caches and globe documents on the data appliance.
Before you publish the elevation globe services on ArcGIS Server 10, first you need to create a virtual directory and configure Microsoft Internet Information Services (IIS) to work with globe tiles. Then you add the cache directory to your server. Finally, you can publish the services on ArcGIS Server.
Create a virtual directory on Windows with IIS that references the elevation cache directory
Before you add the elevation cache directory to your server, you need to create a virtual directory that will reference it. A virtual directory allows client applications to access the cache directory using a URL, which is often the fastest way to get the tiles.
You create a virtual directory on your web server machine, using your web server's administration software; however, the cache directory itself does not have to be on the same machine as the web server. In this case, the virtual directory will reference the shared cache directory on the Data Appliance for ArcGIS.
These instructions are for Windows with Microsoft Internet Information Services (IIS) 7. Even if you are using a different web server, you may find these instructions helpful when configuring your virtual directory.
- Click Control Panel > Administrative Tools > Internet Information Services (IIS) Manager to open IIS Manager. (If you don't see the IIS Manager shortcut, you may need to install IIS. To do this, navigate to Control Panel > Add or Remove Components > Add/Remove Windows Components and check the Application Server box.)
- Under your computer name, expand the Sites folder.
- Right-click Default Web Site and select Add Virtual Directory. You'll be presented with a wizard that will help you create the virtual directory.
- Type an Alias for the virtual directory, for example, elevation, and under Physical path, enter the UNC path to the shared cache folder on the data appliance, for example, \\ARCGISDATAAPP\cache.
- Click Connect as and select the Specific user option. Since your virtual directory is referencing a shared location, a screen to enter security credentials will display. The virtual directory should access the ArcGIS Data Appliance using the SOC account.
- Click Set and fill in the User name, Password, and Confirm Password boxes with the information for the SOC account. If you are using local accounts for the SOC account, enter the name of the local SOC account on the web server machine, for example, MYWEBSERVER\ArcGISSOC, or if you're using a domain account for the SOC account, enter the domain account name, for example, MYDOMAIN\ArcGISSOC.
- Click OK.
Configure IIS to work with globe (3d) tiles
IIS only serves files with extensions registered in the MIME types list. If you will be serving globe (3D) services from the Data Appliance and are using ArcGIS Server 10, the following additional steps are necessary to configure IIS 7.0 to work with the globe tiles in your virtual directory, which do not have a file extension:
- In IIS Manager, right-click the virtual directory you just created, for example, elevation.
- Double-click MIME Typesin the adjacent window.
- On the right side, under the Action menu, click Add. A dialog box appears that allows you to define a new MIME type.
- For File name extension, type .*.
- For MIME type, type file/file.
- Click OK to add the new MIME type and exit IIS Manager.
Add the cache directory to your server
Once you've given the SOC account permissions to access the cache folder and created the virtual directory, you're ready to add the cache directory to your server. To add a server cache directory, perform the following steps within ArcGIS Server Manager:
- Log in to ArcGIS Server using an account with administrative privileges.
- Start ArcGIS Server Manager and log in using your ArcGIS Server account.
- Click the GIS Server tab.
- From the View menu on the left, click Server Directories (or Directories if you are using Java Manager).
- Click Add Directory.
- For the path to the Directory, enter the path to the elevation folder inside the cache folder on the ArcGIS Data Appliance you made when you created shares, for example, \\ARCGISDATAAPP\cache\elevation.
- From the Type list, choose Cache.
- For the Virtual Directory, leave it blank. You do not need to specify a Description, Cleaning Mode, or Maximum File Age.
- Click OK to add the directory. By default, you'll return to the list of output directories. To verify that the elevation cache directory was created successfully, you can select Cache Directories from the Show menu.
Adding elevation globe service on ArcGIS 10
If you want to use the USA Elevation and/or World Elevation services, you need to publish these globe services. These services will reference the globe caches and globe documents on the data appliance.
Follow these instruction for each globe service you want to create:
- Log in to ArcGIS Server using an account with administrative privileges.
- Start ArcGIS Server Manager and log in using your ArcGIS Server account.
- In ArcGIS Server Manager, click the Services tab.
- Click Add New Service.
- In the Name field, type a name for the globe service. You can use any name, although you may want to consider using the naming conventions from the elevation service descriptions on the data appliance, for example, USGS_Elevation_US or ESRI_Elevation_World.
- Choose Globe Service from the Type list and make sure the Startup Type is Automatic. Click Next.
- In the Globe Document field, browse to the source_documents\globe_documents folder on the data appliance, for example, \\ARCGISDATAAPP\source_documents\globe_documents. Choose the globe document you want to publish.
- In the Server Cache Directory field (or Cache Directory if you are using Java Manager), select the elevation cache directory you added that references the elevation cache directory on the Data Appliance, for example, \\ARCGISDATAAPP\cache\elevation.
- You have set all the essential properties for your service, so accept the rest of the default properties and publish the service. If you want to make an adjustment to the service, such as changing the maximum number of instances that can be published, you can edit the properties in ArcGIS Server Manager.
- If necessary, start the service in ArcGIS Server Manager by checking the box next to the service name and clicking Start.
- Repeat steps 1 through 10 if you want to use the USA Elevation globe service.