ArcGIS Server 10.5.1 is provided as a setup program and is executed through a utility named Setup.exe.
Caution:
Upgrading ArcGIS Server will restart all of your services. You should consider your ArcGIS Server site offline during the upgrade.
Considerations before upgrading ArcGIS Server
Before upgrading, carefully review the following information.
- Can I upgrade directly to ArcGIS Server 10.5.1 ?
- Do I need to uninstall my previous version of ArcGIS Server before installing version 10.5.1?
- What is the order for upgrading my ArcGIS Server deployment to 10.5.1?
- Do I need to reauthorize when upgrading to 10.5.1?
- Do I need to back up any information before performing the upgrade?
- If I've federated my ArcGIS Server with a portal, do I need to upgrade ArcGIS Server when I upgrade the portal?
- If I've federated my ArcGIS Server with a portal, should I unfederate before upgrading?
- What else do I need to consider before upgrading ArcGIS Server?
Can I upgrade directly to ArcGIS Server 10.5.1?
Yes. For example, if you have version 10.2.1 installed, running the 10.5.1 setup will automatically upgrade it 10.5.1. There is no need for you to obtain and install each released version in order to upgrade to 10.5.1.
Do I need to uninstall my previous version of ArcGIS Server before installing version 10.5.1?
No, but you can. If you have an earlier version of ArcGIS Server installed, the setup will automatically begin the upgrade to 10.5.1.
What is the order for upgrading my ArcGIS Enterprise deployment to 10.5.1?
Whether you are performing an in-place upgrade or uninstalling the previous version and installing the newer software, the recommended order to upgrade your 10.5.1 deployment is the following:
- Portal for ArcGIS
- ArcGIS Web Adaptor (for Portal)
- ArcGIS Server
- ArcGIS Web Adaptor (for Server)
- ArcGIS Data Store (upgrade primary first, then stand-by)
Do I need to reauthorize when upgrading to 10.5.1?
If you are upgrading to 10.5.1 from 10.5, you do not need to reauthorize the software. However, if you are upgrading from a version previous to 10.5, you will need to authorize your software with a new authorization file for 10.5.1. You can obtain new authorization files from My Esri.
Do I need to back up any information before performing the upgrade?
For steps on how to back up your ArcGIS Server site prior to upgrading, see Back up and restore your ArcGIS Server site configuration. Note that the backup cannot be used in the upgraded site. It can only be used to restore your site at the earlier release if you need to roll back to the previous version.
If you are using ArcGIS Data Store with a hosting server, create a full backup of the data store before upgrading.
If I've federated my ArcGIS Server with a portal, do I need to upgrade ArcGIS Server when I upgrade the portal?
For your portal deployment to function correctly, your portal and hosting server versions need to be the same. However, as of 10.5.1, a portal can federate with a 10.5 server as long as it is not set as a hosting server, GeoAnalytics server or raster analysis server.
If the ArcGIS Server site you've federated with the portal includes multiple machines, upgrade your ArcGIS Server machines sequentially. If you have ArcGIS Web Adaptor (single or multiple) configured with your ArcGIS Server site, you also need to update the Web Adaptors to the same version as ArcGIS Server.
If I've federated my ArcGIS Server with a portal, should I unfederate before upgrading?
No. Do not unfederate when you upgrade your deployment. Doing this will adversely impact your portal deployment. For example, when you unfederate, all hosted layer items remain in the portal but they are disconnected from their services in ArcGIS Server. This means that members cannot access, share, or use these services in the portal. Additionally, any existing ArcGIS Server services that were imported during the federation process are removed from the portal and are no longer available.
What else do I need to consider before upgrading ArcGIS Server?
- Before you upgrade your ArcGIS Server site, ensure that any databases you use are supported at the upgraded ArcGIS Server release. See the relevant Relational Database Management Systems requirements topic for details.
- ALTIBASE database requirements
- Dameng database requirements
- IBM DB2 database requirements
- IBM Informix database requirements
- IBM Netezza Data Warehouse Appliance requirements
- Microsoft SQL Server database requirements
Note:
Starting with 10.4, connecting to an existing SQL Server 2008 or SQL Server 2008 R2 geodatabase requires that a newer SQL Server client be installed on the ArcGIS Server machine. See KB #46427 for details. You cannot create new geodatabases in SQL Server 2008 and SQL Server 2008 R2 starting at 10.4.
- Oracle database requirements
- PostgreSQL database requirements
- SAP HANA database requirements
- SQLite database requirements
- Teradata Data Warehouse Appliance requirements
- If your site is in read-only mode, the site mode will be set to editable for you when you upgrade. After all machines in your site have been successfully upgraded, the site will remain in editable mode. You can switch back to read-only mode once your upgrade is complete.
- The 10.0 SQL Server-based identity store has been deprecated as of 10.5. Your site will be changed to use a built-in user and group store if you upgrade to 10.5.1 and previously used a SQL Server-based identity store.
Upgrade a single machine site
If you have a single machine ArcGIS Server site, follow the steps in the sections below to upgrade the ArcGIS Server machine to version 10.5.1. The following options are available to upgrade your ArcGIS Server site:
Upgrade a multiple machine site
If you have a multiple machine ArcGIS Server site, you need to upgrade each machine in the site to version 10.5.1. It's recommended that you upgrade each ArcGIS Server machine sequentially; that is, wait until the first machine is upgraded before applying the upgrade on the next one. Each ArcGIS Server machine in the site must be at the same version number and be licensed exactly the same.
The following options are available to upgrade your ArcGIS Server machines. Repeat the upgrade steps on each ArcGIS Server machine to upgrade your site to version 10.5.1.
Upgrade using the setup program
Note:
If you encounter the following error, you launched setup.msi instead of setup.exe:
"Upgrade patch not found. ArcGIS 10.1 for Server cannot be directly upgraded to 10.5.1 without this patch. See the installation guide for more information."
It is recommended that you use setup.exe to upgrade ArcGIS Server to 10.5.1. If organizational restraints prevent you from using setup.exe, see Upgrading an earlier version silently using setup.msi.
During the installation, read the license agreement and accept it, or exit if you do not agree with the terms.
The setup program displays the features that will be installed.
If you see the following dialog box after the Select Features dialog box, Microsoft .NET Framework 4.5 was not found on your machine. The .NET Extension Support feature requires Microsoft .NET Framework 4.5. The .NET Extension Support feature is required for server object extension (SOE) and server object interceptor (SOI) development and use. If you intend to develop or use SOEs or SOIs, follow the instructions on the dialog box to install the .NET Extension Support feature.
Legacy:
In earlier versions, the ArcGIS Server setup required Microsoft .NET Framework 3.5 Service Pack 1 (SP1) to install the .NET Extension Support feature.
The ArcGIS Server account used by your existing installation is prepopulated in the ArcGIS Server Account input box. Provide the password for the ArcGIS Server account. Typically, this is the password you defined when installing the software. If the password has changed since you installed the software, for example, by using the Configure ArcGIS Server Account Utility, you need to provide the password you designated when modifying the account.
If the password is not validated successfully, an error message is displayed indicating the password is invalid. If you are unsure of the password for the ArcGIS Server account, contact your system administrator or reset your password using the Configure ArcGIS Server Account Utility. For more information, see The ArcGIS Server account.
If you select the second option, I have a configuration file with the account information generated by a previous run of this setup, the credentials in the server configuration file must be the same credentials used by your existing ArcGIS Server site.
If you select Specify the account name and password and manually enter the ArcGIS Server account information, the next dialog box presents you with the option to export a server configuration file. If you do not want to export a configuration file, click Next, and accept the default Do not export configuration file option. If you want to export a server configuration file for future installations, select Export configuration file. Browse to a secure folder and provide a name for the configuration file.
Note:
There are several reasons you may want to export a server configuration file:
- Create the same ArcGIS Server account when installing on multiple machines.
- Store the account for use when upgrading to a newer version.
- Perform a silent installation where the user name and password are encrypted.
Caution:
When exporting a server configuration file to a network share, the Local System account on the machine where ArcGIS Server is being installed must have write permissions to the network share. For example, if you're installing ArcGIS Server on a machine named Quick, the Local System account on Quick must have write permission to the network share. If the permissions are not set, the server configuration file may not be exported successfully. If you are unsure how to correctly set permissions for the network share, contact your system administrator or export the server configuration file locally and copy it to the network share.
To complete the installation, follow the directions on the screen.
After the installation completes, the software authorization wizard opens for you to reauthorize ArcGIS Server with a new license file. You can access your new authorization files in My Esri. You can choose to authorize your software later, but you must complete this workflow before moving on to the next step of the upgrade process.
Note:
If you are upgrading to 10.5.1 from 10.5, you do not need to reauthorize the software.
Note:
If you will be authorizing your ArcGIS Server as multiple licensing roles, you will need to run the software authorization wizard again, for a total of once for each licensing role you apply to the machine.
- Once authorized, ArcGIS Server Manager will automatically open. Click Continue Server Upgrade to complete the upgrade. You must use ArcGIS Server Manager on the local machine where you are running the upgrade to complete this step. You cannot Continue Server Upgrade through a Web Adaptor or load balancer.
Caution:
If errors are returned when you Continue Server Upgrade, you may need to address the errors before you can continue. For example, if you encounter an error about an invalid license, you will need to reauthorize the software using a valid license. You may then retry by clicking Continue Server Upgrade again.
If you configured ArcGIS Web Adaptor to work with your site, you'll need to install 10.5.1 as well. For instructions, see the following applicable Web Adaptor:
- Installing ArcGIS 10.5.1 Web Adaptor (IIS)
- Installing ArcGIS 10.5.1 Web Adaptor (Java Platform) on Windows
- Installing ArcGIS 10.5.1 Web Adaptor (Java Platform) on Linux
If you have a multiple machine ArcGIS Server site, repeat the steps above on the remaining ArcGIS Server machines in your site.
- If you will use the upgraded ArcGIS Server as an ArcGIS GeoAnalytics Server or for raster analysis with ArcGIS Image Server and you have not previously used either of these roles, follow these steps to use your upgraded ArcGIS Server site for these purposes:
- Be sure you authorized the site with an ArcGIS GeoAnalytics Server or ArcGIS Image Server licensing role.
- Sign in to the portal federated with your site. Sign in as a member of the default administrator role. The portal URL is in the format https://webadaptorhost.domain.com/<webadaptorname>/home.
- Browse to My Organization > Edit Settings > Servers.
- On the Servers page, click Validate Servers to verify that the federated server you want to use as an ArcGIS GeoAnalytics Server or raster analysis server can still communicate with the portal. A green check mark appears next to each valid federated server.
- Once you verify the server is valid, configure it as the portal's GeoAnalytics or raster analysis server by choosing the federated server from the Feature Analysis - GeoAnalytics Tools or Raster Analysis drop-down list.
- If you are upgrading from a version previous to 10.5 (10.4.1 or earlier), restart the ArcGIS Server service on the machines in the portal's hosting server and the machines in the federated ArcGIS GeoAnalytics Server and raster analysis server (ArcGIS Image Server).
If you want the ability to update passwords in registered and managed database connections used by existing services, run the ExternalizeConnectionStrings.bat command utility to update existing service connections.
Silently upgrade
When silently upgrading using setup.exe, you must specify the ArcGIS Server account used by the software. Typically, this is the account you defined when installing the software. If the account has changed since you installed, for example, by using the Configure ArcGIS Server Account Utility, you need to provide the user name and password you designated when modifying the account.
If you do not specify the ArcGIS Server account, or it does not match the ArcGIS Server account used by your current installation, the installation process displays a message indicating the credentials could not be validated. As a result, the installation will exit.
You can determine the ArcGIS Server account by accessing the Configure ArcGIS Server Account Utility from the Start menu on the machine hosting ArcGIS Server. The ArcGIS Serverr account is listed in the dialog box. If you are unsure of the password for the ArcGIS Server account, contact your system administrator or reset your password using the Configure ArcGIS Server Account Utility. For more information, see The ArcGIS Server account.
In the following example, the ArcGIS Server account used by the software is myaccount:
<path to ArcGIS Server setup download folder>\Setup.exe /qb USER_NAME=myaccount PASSWORD=mypassword
After the installation completes, the software authorization wizard opens for you to reauthorize ArcGIS Server with a new license file. You can access your new authorization files in My Esri. You can choose to authorize your software later, but you must complete this workflow before moving on to the next step of the upgrade process.
Note:
If you will be authorizing your ArcGIS Server as multiple licensing roles, you will need to run the software authorization wizard again, for a total of once for each licensing role you apply to the machine.
Once authorized, ArcGIS Server Manager will automatically open. Click Continue Server Upgrade to complete the upgrade.
Note:
You must use ArcGIS Server Manager on the local machine where you are running the upgrade to complete this step. You cannot Continue Server Upgrade through a Web Adaptor or load balancer.
If you configured ArcGIS Web Adaptor to work with your site, you'll need to install 10.5.1 as well. For instructions, see the following applicable Web Adaptor:
- Installing ArcGIS 10.5.1 Web Adaptor (IIS)
- Installing ArcGIS 10.5.1 Web Adaptor (Java Platform) on Windows
- Installing ArcGIS 10.5.1 Web Adaptor (Java Platform) on Linux
Note:
If you have a multiple machine ArcGIS Server site, repeat the silent upgrade above on the remaining ArcGIS Server machines in your site.
If you want the ability to update passwords in registered and managed database connections used by existing services, run the ExternalizeConnectionStrings.bat command utility to update existing service connections.
Update services to allow password changes
GIS services use the credentials of ArcGIS Server's registered and managed databases to access data. If the service connects to the registered or managed database using a database user, and that user's password changes, the service can no longer access the data. Starting with ArcGIS 10.4, newly published services are configured to allow you to update database passwords. However, if you upgrade ArcGIS Server 10.3.1 or an older release to 10.5.1 and have existing map, feature, or image services that access a database using a database user, you need to run the ExternalizeConnectionStrings.bat command utility to update the services if you want the ability to update registered or managed database passwords used by these services.
Note:
Although the ExternalizeConnectionStrings.bat command will update the database connection, resetting the password will not apply to existing geoprocessing services or their associated result map services. However, you can republish geoprocessing services to your upgraded ArcGIS Server to obtain the type of connection that can be updated to use a new password.
- After you upgrade ArcGIS Server on all machines in the ArcGIS Server site, sign in to ArcGIS Server Manager as an ArcGIS Server administrator and validate all registered databases. Go to Site > Data Store and click Validate All.
- If any registered database connections are invalid, fix the connection.
- Log in to one of the ArcGIS Server machines as a Windows administrator on that machine.
- Open a command prompt as a Windows administrator (Run As Administrator) and change the directory to <ArcGIS Server installation directory>\ArcGIS\Server\tools\ExternalizeConnectionStrings.
- Run ExternalizeConnectionStrings.bat to update connection functionality for existing map, feature, or image services. For example
C:\Program Files\ArcGIS\Server\tools\ExternalizeConnectionStrings>ExternalizeConnectionStrings.bat
This will return a list of all services running on the ArcGIS Server site, with messages indicating whether the connection was updated for the service.