IDEA
|
We just created an Az db for Postgres -Single server instance for Enterprise gdb storage. Using PGAdmin, I logged in as postgres_admin, then created an sde user that does not have super user permission. I then created a db, with sde user as owner. In Pro 3.1, I connect to the db as sde user, then run the Enable Enterprise Geodatabase tool. I then created dbo user using the Create database user tool, connect as dbo in Pro and start creating FCs. Im seeing 2x performance/speed with the managed instance compared to our 4-cpu 32gb memory Linux Ubuntu Azure VM.
... View more
04-01-2023
10:46 AM
|
0
|
0
|
1859
|
POST
|
Here's how to retrieve the x,y extents of a webmap offline area: source_wm = WebMap(source_item)
map_areas = source_wm.offline_areas.list()
if len(map_areas)>0:
for ma in map_areas:
offline_item_extent = ma.properties['extent']
... View more
03-13-2023
06:15 AM
|
0
|
0
|
259
|
POST
|
The only advise I have is to not mix Linux/Windows OSs in an ArcGIS Enterprise stack. I wish this would be added to the Enterprise install documentation. We currently run Portal and Datastore on Linux Ubuntu 20.04 VMs and Server on Windows. This prohibits us from using the webgisDr backup utility, REST /exportSite, REST /importSite or Join-Site methods of migration. I.e. we cannot move our Enterprise stack to Azure (all Windows), without manually scripting a solution in Python.
... View more
03-07-2023
08:53 AM
|
1
|
0
|
784
|
POST
|
I'm moving webmaps from on-prem Enterprise to an Azure Enterprise site that we're migrating to. I need help with retrieving the webmap offline area properties, so the offline areas can be re-created on the target Enterprise site using: webmap.offline_areas.create(area,item_properties) I just can't figure out how to retrieve the offline area "area" property? Here's what I have so far wm = WebMap(source_item)
map_areas = wm.offline_areas.list()
if len(map_areas)>0:
for ma in map_areas:
print(ma.title)
print(ma.get_data()) Area1
{'mapAreas': {'mapAreaTileScale': {'minScale': 147914382, 'maxScale': 2500}, 'mapAreaRefreshParams': {'startDate': '2022-04-12T12:51:22.179Z', 'type': 'weekly', 'nthDay': 1, 'dayOfWeek': 2}, 'mapAreasScheduledUpdatesEnabled': False}} But how do I access the area property of the offline area?
... View more
03-06-2023
12:36 PM
|
0
|
1
|
300
|
BLOG
|
"source": "https://ourdomain.com/portal/sharing/servers/8227a14cb3704f4bba79df3963bf297c/rest/services/World_Imagery/MapServer",
"error": "{\"code\": 35, \"messageCode\": \"OffPkg_ 35\", \"message\": \"Export tile operation https://tiledbasemaps.arcgis.com/arcgis/rest/directories/arcgisoutput/World_Imagery_MapServer/_ags1642778840_ch failed error {\\\"code\\\": 30, \\\"messageCode\\\": \\\"OffPkg_ 30\\\", \\\"message\\\": \\\"Accessing url https://tiledbasemaps.arcgis.com/arcgis/rest/directories/arcgisoutput/World_Imagery_MapServer/_ags1642778840_ch?token=longtokenhere.. returned error <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)>\\\", \\\"params\\\": {\\\"url\\\": \\\"https://tiledbasemaps.arcgis.com/arcgis/rest/directories/arcgisoutput/World_Imagery_MapServer/_ags1642778840_ch?token=longtoken.. New Enterprise site on Azure is having above issues when generating offline areas. Is this a cert. trust issue between our Server machine and https://tiledbasemaps.arcgis.com?
... View more
03-06-2023
07:35 AM
|
1
|
0
|
4545
|
POST
|
Our Enterprise deployment of Portal (Linux), Datastore (Linux), Postgres (Linux) and Server/webadaptor (Win) is NOT recommended for anyone reading this. There's not an out of the box method of migrating Enterprise site/data with mixed OS. webgisdr - not an option since the backup operation must access the same file share across all VMs. Lin/Win UNC paths are different. REST export/importSite - not an option since importSite also restores all site settings on the target VMs, so they have to be the same OS the backup was taken from. Azure Enterprise VMs are all windows. Enterprise components installed on separate VMs (new local domain names as well). Using hosts file edits on the VMs, Azure Server machine was federated with the same production.domain.com alias as used on-prem. In order to use ArcGIS API for Python to copy data between sites, both sites had to be accessible, so Azure webadaptors were configured with newsite.domain.com DNS alias. Public DNS A-record for newsite.domain.com was created, pointing to Azure Web App Gateway. I noticed that attempting to login to Azure server manager via internal.domain.com:6443, you're redirected to federated URL (production.domain.com) to login, again a hosts file manipulation so that Azure site handles the request. ArcGIS API for Python is the only method of migrating content, I'm using these examples: https://developers.arcgis.com/python/samples/clone-portal-users-groups-and-content-rn/ Users and groups were easy. Web maps were also copied, but I'm noticing the feature service layers (none are hosted, all are referenced) in web maps point to newsite.domain.com?id=guidFromProductionItem So, when I used the above python GIS.content.add() method to move the feature services, I specified item_id=guidFromProductionItem. Now the feature services in Azure have the same itemID, but the referenced REST service (production.domain.com/server) is obliviously not created. Using Pro, I attempted to overwrite the Portal feature service that I had copied using Python, but that doesn't work, error: unable to retrieve server details. That makes sense because the services doesn't actually exist in Azure. So, I published a new feat. service from Pro using the same folder/serviceName, but this creates a duplicate feature service item in the Portal. Any pointers here? Can you publish services from Pro, and not create a Portal Item in the federated portal? That workflow is accomplished via Python GIS.content.add() since we need to maintain the itemID. The good news is that the web maps that were copied using Python work without issue after the service is published to Azure. Webmaps contain the old layer references (id=guidFromProductionItem), which were moved to Azure, which point to the newly published Feat Service, so all is well. But, I have that duplicate portal feature service item? If I delete it in Portal, then the server service is also deleted. It's like I need to delete the Pro-created feat service Portal Item, then link the service to the feat service Portal Item that I copied with python. Is this possible?
... View more
02-16-2023
06:48 AM
|
0
|
0
|
579
|
POST
|
So, after portal is installed on Linux, there's no way to ever move that to a win machine?
... View more
02-13-2023
04:37 PM
|
0
|
1
|
640
|
POST
|
Used portalAdmin exportSite on a Linux portal machine. Now I'm using portalAdmin importSite on a windows machine and it errors out. In c:\arcgisportal\log\db log I'm getting an error: "Line 7 of pg_hba.cong, local connections are not supported by this build". postgreSQL docs state that "local" specifies unix domain sockets. So the .conf file on win needs to be changed to "host". I'm guessing that the Linux pg_hba.conf is restored, causing this issue. https://www.postgresql.org/docs/11/auth-pg-hba-conf.html I'm using export/importSite because webgisdr method is unable to backup a site that uses a mix of Linux/Win VMs, which is the case for us. Any advice?
... View more
02-13-2023
04:01 PM
|
0
|
5
|
670
|
POST
|
This problem was fixed by simply rebooting the VM, all is well now, Lol. I uninstalled datastore from C:\, then reinstalled on E:\ without rebooting in between.
... View more
02-10-2023
02:58 PM
|
0
|
0
|
453
|
POST
|
Maybe this issue is related? My install path was E:\Program Files\ArcGIS\DataStore ..with a space https://support.esri.com/en/technical-article/000015832
... View more
02-08-2023
03:46 PM
|
0
|
1
|
471
|
POST
|
ArcGIS Datastore (Windows) is installed in C:\program files\arcgis\datastore When I use this command to create the datastore, the data directory defaults to c:\arcgisdatastore. configuredatastore.bat azarcgissvr01.ad.domain.com server_admin password123 E:\arcgisdatastore\ --stores relational I figured I could create a Premium SSD disk (Azure) then have datastore read/write to that directory. So, I uninstalled DataStore and instead installed it in E:\. After this, when datastore was created, I was able to set as E:\arcgisdatastore. But....now none of the cmd line utilities work when accessed from E:\....tools\. Error: the system cannot find the path specified. Is this expected behavior? B
... View more
02-08-2023
01:07 PM
|
0
|
4
|
497
|
POST
|
On-prem deployment has https://gis.domain.com being passed through our firewall to our webadaptor vm, port 443 only. *.domain.com CA signed cert is installed on webadaptor VM, IIS. 2 webadaptors are installed on this same machine, /portal(443) and /server(443) We just finished a base configuration deployment in Azure: portal, server, datastore and webadaptor VMs. We deployed Azure application gateway in front of the webadaptor VM. Our *.domain.com cert has to be installed on both the azure app. gateway and the backend webadaptor VM. The application gateway supports TLS termination, which offloads it from the webadaptor VM. This got me thinking, is it beneficial, (CPU wise) to configure ArcGIS Enterprise communication solely over :80 ? Is this possible? Azure application gateway terminates *.domain.com TLS session, then passes requests: :443/portal --> http://webadaptorvm.internal.com/portal :443/server -->http://webadaptorvm.internal.com/portal I would install new webadaptors with the same names, listening on port80. Would this also require me to configure the portal and server VMs to listen on http also? Portal doc: https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-https.htm Server doc: https://enterprise.arcgis.com/en/server/latest/administer/windows/secure-arcgis-server-communication.htm
... View more
02-02-2023
03:23 PM
|
0
|
2
|
997
|
POST
|
Thanks for the help. Yes, we're aware of the ArcMap services, and are staying at 10.9.1 during the migration. I figured it was best to not upgrade versions in the middle of the lift-and-shift to Azure. How about we deploy an Azure VM for PostgreSQL, replicating our on-premise environment. We can deploy it as newdb.ourdoamin.com, migrate the db's, then, when we edit the external DNS record to point traffic to Azure, disjoin currentdb.ourdomain.com from AD, then rename the Azure equivalent? We can then casually start using Azure hosted PostGresql, and eventually re-publish all services pointing to the hosted instance and shut down the Azure PostgreSQL VM.
... View more
01-18-2023
04:13 PM
|
0
|
1
|
254
|
POST
|
After migration, (ArcGIS Enterprise site & SDE gdbs from on-prem to Azure db for Postgres), what if we had the oldhostname.ourdomain.com FQDN resolve to the IP of the Azure db for Postgres, where the dbo and password are identical. Would this split-horizon DNS setup require re-publishing every service?
... View more
01-18-2023
01:35 PM
|
0
|
3
|
963
|
POST
|
Can someone elaborate on the process of updating the SDE connections after migration? Our old on-premise DNS name will be different in Azure and there are issues with setting up a split-horizon DNS policy that resolves Azure requests to the new hosted postgres instance. After migration, do we just update the datastore connections, or does it require re-publishing each service?
... View more
01-18-2023
11:34 AM
|
0
|
5
|
979
|
Title | Kudos | Posted |
---|---|---|
1 | 06-21-2024 03:34 PM | |
1 | 11-10-2023 05:45 PM | |
3 | 01-18-2024 07:57 AM | |
3 | 08-29-2023 07:50 AM | |
1 | 05-10-2021 07:48 PM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|