Closed Ayushyadav19 closed 1 year ago
Hi @Ayushyadav19,
The patches recipe in Chef Cookbooks for ArcGIS v4.0.0 is now in arcgis-repository cookbook recipe[arcgis-repository::patches]
because it downloads patches for specific products to a central location. Then recipe[arcgis-enterprise::install_patches]
is used to install the patches.
Here are some examples for 10.9.1.
For more details and instructions check out the following resources:
https://esri.github.io/arcgis-cookbook/tutorials/arcgis-enterprise-base-patches/4.0.0.html
https://esri.github.io/arcgis-cookbook/cookbooks/arcgis-repository/4.0.0.html#patches
https://esri.github.io/arcgis-cookbook/cookbooks/arcgis-enterprise/4.0.0.html#install_patches
Thanks, Cameron K.
Thanks, @cameronkroeker
Thanks, @cameronkroeker
I would like to also note that the reason for listing out the patch file names is sometimes necessary is because in some cases the patch install order matters. For example, ArcGIS Server 10.9.1 (Windows) requires the Setup Program patch, to be installed first. However, in use cases where the patch install order doesn't matter you can use a wild card method instead.
Below is an example, it will install all patches (random order) in /opt/software/archives/patches
directory that contain the file names ArcGIS-1091-S-*.tar
, ArcGIS-1091-PFA-*.tar
, and ArcGIS-1091-DS-*.tar
.
Here is an example:
{
"arcgis": {
"version": "10.9.1",
"run_as_user": "arcgis",
"repository": {
"patches": "/opt/software/archives/patches"
},
"portal": {
"install_dir": "/opt",
"patches": [
"ArcGIS-1091-PFA-*.tar"
]
},
"server": {
"install_dir": "/opt",
"patches": [
"ArcGIS-1091-S-*.tar"
]
},
"data_store": {
"install_dir": "/opt",
"patches": [
"ArcGIS-1091-DS-*.tar"
]
},
"web_adaptor": {
"patches": []
}
},
"run_list": [
"recipe[arcgis-enterprise::install_patches]"
]
}
Thanks, Cameron K.
This is great! Thanks @cameronkroeker
Hi @cameronkroeker ,
The latest version (4.0) of arcgis-enterprise cookbook didn't contain the patches recipe although it has install_patches recipe. But it will be easy and convenient to provide a patches folder instead of providing individual patches for each ArcGIS enterprise components.
The cookbook (arcgis-enterprise) version (3.8) contains both the recipes i,e. install_patches + patches.
Kindly have a look into it and I request you add and update the cookbook if possible.
Thanks Ayush