ArcGIS 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 ArcGIS Server component installed. On the first ArcGIS Server machine you configure, you'll need to create the site. Subsequently, you can add or join additional ArcGIS Server machines to the site. Each ArcGIS 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 ArcGIS Server machines can access them.
You might choose to put the configuration store on a machine or disk that is not dependent on the ArcGIS Server, such as a fault-tolerant file server. This allows you to add or remove machines from the site without worrying about which of them has the configuration store installed. This is especially important in cloud deployments in which 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 machine and you're looking to expand your site, see Add an ArcGIS Server machine to a site.
- On both machines, adjust your firewalls to open the ports described in Ports used by ArcGIS Server.
- Install and authorize ArcGIS 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 Server installation. You can also access the Software Authorization Wizard by browsing to the installed shortcut. The installed version of ArcGIS Server must be the same on each machine and the same license must be applied to each machine.
Make sure you install using the same operating system user on both machines. The user account used to install ArcGIS Server will be the account used to run the software. Group users and all others must have at least execute permissions to the ArcGIS Server installation directory. Note that installing ArcGIS Server with the root account is not supported. For more information, see The ArcGIS Server account. The user account used to install on Machine A and B, for example, could be as follows:
- Install ArcGIS Server on Machine A at /data/ags as user ags, with a user ID of 58103.
- Install ArcGIS Server on Machine B at /data/ags with the same user name and ID (ags, user ID 58103).
If the machine you've installed ArcGIS Server on has multiple network interface controller (NIC) cards, you may want to specify which NIC card should handle network communication for the server. To do so, follow this workflow.
- 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 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 combination 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 > Server Configuration > 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.
- 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 clicking 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 ArcGIS Server can access. Data registration also helps ArcGIS 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, see About registering your data with ArcGIS Server.
- Install and configure 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.
Esri recommends using the serverScan.py script to check for security best practices with your ArcGIS Server following the upgrade.
Integrate the server with ArcGIS Enterprise
Though it can be deployed as stand-alone software, integrating ArcGIS Server with the ArcGIS Enterprise portal enables efficient, powerful workflows for your organization .There are three ways in which ArcGIS Server can be used with a portal:
- You can federate one or more ArcGIS Server sites with the portal to integrate its security and sharing models.
- You can assign a federated ArcGIS Server site to act as the portal's hosting server, allowing users to publish data and maps to a wider audience as web services.
- You can register individual services from any ArcGIS Server site with the portal, whether or not it is federated (or even if it is your own server).
Connect to the server in ArcGIS Desktop
Most of your work publishing services occurs in ArcGIS Desktop or ArcGIS Pro, where you create your maps, tools, and other content.
Connect to ArcGIS Server from ArcGIS Desktop explains the three types of connections between desktop GIS and ArcGIS Server: user connections, publisher connections, and administrative connections. The characteristics and steps to make each type of connection differ between ArcGIS Desktop and ArcGIS Pro.
In both ArcMap and ArcGIS Pro, you can make a user connection to your ArcGIS Server site. With a user connection, you can browse the server site's content from within your desktop application and add it to your maps. A user connection alone does not allow you to publish to the server or make administrative changes.
To publish a service directly from ArcMap, you can define a publisher connection to your server. Once you've done this, the connection information is saved on your machine, and you can reference it whenever you publish a service. You can also perform some server administration functions from ArcMap if you have made an administrative connection.
If you are working in ArcGIS Pro, you can connect to your ArcGIS Enterprise portal to share web maps, web layers, and other GIS content. The sharing process publishes one or more services to a federated ArcGIS Server site, which will power the content in the portal. You do not need to establish a direct connection with the server if it's federated with your portal. If you have a standalone ArcGIS Server site at 10.6 or later, you can make a publisher connection from ArcGIS Pro to publish services.