ArcGIS Enterprise
Esri

Upgrade highly available base ArcGIS Enterprise deployment using Chef automation

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

  1. ssh to the standby machine as ubuntu user first.
    1. Download and install Chef client 14 (if older Chef Client version is already installed, update it to version 14). The following command will download and install Chef Client 14.12.9:

      curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 14.12.9

    2. Upload the 10.8 installation setup archive files to a folder, e.g. /data/software_archives folder.
      • Web_Adaptor_Java_Linux_108_172992.tar.gz
      • Portal_for_ArcGIS_Linux_108_172989.tar.gz
      • ArcGIS_Server_Linux_108_172977.tar.gz
      • ArcGIS_DataStore_Linux_108_172991.tar.gz
      • Portal_for_ArcGIS_Web_Styles_Linux_108_172990.tar.gz
    3. Obtain Portal for ArcGIS 10.8 authorization (.json file) and ArcGIS Server 10.8 authorization files.
    4. Download the ArcGIS Cookbook version 3.5.0 to the EC2 instance; untar and unzip it; copy over cookbooks folder inside it to replace the existing /var/chef/cookbooks.
    5. Using a text editor, open the /etc/chef/node.json file and modify the following parameters, like the sample base_enterprise_ha_ubuntu_standby_step1.json file.
      • Update the node['arcgis']['version'] to 10.8.
      • 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 setups.
      • Add "recipe[arcgis-enterprise::webstyles]" to the runlist if needed.
      • Ensure the following recipes are defined in the "run-list": "recipe[apt]", "recipe[arcgis-enterprise::system]", "recipe[arcgis-enterprise::install_portal]", "recipe[arcgis-enterprise::webstyles]", "recipe[arcgis-enterprise::install_portal_wa]", "recipe[arcgis-enterprise::server]", "recipe[arcgis-enterprise::server_wa]", "recipe[arcgis-enterprise::install_datastore]"
    6. As ubuntu user, run the following command:

      sudo chef-solo -j /tmp/base_enterprise_ha_ubuntu_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). The following command will download and install Chef Client 14.12.9:

      curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 14.12.9

    2. Upload the 10.8 installation setup archive files to a folder, e.g. /data/software_archives folder.
      • Web_Adaptor_Java_Linux_108_172992.tar.gz
      • Portal_for_ArcGIS_Linux_108_172989.tar.gz
      • ArcGIS_Server_Linux_108_172977.tar.gz
      • ArcGIS_DataStore_Linux_108_172991.tar.gz
      • Portal_for_ArcGIS_Web_Styles_Linux_108_172990.tar.gz
    3. Obtain Portal for ArcGIS 10.8 authorization (.json file) and ArcGIS Server 10.8 authorization files.
    4. Download the ArcGIS Cookbook version 3.5.0 to the EC2 instance; untar and unzip it; copy over cookbooks folder inside it to replace the existing /var/chef/cookbooks.
    5. Using a text editor, open the /tmp/node.json file and modify the following parameters, like the sample base_enterprise_ha_ubuntu_primary_step2.json file.

      Note: If you don't have the /etc/chef/node.json file, you can get it by running

      sudo cfn-init -v -c secondpass -s <StackName> -r AllInOneEC2Instance --region <AWS::Region>

      • Update the node['arcgis']['version'] to 10.8.
      • 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 setup.s
      • Add "recipe[arcgis-enterprise::webstyles]" to the runlist if needed.
      • Ensure the following recipes are defined in the "run-list": "recipe[apt]", "recipe[arcgis-enterprise::system]", "recipe[arcgis-enterprise::portal]", "recipe[arcgis-enterprise::portal_wa]", "recipe[arcgis-enterprise::server]", "recipe[arcgis-enterprise::server_wa]", "recipe[arcgis-enterprise::datastore]", "recipe[arcgis-enterprise::webstyles]"
    6. As ubuntu user, run the following command:

      sudo chef-solo -j /tmp/base_enterprise_ha_ubuntu_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 /etc/chef/base_enterprise_ha_ubuntu_standby_step1.json file and update the recipe run-list to only use "recipe[arcgis-enterprise::portal_wa]", like the sample base_enterprise_ha_ubuntu_standby_step3.json file. Only following recipe is defined in the "run-list": "recipe[arcgis-enterprise::portal_wa]"
    2. As ubuntu user, run the following command:

      chef-solo -j /tmp/base_enterprise_ha_ubuntu_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