Download and Install patches for ArcGIS Enterprise - Esri/arcgis-powershell-dsc GitHub Wiki
Using ArcGIS Module to patch ArcGIS Enterprise
PowerShell DSC ArcGIS Module v4.0.0 and above can be used to automate the download and installation of ArcGIS Enterprise patches. The module can patch the following components:
- Portal for ArcGIS
ConfigData.Portal.Installer.PatchesDir
ConfigData.Portal.Installer.PatchInstallOrder
- ArcGIS Server
ConfigData.Server.Installer.PatchesDir
ConfigData.Server.Installer.PatchInstallOrder
- ArcGIS Data Store
ConfigData.DataStore.Installer.PatchesDir
ConfigData.DataStore.Installer.PatchInstallOrder
- ArcGIS Web Adaptor (IIS)
ConfigData.WebAdaptor.Installer.PatchesDir
ConfigData.WebAdaptor.Installer.PatchInstallOrder
- ArcGIS GeoEvent Server
ConfigData.GeoEventServer.Installer.PatchesDir
ConfigData.GeoEventServer.Installer.PatchInstallOrder
- ArcGIS Workflow Manager Server
ConfigData.WorkflowManagerServer.Installer.PatchesDir
ConfigData.WorkflowManagerServer.Installer.PatchInstallOrder
- ArcGIS Mission Server
ConfigData.Server.Installer.PatchesDir
ConfigData.Server.Installer.PatchInstallOrder
- ArcGIS Notebook Server
ConfigData.Server.Installer.PatchesDir
ConfigData.Server.Installer.PatchInstallOrder
Option 1: Download and install all available patches for the specified version.
- In your JSON Configuration file set
ConfigData.DownloadPatches
attribute to true. - Patches for the specified product and version are downloaded from the internet to the path defined in
ConfigData.*.Installer.PatchesDir
attribute. - When the path defined for
ConfigData.*.Installer.PatchesDir
attribute is a local path and does not exist, the module will create it. - Patches are installed in the order of the patch release date.
Option 2: Download and install a specific set of patches for the specified version.
- In your JSON Configuration file set
ConfigData.DownloadPatches
attribute to true. - Define an array of patch (.msp) files to be downloaded/installed using
ConfigData.*Installer.PatchInstallOrder
attribute. - Patches are downloaded from the internet to the path defined in
ConfigData.*.Installer.PatchesDir
attribute, and installed in the exact order defined inConfigData.*Installer.PatchInstallOrder
attribute. - When the path defined for
ConfigData.*.Installer.PatchesDir
attribute is a local path and does not exist, the module will create it.
Option 3: Manually download patches, but have the module perform the install.
- In your JSON Configuration file set
ConfigData.DownloadPatches
attribute to false (default value). - Manually download patches to the path defined in
ConfigData.*.Installer.PatchesDir
attribute. - When
ConfigData.*Installer.PatchInstallOrder
is not defined, then the module will install all patches that reside inConfigData.*.Installer.PatchesDir
in a random order. - When
ConfigData.*.Installer.PatchInstallOrder
is defined, then the module will install patches in the specified order.
Additional Information
- Patches can be downloaded and installed using the following modes:
-Mode Install
-Mode InstallLicense
-Mode InstallLicenseConfigure
-Mode Upgrade
- For ArcGIS Server 10.9.1 it is recommended to use
ConfigData.Server.Installer.PatchInstallOrder
so that the Setup Program Patch can be installed first. For example:
"PatchInstallOrder": [
"ArcGIS-1091-S-SP-Patch.msp",
"ArcGIS-1091-S-MR-PatchB.msp",
"ArcGIS-1091-S-Log4j-PatchB.msp",
"ArcGIS-1091-S-SEC2022U1-PatchB.msp",
"ArcGIS-1091-S-SEC2022U2-Patch.msp",
"ArcGIS-1091-S-MPS-Patch.msp",
"ArcGIS-1091-S-UNDM1-Patch.msp",
"ArcGIS-1091-S-UNDM2-Patch.msp",
"ArcGIS-1091-S-K1-Patch.msp",
"ArcGIS-1091-S-VRPG-Patch.msp",
"ArcGIS-1091-S-SQ-Patch.msp",
"ArcGIS-1091-S-UNDM3-Patch.msp",
"ArcGIS-1091-S-GSQ-Patch.msp",
"ArcGIS-1091-S-CPS-Patch.msp"
]