ArcGIS Enterprise
Esri

Upgrade highly available base ArcGIS Enterprise deployment using Chef automation

On Windows, upgrade highly available base ArcGIS Enterprise deployment using Chef automation.

  1. Login to the standby machine first.
    1. Download and install Chef client 14 (if older Chef Client version is already installed, update it to version 14).
    2. Upload the 10.8.1 installation setup archive files to a folder, e.g. C:\temp folder.
      • ArcGIS_Web_Adaptor_for_Microsoft_IIS_1081_175217.exe
      • Portal_for_ArcGIS_Windows_1081_175214.exe
      • ArcGIS_Server_Windows_1081_175203.exe
      • ArcGIS_DataStore_Windows_1081_175216.exe
      • Portal_for_ArcGIS_Web_Styles_Windows_1081_175215.exe
    3. Obtain Portal for ArcGIS 10.8 authorization (.json file) and ArcGIS Server 10.8 authorization files.
    4. Download the ArcGIS Cookbook version 3.6.0 to the EC2 instance; unzip it; copy over cookbooks folder inside it to replace the existing C:\chef\cookbooks folder.
    5. Using a text editor, open the C:\Chef\node.json file and modify the following parameters, like the sample base_enterprise_ha_windows_standby_step1.json file.
      • Update the node['arcgis']['version'] to 10.8.1.
      • Update node['arcgis']['portal']['authorization_file'] for the new Portal for ArcGIS license files.
      • Update node['arcgis']['server']['authorization_file'] for the new ArcGIS Server authorization file.
      • Define node ['arcgis'][repository']['archives'] for the path to 10.8.1 setups.
      • Add "recipe[arcgis-enterprise::webstyles]" to the runlist if needed.
      • Ensure the following recipes are defined in the "run-list": "recipe[arcgis-enterprise::system]", "recipe[arcgis-enterprise::install_portal]", "recipe[arcgis-enterprise::install_portal_wa]", "recipe[arcgis-enterprise::webstyles]", "recipe[arcgis-enterprise::server]", "recipe[arcgis-enterprise::server_wa]", "recipe[arcgis-enterprise::stop_datastore]", "recipe[arcgis-enterprise::install_datastore]"
    6. Open a command line windows as administrator, run

      chef-solo -j c:\chef\base_enterprise_ha_windows_standby_step1.json

  2. Once the standby Chef-Run has completed, login to the primary machine next.
    1. Download and install Chef client 14 (if older Chef Client version is already installed, update it to version 14).
    2. Upload the 10.8.1 installation setup archive files to a folder, e.g. C:\temp folder.
      • ArcGIS_Web_Adaptor_for_Microsoft_IIS_1081_175217.exe
      • Portal_for_ArcGIS_Windows_1081_175214.exe
      • ArcGIS_Server_Windows_1081_175203.exe
      • ArcGIS_DataStore_Windows_1081_175216.exe
      • Portal_for_ArcGIS_Web_Styles_Windows_1081_175215.exe
    3. Obtain Portal for ArcGIS 10.8 authorization (.json file) and ArcGIS Server 10.8 authorization files.
    4. Download the ArcGIS Cookbook version 3.6.0 to the EC2 instance; unzip it; copy over cookbooks folder inside it to replace the existing C:\chef\cookbooks folder.
    5. Using a text editor, open the C:\Chef\node.json file and modify the following parameters, like the sample base_enterprise_ha_windows_primary_step2.json file.
      • Update the node['arcgis']['version'] to 10.8.1.
      • Update node['arcgis']['portal']['authorization_file'] for the new Portal for ArcGIS license files.
      • Update node['arcgis']['server']['authorization_file'] for the new ArcGIS Server authorization file.
      • Define node ['arcgis'][repository']['archives'] for the path to 10.8.1 setups.
      • Add "recipe[arcgis-enterprise::webstyles]" to the runlist if needed.
      • Ensure the following recipes are defined in the "run-list": "recipe[arcgis-enterprise::system]", "recipe[arcgis-enterprise::install_portal]", "recipe[arcgis-enterprise::webstyles]", "recipe[arcgis-enterprise::portal]", "recipe[arcgis-enterprise::portal_wa]", "recipe[arcgis-enterprise::server]", "recipe[arcgis-enterprise::server_wa]", "recipe[arcgis-enterprise::install_datastore]", "recipe[arcgis-enterprise::datastore_prepare_upgrade]", "recipe[arcgis-enterprise::datastore]"
    6. Open a command line windows as administrator, run

      chef-solo -j c:\chef\base_enterprise_ha_windows_primary_step2.json

  3. Once the Primary Chef-Run has completed, log back into the standby machine to configure the standby Portal Web Adaptor.
    1. Using a text editor, open the C:\Chef\base_enterprise_ha_windows_standby_step1.json file and update the recipe run-list to only use "recipe[arcgis-enterprise::portal_wa]", like the sample base_enterprise_ha_windows_standby_step3.json file. Only following recipe is defined in the "run-list": "recipe[arcgis-enterprise::portal_wa]"
    2. Open a command line windows as administrator, run

      chef-solo -j c:\chef\base_enterprise_ha_windows_standby_step3.json

ArcGIS Enterprise

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2018 Environmental Systems Research Institute, Inc. Privacy Legal