Hi all,
We have recently upgraded ArcGIS Enterprise 11.3 to ArcGIS Enterprise 11.5. We had many scene layers in ArcGIS 11.3 using ArcGIS Tile Cache Data Store. With the deprecation of Tile Cache in 11.5, we need to register an Object Store and then migrate all Tile Caches.
Our implementation is in Amazon so natural candidate is to use S3 bucket as Object Store as per the recommendation. However, I am little confused with the steps documented at https://enterprise.arcgis.com/en/server/latest/cloud/amazon/configure-object-store-aws.htm .
I have a S3 bucket and I am using Access Key.
The document above refers to use of Register Data Item of ArcGIS Server admin API API. And use the JSON in the example at https://developers.arcgis.com/rest/enterprise-administration/server/registerdataitem/#object-store-e... with items in <> below to be replaced to match the set-up.
{ "path": "/cloudStores/<value>", "type": "objectStore", "provider": "amazon", "info": { "isManaged": true, "systemManaged": false, "isManagedData": true, "purposes": [ "feature-tile", "scene" ], "connectionString": "{\"accessKeyId\":\"<AccessKeyValue>\",\"secretAccessKey\":\"<SecretValue>\",\"regionEndpointUrl\":\"<RegionURL>\",\"defaultEndpointsProtocol\":\"https\",\"credentialType\":\"accesskey\",\"region\":\"<RegionID>\"}", "objectStore": "<bucketName>/<folder_name>" } }
However, I do not know what I should specify for <value> in "path": "/cloudStores/<value>. Is it a random string? Also, are below properties needed and if so what do they signify? Aren't these system maintained?
"isManaged": true, "systemManaged": false, "isManagedData": true, "purposes": [ "feature-tile", "scene" ]
I tried to omit the above properties and provided a "path": "/cloudStores/S3_dev_ght34362ss" where ght34362ss is a random string and tried to register item. It returned success but I cannot publish any scene layer. It gives this error:
If I have Amazon S3 Cloud Store, do I still need ArcGIS Data Store Object Store? Documentation suggests I do not.
Any idea on what the correct procedure to use S3 as an Object Store in ArcGIS Enterprise 11.5 for 3D scenes?
Thanks,
Solved! Go to Solution.
Managed to get the Object Store working. Tried to register the Cloud Store programmatically using Python and it worked.
Looks like adding a cloud data store using ArcGIS Manager and then editing the configuration using admin API to add "isManaged": true, "systemManaged": false, "isManagedData": true, "purposes": [ "feature-tile", "scene" ] is not a valid option.
Further to above message, I tried to stick to instructions at https://enterprise.arcgis.com/en/server/latest/cloud/amazon/configure-object-store-aws.htm and https://developers.arcgis.com/rest/enterprise-administration/server/registerdataitem/#object-store-e... for Amazon S3 with Access Key based JSON including
"isManaged": true, "systemManaged": false, "isManagedData": true, "purposes": [ "feature-tile", "scene" ]
It registered "s3_dev" cloud store item successfully. And it validates ok in ArcGIS Server Manager. But I see the data item as "Managed undefined" in ArcGIS Server Manager as below:
Not sure why it is "Managed undefined".
And I still get "00217: Multipatch layer cannot be published to current portal" errors when publishing a 3D scene to ArcGIS Portal.
Am I missing something?
"If I have Amazon S3 Cloud Store, do I still need ArcGIS Data Store Object Store? Documentation suggests I do not." -> No, you are right. (ArcGIS Enterprise: Migrate to the object store)
I found an actual example:
https://youtu.be/2TJNpyxlnyA?feature=shared&t=1128
What does /server/admin/data/items/cloudStores/S3_dev_ght34362ss?f=pjson return?
Thanks @SimonSchütte_ct
I think my data store registration is in-line with the example above. Data Store item's JSON returns correctly for "s3_dev" cloud store as below:
Yet, no joy with 3D publishing.
Managed to get the Object Store working. Tried to register the Cloud Store programmatically using Python and it worked.
Looks like adding a cloud data store using ArcGIS Manager and then editing the configuration using admin API to add "isManaged": true, "systemManaged": false, "isManagedData": true, "purposes": [ "feature-tile", "scene" ] is not a valid option.