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 userfirst.
    1. Download and install Chef client 13 or 14 (If a previous version of Chef Client already exists, update it to either version 13 or 14). The following command will download and install Chef Client 13.6.0:

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

    2. Upload the 10.7.1 installation setup archive files to a folder, e.g. /data/software_archives folder.
      • Web_Adaptor_Java_Linux_1071_169645.tar.gz
      • Portal_for_ArcGIS_Linux_1071_169807.tar.gz
      • ArcGIS_Server_Linux_1071_169796.tar.gz
      • ArcGIS_DataStore_Linux_1071_169808.tar
      • ArcGIS_Web_Styles_Linux_1071_170273.tar.gz
    3. Obtain Portal for ArcGIS 10.7 authorization (.json file) and ArcGIS Server 10.7 authorization files if you are upgrading from 10.6.1 or older version.
    4. Download the ArcGIS Cookbook version 3.4.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_standby_step1.json file.

      Note: If you don't have the /tmp/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.7.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.7.1 setups.
      • Add "recipe[arcgis-enterprise::webstyles]" to the runlist if needed.
      • Remove

        "java" : { "install_flavor" : "oracle", "jdk_version" : "8", "oracle" : { "accept_oracle_download_terms" : true }

      • Add

        "java":{ "install_flavor":"openjdk", "jdk_version":"8" }

      • Ensure the following recipes are defined in the "run-list": "recipe[apt]", "recipe[arcgis-enterprise::system]", "recipe[esri-tomcat]", "recipe[iptables]", "recipe[arcgis-enterprise::iptables]", "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::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 13 or 14 (If a previous version of Chef Client already exists, update it to either version 13 or 14). The following command will download and install Chef Client 13.6.0:

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

    2. Upload the 10.7.1 installation setup archive files to a folder, e.g. /data/software_archives folder.
      • Web_Adaptor_Java_Linux_1071_169645.tar.gz
      • Portal_for_ArcGIS_Linux_1071_169807.tar.gz
      • ArcGIS_Server_Linux_1071_169796.tar.gz
      • ArcGIS_DataStore_Linux_1071_169808.tar
      • ArcGIS_Web_Styles_Linux_1071_170273.tar.gz
    3. Obtain Portal for ArcGIS 10.7 authorization (.json file) and ArcGIS Server 10.7 authorization files if you are upgrading from 10.6.1 or older version.
    4. Download the ArcGIS Cookbook version 3.4.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 /tmp/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.7.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.7.1 setup.s
      • Add "recipe[arcgis-enterprise::webstyles]" to the runlist if needed.
      • Remove

        "java" : { "install_flavor" : "oracle", "jdk_version" : "8", "oracle" : { "accept_oracle_download_terms" : true }

      • Add

        "java":{ "install_flavor":"openjdk", "jdk_version":"8" }

      • Ensure the following recipes are defined in the "run-list": "recipe[apt]", "recipe[arcgis-enterprise::system]", "recipe[esri-tomcat]", "recipe[iptables]”, "recipe[arcgis-enterprise::iptables]", "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 /tmp/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