Select to view content in your preferred language

Set ArcGIS Server Cache directory when publishing a service using an existing cache

460
4
01-29-2024 07:11 AM
MiriEshel1
Emerging Contributor

Hi everybody,

I have two ArcGIS Server cache directories : the default one and another one.

I want to publish a service based on an existing cache, using PRO 3.1.2.

Where do I choose the ArcGIS Server cache directory when I have more than one (as in my case)?

How does PRO know where the cache is?

Can I set it prior to the Publish process?

Thanks a lot,

Miri

0 Kudos
4 Replies
JoshuaBixby
MVP Esteemed Contributor

Have you run the Analyze tool on your to-be-published service?  It will find if an existing cache exists and give you options for using it.

0 Kudos
SGTomlins
Regular Contributor

Miri,  did you ever get an answer?  I want to use an alternative hard disk to store the cache.  ArcGIS Pro seems to always use the "C:\arcgisserver\directories" location.

Thanks

Steve

0 Kudos
JonahLay
Esri Contributor

Hi,

You can add a custom cache directory using Server Manager. Please see this: https://enterprise.arcgis.com/en/server/latest/administer/linux/adding-a-server-directory-in-manager...

After adding the cache directory, you can select it in ArcGIS Pro when sharing a cached map image layer. For more info, see https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/configure-map-image-layer.htm

Best,

Jonah

0 Kudos
MiriEshel1
Emerging Contributor

Hello @JonahLay ,

I wish it worked like you describe but it dosn't.

From my experience today, I saw that it deletes the all levels from the existing cache (in the custom directory) and simply creates 24 levels of AGOL.

It shows like it works but actually it doesn't.

Thanks,

Miri

0 Kudos