ArcGIS Enterprise
Esri

Upgrade Spatial Temporal DataStore using Chef automation

On Ubuntu, upgrade Spatial Temporal DataStore using Chef automation.

If you have Spatial Temporal DataStore deployed with your base ArcGIS Enterprise Deployment, upgrade the spatial temporal datastore after you upgrade the base ArcGIS Enterprise deployment. Prior to upgrading, it is recommended to create a backup using the ArcGIS Data Store backupdatastore utility.

  1. Change ‘Min’ property of the stack’s AutoScaling group to 0
  2. Move all the BDS EC2 instances from the stack’s AutoScaling group.
  3. Change ‘Desired’ of the stack’s AutoScaling group to 0.
  4. Run install on all the spatial temporal datastore instances except one instance.
    • ssh to EC2 instance as ubuntu user
    • 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

    • Upload the 10.8 installation setup archive files to a folder, e.g. /data/software_archives folder.
      • ArcGIS_DataStore_Linux_1081_175312.tar.gz
    • Download the ArcGIS Cookbook version 3.6.0 to the EC2 instance; untar and unzip it; copy over cookbooks folder inside it to replace the existing /var/chef/cookbooks.
    • Using a text editor, open the /etc/chef/node.json file and modify the following parameters, like the sample bds_node_upgr_ubuntu.json file.
      • Update the node['arcgis']['version'] to 10.8.
      • Define node ['arcgis'][repository']['archives'] for the path to 10.8.1 setups
      • Ensure the following recipes are defined in the "run-list": "recipe[apt]", "recipe[arcgis-enterprise::install_datastore]"] "recipe[arcgis-enterprise::datastore_prepare_upgrade]"
    • As ubuntu user, run the following command:

      sudo chef-solo -j /tmp/bds_node_upgr_ubuntu.json

  5. On the last machine, run the same steps but using a different json file, like the sample bds_node_upgr_lastnode_ubuntu.json file. Ensure the following recipes are defined in the "run-list": "recipe[apt]", "recipe[arcgis-enterprise::install_datastore]"] "recipe[arcgis-enterprise::datastore_prepare_upgrade]", "recipe[arcgis-enterprise::datastore]"

    As ubuntu user, run the following command:
    sudo chef-solo -j /etc/chef/bds_node_upgr_lastnode_ubuntu.json

  6. The upgraded SpatialTemporial DataStore machines will not be in the Autoscaling group any more. When you delete the upgraded CloudFormation Stack or use Lambda functions to start/stop the stacks, these instances will not be stopped/started or deleted. You'll need to manually manage these instances.

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