Best Practice Updates Query #564
-
I have several environments deployed at 11.1 at the minute, with security certificates expiring and looking to update them via DSC. Looking for guidance on best practice for configuration files when updating an existing environment to allow for new certificates to be applied. Would it be more appropriate to:
For option 1 I'm fairly certain it would only modify by installing the updated certificates as all other components were configured a year ago, but am not 100% sure it wouldn't overwrite ay existing content / reinstall to factory. I hope it wouldn't do this, but would be good to confirm before running it! For option 2 above I'm not 100% that it wouldn't 'undo' configurations already applied during initial install to bring it into alignment with the minimised configuration. Thanks! Dean |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @dmoiler, I recommend option 1 with an addition to using the latest version of the ArcGIS Module. The module is idempotent, meaning it has checks in place where it will skip installing the software, and if the site exists it skips site creation. It will check the existing certificate's thumbprint against the new certificate's thumbprint, if they don't match then it will replace the existing one with the new one. If the thumbprints match it will skip importing it. https://github.com/Esri/arcgis-powershell-dsc/wiki/Upgrade-PowerShell-DSC-Module-for-ArcGIS Thanks, |
Beta Was this translation helpful? Give feedback.
Hi @dmoiler,
I recommend option 1 with an addition to using the latest version of the ArcGIS Module. The module is idempotent, meaning it has checks in place where it will skip installing the software, and if the site exists it skips site creation. It will check the existing certificate's thumbprint against the new certificate's thumbprint, if they don't match then it will replace the existing one with the new one. If the thumbprints match it will skip importing it.
https://github.com/Esri/arcgis-powershell-dsc/wiki/Upgrade-PowerShell-DSC-Module-for-ArcGIS
Thanks,
Cameron K.