Installing ArcGIS for Server on multiple machines
Upgrading to 10.3.1? For more information, see Existing ArcGIS for Server users.
ArcGIS for Server has a scalable architecture that allows deployment sizes ranging from one to many machines. You may need to consider a distributed installation of ArcGIS Server so that you can achieve an acceptable level of performance for the number of users accessing the system.
All machines in an ArcGIS Server site have the GIS server component installed. On the first GIS server machine you configure, you'll need to create the site. Subsequently, you can add or join additional GIS server machines to the site. Each GIS server in the site must be at the same version number and be licensed exactly the same.
When you create a site, you determine where to store the critical files and configuration information for your site. This directory is called the configuration store. Your site also has server directories that store service output files, geoprocessing jobs information, service definitions, cache tiles, and other items. When you add a machine to the site, it is configured to point to the configuration store and server directories. In a multiple-machine site, you must share the configuration store and server directories so that the other GIS server machines can access them.
You might choose to put the configuration store on a machine or disk that is not dependent on the GIS server, such as a fault-tolerant file server. This allows you to add or remove machines from the site without worrying which of them has the configuration store installed. This is especially important in cloud deployments where automatic scaling mechanisms might add and remove machines from your site without any intelligence built in about which holds the configuration store.
The steps below explain how to configure a multiple-machine deployment of ArcGIS Server. The site is created on Machine A, then Machine B is added to the site. If you've already been running ArcGIS Server on a single GIS server and you're looking to expand your site, see the following topic instead: Expanding from one GIS server to multiple GIS servers.
- On both machines, adjust your firewalls to open the ports described in Ports used by ArcGIS Server.
- Install and authorize ArcGIS for Server on Machine A and Machine B with Enterprise licenses. This requires running the Software Authorization Wizard on each machine. The Software Authorization Wizard is launched at the end of the ArcGIS for Server installation. You can also access the Software Authorization Wizard by navigating to the installed shortcut. The installed version of ArcGIS Server must be the same on each machine and the exact same license must be applied to each machine.
Make sure you install using the same operating system user on both machines. For example:
- Install ArcGIS for Server on Machine A at /data/ags as user ags, with a user ID of 58103.
- Install ArcGIS for Server on Machine B at /data/ags with the same user name and ID (ags, user ID 58103).
- Create and share two directories on your network, granting the installation user as the owner. One should be for the configuration store and the other for your server directories. You must grant at least 700 permissions to the folders. For example:
Shared network directories that are hidden or use special characters (for example, $) are not supported by ArcGIS Server.
- Create a directory called config-store. Specify the owner as ags, with the user ID of 58103. Grant at least 700 permissions to the directory.
- Share the config-store folder so that both machines can access the directory using the same path, for example, /net/myserver/config-store.
- Create a directory called arcgisserver. Specify the owner as ags, with the user ID of 58103. Grant at least 700 permissions to the directory.
- Share the arcgisserver folder so that both machines can access the directory using the same path, for example, /net/myserver/arcgisserver.
Even if the directories reside on the same machine that you will use when creating the site, you must still manually create and share the directories and reference them through a network path.
- Open ArcGIS Server Manager on Machine A and click Create New Site.
- To create a new site, you are required to define a user name and password as the primary site administrator. Choose a user name and password and click Next.
This name and password is recognized only by ArcGIS Server; it is not an operating system account, and it is managed separately from the user accounts in your user store. The primary site administrator has unrestricted access to the ArcGIS Server site. This account is generally used to create the ArcGIS Server site and to configure and manage security. Do not confuse the primary site administrator account with the ArcGIS Server account you provided during the ArcGIS Server installation.
- Type the paths to your server directory and configuration store folders that you set up earlier and click Next.
Use the network path share you set up earlier (for example, /net/myserver/arcgisserver) so that all machines in the site can see the location.
- Click Finish to create your site or Back if you want to make changes.
- Type the user name and password of the primary site administrator account you chose when you created the site and click Login.
- Click Site > GIS Server > Machines.
- In the Machines module, click Add Machine.
- In the Add Machine window, enter the name of Machine B. You must type the exact name of the machine; do not use localhost.
The URL of machine B is entered automatically.
- If you're joining a site with multiple clusters, you'll see a drop-down list with available clusters. In this case, you only have one cluster (default), so click Add to add Machine B to your site.
Steps 9 through 12 demonstrate how to add a machine to your site. You can alternatively join Machine B to your site by opening ArcGIS Server Manager on Machine B and click Join An Existing Site. For step-by-step instructions, see Joining an existing site.
- Consider registering your data with your site. Data registration gives the server a list of locations that the server administrator has verified that the GIS server can access. Data registration also helps the GIS server understand how to adjust data paths as you publish across machines. If you attempt to publish a service that references data from an unregistered location, the data is copied to the server during the publishing operation. To learn more about this, see About registering your data with ArcGIS Server.
- Install and configure the ArcGIS Web Adaptor. The Web Adaptor provides a link between your enterprise web server and your ArcGIS Server site. It allows you to choose the port, address, and authentication settings that you want to use for incoming requests. It also allows you to prevent outside users from accessing Manager and the Administrator Directory.
See About the ArcGIS Web Adaptor to learn more.