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.PatchesDirConfigData.Portal.Installer.PatchInstallOrder
- ArcGIS Server
ConfigData.Server.Installer.PatchesDirConfigData.Server.Installer.PatchInstallOrder
- ArcGIS Data Store
ConfigData.DataStore.Installer.PatchesDirConfigData.DataStore.Installer.PatchInstallOrder
- ArcGIS Web Adaptor (IIS)
ConfigData.WebAdaptor.Installer.PatchesDirConfigData.WebAdaptor.Installer.PatchInstallOrder
- ArcGIS GeoEvent Server
ConfigData.GeoEventServer.Installer.PatchesDirConfigData.GeoEventServer.Installer.PatchInstallOrder
- ArcGIS Workflow Manager Server
ConfigData.WorkflowManagerServer.Installer.PatchesDirConfigData.WorkflowManagerServer.Installer.PatchInstallOrder
- ArcGIS Mission Server
ConfigData.Server.Installer.PatchesDirConfigData.Server.Installer.PatchInstallOrder
- ArcGIS Notebook Server
ConfigData.Server.Installer.PatchesDirConfigData.Server.Installer.PatchInstallOrder
Option 1: Download and install all available patches for the specified version.
- In your JSON Configuration file set
ConfigData.DownloadPatchesattribute to true. - Patches for the specified product and version are downloaded from the internet to the path defined in
ConfigData.*.Installer.PatchesDirattribute. - When the path defined for
ConfigData.*.Installer.PatchesDirattribute 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.DownloadPatchesattribute to true. - Define an array of patch (.msp) files to be downloaded/installed using
ConfigData.*Installer.PatchInstallOrderattribute. - Patches are downloaded from the internet to the path defined in
ConfigData.*.Installer.PatchesDirattribute, and installed in the exact order defined inConfigData.*Installer.PatchInstallOrderattribute. - When the path defined for
ConfigData.*.Installer.PatchesDirattribute 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.DownloadPatchesattribute to false (default value). - Manually download patches to the path defined in
ConfigData.*.Installer.PatchesDirattribute. - When
ConfigData.*Installer.PatchInstallOrderis not defined, then the module will install all patches that reside inConfigData.*.Installer.PatchesDirin a random order. - When
ConfigData.*.Installer.PatchInstallOrderis 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.PatchInstallOrderso 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"
]