To deploy the ArcGIS Data Appliance Basemap Collection, you need to configure your ArcGIS Server system to use the cache directory on the appliance. After setting the appropriate permissions, you can then use the map documents on the appliance to create services that run on your ArcGIS Server. This document walks you through the necessary steps:
Step 1: Create ArcGIS users on the ArcGIS Data Appliance
Step 2: Share the cache and source document locations on the appliance
Step 3: Give the SOC account permissions to access files on the appliance
Step 4: Configure ArcGIS Server to use the cache directory on the appliance
NOTE: See Requirements for a list of supported environments.
First, you need to create the ArcGIS users from your ArcGIS Server on the ArcGIS Data Appliance Basemap Collection.
NOTE: If your ArcGIS Data Appliance is joined to Active Directory skip to Step 2. For more information on Active Directory see ArcGIS Server 10 Java Help.
The following instructions are for Windows 2008 Storage Server operating system which runs on the ArcGIS Data Appliance:
In the Computer Management application, on the left pane, click Local Users and Groups to expand the tree, and click the Users folder.
On the main pane, right-click and select New User.
Use the Create new user wizard to create the following users. The passwords must be configured to match the passwords for the respective accounts on the ArcGIS Server and must be set to never expire:
User Name | Full Name | Description |
---|---|---|
ArcGISSOC | ArcGIS Server Object Container Account | Account for running the GIS Server Object Container process. |
ArcGISSOM | ArcGIS Server Object Manager Account | Account for running the GIS Server Object Manager process. |
ArcGISWebServices | GIS WebService Account | Account that web services use to access the GIS Server Object Manager process. |
You need to share two folders on the ArcGIS Data Appliance Basemap Collection so that your ArcGIS Server machines can access them. These are the cache and source_documents folders in the data appliance's file structure. The cache folder contains all the map tiles; the source_documents folder contains the map documents.
The ArcGIS Data Appliance runs the Windows 2008 Storage Server operating system. To share a folder on the ArcGIS Data Appliance Basemap Collection:
In the Computer Management application, on the left pane, click Shared Folders to expand the tree, and click the Shares folder.
On the main pane, right-click and select New Share.
In the Create a Shared Folder Wizard, Click Next to begin.
Click Browse, and navigate to the hard drive with the Basemap Collection. This is usually drive E, or if you have more than one collection you may have drives E, F, or G. Select the cache folder (or the source_documents folder), click OK, and click Next.
In the Shared Folder Permissions dialog box, click to select the Customize Permissions radio button, and click Create.
In the Customize Permissions dialog box, click Add.
In the Select Users or Groups dialog box, click Advanced.
The Select Users or Groups dialog box expands. Click Find Now to display a list of all local users.
While holding down the CTRL key, click each of the three (3) ArcGIS users and the Administrator user to highlight them. Then, with all four (4) users highlighted, click OK above the Search results area.
The dialog box reverts to a smaller size. The users you selected in step 10 should be listed under Enter the Users to Select. Click OK.
NOTE: If you are using ArcGIS Server 10, skip to Step 4. This step is not needed for ArcGIS Server 10.
When you ran the ArcGIS Server 9.3 or 9.3.1 post install, you specified a SOC account for your server to use when accessing data throughout the network. The SOC account needs to be accessible on the appliance and have permissions to any data or caches referenced by your services. How the SOC account gets its permissions depends on whether you're using a domain account or a local account (recommended) for the SOC account.
If you're in doubt or can't remember if your ArcGIS Server's SOC account is a local account or a domain account, you can do several things:
For security reasons, the ArcGIS Server documentation recommends using a local account for the SOC account. If you used a local account, you need to create an identical local SOC account on the ArcGIS Data Appliance. Follow these instructions to create the account:
When using local accounts for the SOC account, you must create the SOC account on the ArcGIS Data Appliance.
Once you've created this local SOC account, you don't need to explicitly grant it permissions to any folders on the appliance. This is because Windows automatically adds the new account to the "Users" group, which has Read access to all of the necessary files on the appliance. Additionally, when you shared the cache and source_documents folders, the Windows "Everyone" group (which includes the SOC account) was granted Change (or Write) access to the shared folders. This is how your local SOC account gets permissions to access the shared folders.
If you change the Windows defaults to remove permissions for the Users or Everyone groups, you will need to explicitly grant the local SOC account both share and file (NTFS) permissions to the cache and source_documents folders.
If you designated a domain account as the SOC account, you will need to add it to the Windows "Users" group on the data appliance. Members of the Users group have Read access to all files on the appliance. To add the SOC account to the Users group, follow these steps:
When you shared the cache and source_documents folders on the device, the Windows "Everyone" group was granted Change (or Write) access to the shared folders. Thus, the SOC account gets its share permissions by virtue of belonging to the Everyone group, and its file (NTFS) permissions by being in the Users group.
If you change the Windows defaults to remove permissions for the Users or Everyone groups, you will need to explicitly grant the local SOC account both share and file permissions to the cache and source_documents folders.
NOTE: In the previous sections of this document, you worked with the ArcGIS Data Appliance. Now, you'll switch to configuring your GIS server. To complete the next step, you need to be able to access your Web server administration software and Manager.
ArcGIS Server maintains a list of directories in which it can find map and globe cache tiles. You need to explicitly add cache directories to this list. It's possible that you have a cache directory already in your existing ArcGIS Server deployment. Whether you do or not, you need to add a new cache directory that references the ArcGIS Data Appliance.
Click a link to view the steps for your configuration.
If you're using ArcGIS Server 9.3.1 or 10.0, skip to step 4B: Add the cache directory to your server. You don't need to complete step 4A.
If you're using ArcGIS Server 9.3, first you need to create a virtual directory. Then, you add the cache directory to your server.
A. Create a virtual directory that references the cache directory
If you're using ArcGIS Server 9.3, before you add the 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_bc directory on the ArcGIS Data Appliance Basemap Collection.
Instructions for creating a virtual directory in Internet Information Services (IIS) 6 are provided. Even if you are using a different Web server, you may find these instructions helpful when configuring your virtual directory.
A successfully created virtual directory that references the ArcGIS Data Appliance.
B. Add the cache directory to your server
Once you've given the SOC account permissions to access the cache_bc folder if you're using ArcGIS Server 9.3, 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:Click the GIS Server tab.
NOTE: For ArcGIS Server 9.3 and 9.3.1, ArcGIS Server for the Microsoft .NET Framework deployments with REST applications must configure an IIS application pool to run using the ArcGIS Web Services user that was established/created during the ArcGIS Server post install. This is not necessary for ArcGIS Server for Java Platform installations using REST applications. To do this, see Create an application pool to improve system performance. The application pool is created automatically with ArcGIS Server 10.0.
First you need to mount the shares you created, and for ArcGIS Server 9.3 you need to create a virtual directory in Apache. Then you add the cache directory to your server.
A. Mount the shares you just created
mount.cifs //esri_data/source_bc /media/SourceWorld -o user=demo_user,password=demo
mount.cifs //esri_data/cache_bc /arcgis/server/serverdir/arcgiscache/ -o user=demo_user,password=demo
B. Create a virtual directory in Apache
For ArcGIS Server 9.3.1 or 10.0, skip to step 4C: Add the cache directory to your server.
For ArcGIS Server 9.3, you need to create a virtual directory that will reference the directories on the ArcGIS Data Appliance Basemap Collection. A virtual directory allows client applications to access the cache directory using a URL, which is often the fastest way to get the tiles.
Apache has a concept of virtual directories which maps a URL path to a location on disk. It is necessary to create a virtual directory to work with the cached content on the ArcGIS Data Appliance.
## Entry for the data appliance (Basemap Collection)
Alias /dataapp/cache_bc "//esri-da-01/cache_bc"
C. Add the cache directory to your server
Once you've mounted the shares, and created the virtual directory if you're using ArcGIS Server 9.3, 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:
The most important step for deploying the ArcGIS Data Appliance Basemap Collection is to create map services. These services will reference the caches and map documents on the appliance. You create these services the same way you create any other ArcGIS Server service.
Follow these instructions for each 2D map service that you want to create:
For specific instructions on how to connect to your services and create basemaps from them, see the appropriate user guide for the ArcGIS application you are using: