Esri / arcgis-cookbook

Chef cookbooks for ArcGIS
Apache License 2.0
300 stars 116 forks source link

ArcGIS Datastore Backup directory in a HA deployment #210

Closed azinsharaf closed 3 years ago

azinsharaf commented 5 years ago

Why ArcGIS Datastore backup directory values are not same in webgis-windows-ha-primary & webgis-windows-ha-secondary roles?

Primary.json:

"data_store":{
      "setup":"C:\\ArcGIS\\10.5\\DataStore\\Setup.exe",
      "data_dir":"C:\\arcgisdatastore\\data",
      "backup_dir":"\\\\fileserver\\arcgisdatastore\\backup"
},

Secondary.json:

"data_store":{
      "setup":"C:\\ArcGIS\\10.5\\DataStore\\Setup.exe",
      "data_dir":"C:\\arcgisdatastore\\data",
      "backup_dir":"\\\\fileserver\\arcgisdatastore\\ds_backups"
},
azinsharaf commented 5 years ago

Hi @pbobov

I just got the confirmation from Esri Support Services that the "HA Data Store uses the Primary Data Store to create backups. You can only really use one location when you set the backup location. You only need one backup location for your datastore."

So to avoid any confusion I believe the backup_dir parameter needs to be same in 2 json files.

pbobov commented 5 years ago

@azinsharaf Thank you for the feedback! We will update the JSON files accordingly.

cameronkroeker commented 3 years ago

This has been fixed in cookbook release v3.6.1:

https://github.com/Esri/arcgis-cookbook/releases