|
POST
|
Hi there, I am seeing a strange issue with multi node ArcGIS Server sites in both 12.0 and 12.1 using the Azure cloud native pattern. Test environment is vanilla Azure (no landing zones or Management groups / policies) using ArcGIS Enterprise Cloud Builder 12.0 for Azure to create a 12.0 deployment do some testing then upgrade to 12.1. The environment is: Two server deployment with full base deployment Using the Esri CB server images (Windows Server 2025 Datacenter) ArcGIS Server is deployed to Cosmos DB, Service Bus and a blob container in a Storage account (V2) Portal for ArcGIS is using blob storage for content All artefacts deployed via Cloud Builder Upgrade to 12.1 run after first lot of testing on both servers. What I see is this Full config store is in Cosmos DB as expected Both servers have a c:\arcgisserver\ local directory with \directories (arcgissystem etc.) \local and \logs (no additional data drives) The first server has a .site folder in the C:\arcgisserver\directories\arcgissystem with the site DAT, the second server does not have this folder (I do not know if this is expected) When publishing to the server the service is published correctly to both nodes in the site and the ArcSOC processes come up for dedicated services. When deleting a service, it isn't removed from the one of the nodes Full service definition is still in the local directory Same behaviour when deleting another service When looking in cosmos db the service definition is still present Note the content elements is null but the cosmos db entry is still there. Server logs describe the service being removed No SEVERE or WARNING log entries to indicate the service deletion failed. This causes issues when services are republished as one of the nodes now has a stale service definition. We have seen issues where a service with updated symbology from associated font files returns missing symbols as the App Gateway load balances between the server nodes and the second node where the service wasn't deleted returns the old service definition. Note at 12.0 we have seen issues with publishing where services are NOT present on both nodes and the c:\arcgisserver\directories\arcgissystem\arcgisinput directory is different between the 2 ArcGIS Server nodes. In this example node 2 was missing the entire Utilities folder and SampleworldCities as an example. Has anyone come across this behaviour at 12.0 / 12.1? Currently our workaround is to remove the second node from the site. These have been added to support sites that require high throughput. Thanks! EDIT: Also note that performing a synchroniseWithSite operation on the second node does not remove the deleted service definitions / folders. EDIT: When deleting a service via manager I can see the service only being deleted on one node: EDIT: I have been doing a bitt of further testing and even though the service folders are left behind, a subsequent publish does appear to update them at 12.1 - I am confirming this against 12.0. It seems to be inconsistent as to with node actually has the service deleted. EDIT: From a 12.0 multi node site when a service is deleted the service folder in \arcgisinput is usually left on the second node (fully deleted from node 1). If I republish the service *sometimes* the folder is deleted and replaced with the updated service and sometimes it isn't, leading to a mismatch service definition on node 1 and node 2. If this happens you have to delete the service then manually delete the left over folder from the second node before republishing.
... View more
|
0
|
0
|
210
|
|
POST
|
Hi there, I have a multi site deployment of ArcGIS Enterprise 12.0 that was configured to use local directories. I was looking to migrate to a cloud native deployment. I had been under the impression that we could do this with webgisdr. I deployed a second environment with PSDSC using cloud native for the ArcGIS server sites (cosmos db, service bus and blob storage). I followed the discussion here https://enterprise.arcgis.com/en/portal/latest/administer/windows/overview-backup-restore-web-gis.htm with regards to what must be the same between environments. Once I had my vanilla cloud native deployment up I ran a webgisdr import with the latest backup from the old local directory deployment. The ArcGIS Server restores failed spectacularly - webgisdr overwrote the config-store and system directories settings and effectively disconnected the ArcGIS Server sites from comos db. It either inserted local paths from the old environment or paths pointing to the unzipped webgisdr backup with a new c:\cloudStores dirtectory. This rendered the deployment inoperable. I have used webgisdr many times in the past and have not seen it try to update core settings like this. I'm assuming that it doesn't know how to restore a file based deployment to a cloud native one? Is there any other migration path? Thanks
... View more
3 weeks ago
|
1
|
0
|
178
|
|
POST
|
Another update - if I set: # Specify whether to include object store caches. INCLUDE_OBJECT_STORE_CACHES = false then I can get a .agssite file locally.
... View more
|
0
|
0
|
314
|
|
POST
|
UPDATE: I'm trying to write the backup to a local drive / share now and have updated the webgisdr properties to suit. If I run with no Azure config in the webgisdr.properties file I get this: {"backupLocation":"","messages":"The value of the property BACKUP_BLOB_ACCOUNT_NAME cannot be empty.","id":"cbcfbc64699144a89586a1bb1383ba80","operation":"backup","results":[],"status":"failure","elapsedTime":"00hr:00min:02sec"} and if I put in the location of the objstore container I get this in the server logs and the export fails: Could not connect to the Backup Object Store specified. Check if the specified parameters are valid. JSONObject["objectStore"] not found. this is with INCLUDE_OBJECT_STORE_CACHES = true
... View more
|
0
|
0
|
323
|
|
POST
|
Hi there, I have a deployment using Azure blob for the cloud object store @ 12.0. I am seeing ArcGIS Server backups fail once they get over a certain size, or if I attempt to include object store caches in the backups. I get this message in the webgisdr logs: { "name": "ArcGIS Server", "messages": "Cannot access the backup file for ArcGIS Server in webgisdr-backup/12-0-0/backup/20260505-091107-backup\\server\\cd67fdf9jcwpzzk6.", "URL": "https://xyzxyzxy/hosting", "status": "failure" } Latest job status of async backup operation on server https://xyzxyzx/hosting: {"jobid":"j65e79912-4aaa-46d3-8b8d-0717760d431b","stepInfo":["Export operation started.","Export operation failed."],"status":"EXECUTING"}. "{"jobid":"j65e79912-4aaa-46d3-8b8d-0717760d431b","status":"COMPLETED","stepInfo":["Export operation started.","Export operation failed."],"operationResponse":{"status":"error","messages":["Export operation failed. Failed to write the file '20260505-091124.agssite' to this location 'webgisdr-backup/12-0-0/backup/20260505-091107-backup/server/cd67fdf9jcwpzzk6'"]}}" looking at a manual export of that site from the admin API I get: Failed to write the file '20260505-095011.agssite' to this location 'backup-20260504' Failed to upload backup-20260504/20260505-095011.agssite to object store.. Caused by: Timeout on blocking read for 300000000000 NANOSECONDS Export operation failed. Failed to write the file '20260505-095011.agssite' to this location 'backup-20260504' which is an exception in: Caused by: Timeout on blocking read for 300000000000 NANOSECONDS at com.esri.arcgis.objectstore.clients.azure.AzureBlobStoreClient.putObject(AzureBlobStoreClient.java:986) at com.esri.arcgis.objectstore.clients.azure.AzureBlobStoreClient.putObject(AzureBlobStoreClient.java:915) at com.esri.arcgis.discovery.admin.backuprestore.BackupRestoreUtil.writeSiteFileToBackupStore(BackupRestoreUtil.java:888) This worked at 11.5, there was a change from staging everything locally first before uploading to writing directly to blob storage at 12.0. We are using private endpoints to access the storage and should have a clear path to it. I have seen two bugs with 12.0 but don't know if this is related to what I'm seeing: https://support.esri.com/en-us/bug/large-web-gis-disaster-recovery-webgisdr-exports-fail-t-bug-000176368 https://support.esri.com/en-us/bug/after-migrating-hosted-scene-layer-caches-from-the-tile-bug-000173313 If anyone has hit this have you got a cause / solution? I'm going to staging locally and uploading to blob in the meantime. Thanks!
... View more
|
0
|
2
|
351
|
|
POST
|
Hi there - did you make any progress on this? I'm hitting it as well. In the webgisdr log I see: "{"jobid":"j65e79912-4aaa-46d3-8b8d-0717760d431b","status":"COMPLETED","stepInfo":["Export operation started.","Export operation failed."],"operationResponse":{"status":"error","messages":["Export operation failed. Failed to write the file '20260505-091124.agssite' to this location 'webgisdr-backup/12-0-0/backup/20260505-091107-backup/server/cd67fdf9jcwpzzk6'"]}}" while on a manual backup I see: Failed to write the file '20260505-095011.agssite' to this location 'backup-20260504' Failed to upload backup-20260504/20260505-095011.agssite to object store.. Caused by: Timeout on blocking read for 300000000000 NANOSECONDS Export operation failed. Failed to write the file '20260505-095011.agssite' to this location 'backup-20260504' The debug log shows: Caused by: Timeout on blocking read for 300000000000 NANOSECONDS at com.esri.arcgis.objectstore.clients.azure.AzureBlobStoreClient.putObject(AzureBlobStoreClient.java:986) at com.esri.arcgis.objectstore.clients.azure.AzureBlobStoreClient.putObject(AzureBlobStoreClient.java:915) at com.esri.arcgis.discovery.admin.backuprestore.BackupRestoreUtil.writeSiteFileToBackupStore(BackupRestoreUtil.java:888) at com.esri.arcgis.discovery.admin.SiteManager.exportSite(SiteManager.java:7253) so I'm not sure if this is a network issue or a client configuration issue. Are you accessing blob storage over the public internet or via private endpoints? Is your GIS sitting behind an application gateway? Also note there are 2 bugs currently: https://support.esri.com/en-us/bug/large-web-gis-disaster-recovery-webgisdr-exports-fail-t-bug-000176368 https://support.esri.com/en-us/bug/after-migrating-hosted-scene-layer-caches-from-the-tile-bug-000173313 Please let me know if you have found a solution. Thanks!
... View more
|
0
|
0
|
156
|
|
POST
|
Hi Dan, I'm getting this a lot too with a fresh 11.3 install - if you get to the bottom of it I'd be keen to know what you find. Thanks!
... View more
10-09-2024
05:55 PM
|
0
|
0
|
1645
|
|
POST
|
Hey there, easiest way would be to use the Esri Python API, You can run this from a script, Python window in ArcGIS Pro or a notebook. You can get a group from the group manager then from there query the content for that group. from arcgis import GIS gis = GIS(yoururl,un,pw) content = gis.groups.get(grp_id).content() for item in content: dosomething
... View more
07-11-2024
05:14 PM
|
2
|
0
|
2022
|
|
POST
|
Hi, When using the Map Viewer in ArcGIS Enterprise 11.,1 if I add a hosted feature layer and create a new feature - if I add an attachment and try to insert the feature it fails with: or for referenced feature layers with attachments: The error returned by the server is "JSONObject[\"uploadId\"] is not a string." When looking at the payload for the apply edits you can see the uploadid is null, and the attachment is encoded as part of the data So the insert fails as the uploadid isn't set. It does work with the Classic Map Viewer and also works with the Map Viewer in 11.2 - the uploadid isn't passed. You can work around it, you can add the feature, then select it and add the attachment this does work ok. I have tried playing with the service settings - "supportsAttachmentsByUploadId" looked promising but changing this to false seems to be ignored - it is still returned as true when querying the layer. Removing the Uploads capability also doesn't help. Is this an issue with 11.1? Is there a fix other than the identified work around? Is there a service setting I've missed? Thanks Fraser
... View more
04-03-2024
01:48 PM
|
3
|
5
|
2625
|
|
IDEA
|
We have the donut chart but it would also be useful to be able to add a table chart as well - while this displays the same sort of data - it can be interpreted faster. With the Number of ArcGIS Server Services by Type example at https://www.esri.com/arcgis-blog/products/monitor/administration/5-useful-arcgis-server-analysis-elements-in-arcgis-monitor/ - it does this in a graphical form but you have to highlight over the donut section to get the count - and would have to include the server name in the title or the like. You'd need multiple charts for multiple servers - but being able to have a table would also be useful for some items. In addition to having the query builder - it would also be useful to have custom SQL queries so we could build more custom queries - I think this has already been suggested - but we could do things like (please excuse my basic sql) this select concat(split_part(address_internal,'/',3),'_',split_part(address_internal,'/',4)) host_name, subtype, count(subtype) from agm.components where type = 'service' group by host_name, subtype order by host_name asc which could give us a table chart like which gives immediate insight into service load on each GIS service in one table - we could extend this to have soc counts next to each service type etc. Thanks!
... View more
03-12-2024
02:26 PM
|
1
|
2
|
1184
|
|
POST
|
Hi Kurt, I sent you a message last night with my details - keen to see if we are experiencing the same thing as you. Thanks Fraser
... View more
03-05-2024
10:41 AM
|
0
|
0
|
1854
|
|
POST
|
Hi there, Has anyone come across portal adding a duplicate entry into the gw_accounts table? Accompanied by a "Failed to update account" message in the logs - any thoughts as to what this is doing? Seeing this @ 10.9.1 Thanks!
... View more
03-04-2024
07:18 PM
|
0
|
5
|
1922
|
|
POST
|
EDIT EDIT: I was wondering if it was the HTTP_REQUEST_TIMEOUT=60000 setting in the env file - so I reconnected the original db to see if I could get the error back and then tweak the setting. This time the original db reconnected. Would be good know what happened and why switching dbs reset things. Thanks!
... View more
01-30-2024
02:07 PM
|
0
|
0
|
3908
|
|
POST
|
EDIT: As a test I created a new db from scratch in the same postgresql instance and attempted to register that - no issues connecting creating the schema and registering with ArcGIS Monitor - so it looks to be something when trying to migrate the schema perhaps?
... View more
01-30-2024
01:48 PM
|
0
|
0
|
3919
|
|
POST
|
Hi there, We just tried to upgrade to 2023.3 and the database connection dropped. In ArcGIS Monitor db admin we had this: clicking on the configure just returned a 500 error (db connection error in the json), so I had to clear the db settings in the .env file to get the software to allow a db connection to be registered. On trying to reregister the db we had the same error described here: https://community.esri.com/t5/arcgis-monitor-questions/error-connecting-to-monitor-database/td-p/1257740 with the Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? error. This looks to be something in node.js so I tried updating to 2023.3.1 to see if that cleared it. I now get a timeout trying to reregister the db E_SERVER_TIMEOUT: Request timed out after 60000 ms and then this if I reattempt RuntimeException: Migrations are locked. Make sure you are not multiple migration scripts or delete `agm_schema_lock` table manually Dropping the table and rerunning the db register just returns to E_SERVER_TIMEOUT: Request timed out after 60000 ms The connection to the db is fine as I've tested via pgadminb / heidi etc. Restarting services does not help. Is there a way to clear this and reregister the db? Many thanks Fraser
... View more
01-30-2024
01:27 PM
|
0
|
7
|
3942
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 2 | 07-11-2024 05:14 PM | |
| 3 | 04-03-2024 01:48 PM | |
| 1 | 08-24-2014 10:51 PM | |
| 1 | 03-12-2024 02:26 PM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|