Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Ensure backup exists

  • Update the ARM template parameters to ensure the CSE will copy the new install media

    • Increase timestamp or remove CSE extension from VMs

  • Run ARM template to ensure proper infrastructure config and to re-run the Custom Scripts Extensions.

    • CSE will copy new install media and DSC templates

    • CSE will ensure the current ArcGIS PowerShell module is installed

  • Create a DSC upgrade template from the original deployment template

  • Remote desktop to WEB0 as user \egisadmin

  • Copy this template to the WEB0 VM and ensure that all passwords and paths are correct

  • Remote desktop to WEB0 as user cloud\argisservice

  • Handle multiple versions of the ArcGIS PowerShell Module

    • May need to update the ArcGIS PowerShell module

      • Get-InstalledModule -Name "ArcGIS" -RequiredVersion 1.1.3 | Uninstall-Module

  • Run the script as follows as the cloud\arcgisservice user

    • If there are auto-shutdown configurations in place and this script is starting late in the day then it may be prudent to disable auto-shutdown

Code Block
languagepowershell
# Powershell
Configure-ArcGIS `
-ConfigurationParametersFile 'D:\DSC\PowerShell DSC\some_upgrade_config.json `
-Mode Upgrade 

# Optional
-Credential [Config RunAs - Optional]
-DebugSwitch False

...