ArcGIS Enterprise
Esri

Upgrade Spatial Temporal DataStore using Chef automation

On Windows, 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.
    • Download and install Chef client 14 (if older Chef Client version is already installed, update it to version 14).
    • Upload the 10.8.1 installation setup archive files to a folder, e.g. C:\temp folder.
      • ArcGIS_DataStore_Windows_1081_175216.exe
    • 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.
    • Using a text editor, open the C:\Chef\node.json file and modify the following parameters, like the sample bds_node_upgr.json file.
      • Update the node['arcgis']['version'] to 10.8.1.
      • Define node ['arcgis'][repository']['archives'] for the path to 10.8.1 setups
      • Ensure the following recipes are defined in the "run-list": "recipe[arcgis-enterprise::system]", "recipe[arcgis-enterprise::hosts]", "recipe[arcgis-enterprise::install_datastore]", "recipe[arcgis-enterprise::datastore_prepare_upgrade]"
    • Open a command line windows as administrator, run
      chef-solo -j c:\chef\bds_node_upgr.json
  5. On the last machine, run the same steps but using a different json file, like the sample bds_node_upgr_lastnode.json file. Ensure the following recipes are defined in the "run-list": "recipe[arcgis-enterprise::system]", "recipe[arcgis-enterprise::hosts]", "recipe[arcgis-enterprise::install_datastore]", "recipe[arcgis-enterprise::datastore_prepare_upgrade]", "recipe[arcgis-enterprise::datastore]"

    Open a command line windows as administrator, run
    chef-solo -j c:\chef\bds_node_upgr_lastnode.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