V2. Upgrade an ArcGIS Enterprise deployment - Esri/arcgis-powershell-dsc GitHub Wiki

When you have deployed ArcGIS Enterprise using the PowerShell DSC Module, you can easily and quickly upgrade to each new version of the software. You do not need to uninstall any software component.

Prepare to upgrade

Log in to My Esri. Download your latest ArcGIS Enterprise software installation files and licenses to the machine.

If there is a newer version of the PowerShell DSC Module in this repository, add it to your machine using one of two options:

  1. Clone this repository to your local machine.
  2. Install the module from your PowerShell Gallery using the command Install-Module arcgis, then download the SampleConfigs folder from this GitHub repository.

Edit your configuration files

Retrieve all of the JSON configuration files you used in your initial installation effort. You only need to make three changes to each file:

  1. Modify the Version parameter to match the version you are upgrading to.
  2. Add a new parameter, OldVersion, and specify it as the version you are upgrading from.
  3. Change the paths to the installer and authorization files you obtained from My Esri.

Run the upgrade

In PowerShell DSC, run the Configure-ArcGIS cmdlet and provide the path to each configuration file used as a comma-separated list - indicated here with the placeholder Path to Configuration JSON file. Credential is an optional argument.

Configure-ArcGIS -ConfigurationParametersFile [Path to Configuration JSON File](/Esri/arcgis-powershell-dsc/wiki/Path-to-Configuration-JSON-File) -Mode Upgrade -Credential [Config RunAs - Optional