webgisdr restore hangs on datastore restore

466
1
04-20-2023 05:04 AM
YuriiP
by
New Contributor II

Hi, we have backups taken from HA ArcGis deployment stored on AmazonS3 bucket, now we want to restore that backups on different HA deployment on different AWS account but under same domain name.
When we tried to restore it, it just hangs on restoring DataStore even backup is not big at all (2.2 GBs)

Bot ArcGIS deployments were done using AWS CF stacks

there is logs from webgisdr tool:

 

==================================================
Starting the WebGIS DR utility.
==================================================

Loading the configuration in the incoming Web GIS.

The configuration in the incoming Web GIS has been loaded in 00hr:00min:00sec.

The backup file was created at 20230413-020419-UTC.

The configuration and base backup time in the incoming Web GIS
--------------------------------------------------------------
  Portal: https://arcgis.foobar.com/portal
  |   
  |-- Hosting Server: https://arcgis.foobar.com/server at 4/13/23, 2:00 AM
  |     |   
  |     |-- Relational Data Store: https://10.2.1.17:2443/arcgis


The configuration and base backup time in the current Web GIS
-------------------------------------------------------------
  Portal: https://arcgis.foobar.com/portal
  |   
  |-- Hosting Server: https://arcgis.foobar.com/server
  |     |   
  |     |-- Relational Data Store: https://10.3.1.174:2443/arcgis
  |     |   
  |     |-- TileCache Data Store: https://10.3.1.174:2443/arcgis

Downloading the WebGIS backup from the S3 bucket foobar-arcgis-backups

Transfer: Downloading from foobar-arcgis-backups/FULL-BACKUP-04-14-23:
  - State: InProgress
  - Transferred bytes: 445.9 MBs
  - Percent: 20%

  - Transferred bytes: 891.6 MBs
  - Percent: 40%

  - Transferred bytes: 1.3 GBs
  - Percent: 60%

  - Transferred bytes: 1.7 GBs
  - Percent: 80%

  - Transferred bytes: 2.2 GBs
  - Percent: 100%

Transfer: Download complete.

The following WebGIS backup has been downloaded successfully in 00hr:00min:06sec:
FULL-BACKUP-04-14-23

Starting the restore process with the WebGIS DR utility.

Starting the restore of Relational ArcGIS Data Store: 
Url: https://10.3.1.174:2443/arcgis.

 

And from webgisdr.log

 

2023-04-20 11:25:30 DEBUG [pool-3-thread-1] com.esri.arcgis.webgis.component.service.impl.DataStoreDRService - The response for checking job status: {"jobId":"b9d4eb99-4be9-48e3-9a6c-fb22bf3557f0","description":"Deploy data store snapshot 20230413-020453-UTC-79-BACKUP from /tmp/sharedlocation/WebGISSite1681989916104/FULL-BACKUP-04-14-23/dataStore/5fbbe5ec-a50b-4431-bef9-561e2c75f6df","lastModified":"2023-04-20 11:25","status":"scheduled"}
 

 

 The message above just repeating itself for more 3 hours

Tags (3)
0 Kudos
1 Reply
ArchitSrivastava
Occasional Contributor II

Hello @YuriiP ,

It seems that datastore is being pointed/referenced using IP address in comparison to ArcGIS Portal and ArcGIS Server (which are being referenced through FQDN). 

This can be confirmed by navigating to ArcGIS Server Admin > data  > items  > enterpriseDatabases > Select "/enterpriseDatabases/AGSDataStore_ds_xxxxxx" under "Child Items" > "machines" beside "Resource". If it shows IP address ArcGIS Server is utilizing IP address to connect to ArcGIS DataStore. (This needs to be performed on current environment/source)

As per my understanding the IP address of the current machine is surely different from the new machine. 

Furthermore, I have encountered the problem in the past which I was able to workaround using few machines changes but also caused damage. Hence, I would not recommend any of those as they can cause an impact on current environment.

I would suggest switch the WebGISDr log levels find more details what is causing the process to hang utilizing the "Valid levels DEBUG, INFO, WARN, and ERROR"

Additionally, reaching out to ESRI Support services could also be helpful.

Hope it helps!

Archit

 

0 Kudos