arcgis-cookbook icon indicating copy to clipboard operation
arcgis-cookbook copied to clipboard

arcgis-egdb deployment with RDS and HA Servers (10.9.1)

Open travisnburton opened this issue 2 years ago • 1 comments

It's unclear how to deploy egdb on RDS for primary and secondary 'ArcGIS Server' instances.

cookbooks/arcgis-egdb#dependencies "...does not support creating databases in Amazon RDS..."

templates/arcgis-egdb/10.9.1#arcgis-egdb-rds-postgres "Creates a geodatabase 'egdb' in PostgreSQL on Amazon RDS..."

Assuming the arcgis-egdb-rds-postgres works to provision an RDS database, would i use the same template on both the primary and secondary 'ArcGIS Server' instances? (I would expect psql to fail on the secondary when trying to create a database that already exists.)

Thanks!

travisnburton avatar Aug 31 '22 17:08 travisnburton

arcgis-egdb-rds-postgres.json creates a geodatabase 'egdb' in PostgreSQL on Amazon RDS and registers it with ArcGIS Server. It must run only once on either primary or secondary ArcGIS Server instance.

If you run it more than once (or on different instances), it should just do nothing because Chef recipes are expected to be idempotent.

pbobov avatar Aug 31 '22 20:08 pbobov