I am trying to write a script to be run from AWS Lambda that will determine the primary and standby datastores.
The describedatastore command can be run from the server but does anyone know if there is a way to get the status of each datastore i.e. REST Endpoint or similar?
Solved! Go to Solution.
Hi Dean,
The trick is that you query the data store status through the Hosting Server's admin pages.
see https://enterprise.arcgis.com/en/portal/10.7/administer/windows/data-store-function-reference.htm
This is if the Admin pages haven't been blocked to external access (i.e the Lambda virtual address)
Use the Validate REST endpoint
Hi Dean,
The trick is that you query the data store status through the Hosting Server's admin pages.
see https://enterprise.arcgis.com/en/portal/10.7/administer/windows/data-store-function-reference.htm
This is if the Admin pages haven't been blocked to external access (i.e the Lambda virtual address)
Use the Validate REST endpoint
Thanks @DavidHoy very much appreciated