<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rename a cache for a cached map service in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258048#M9943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How I update a complete cache, without interrupting the production version:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;create a new service &amp;lt;new_temp&amp;gt;&amp;nbsp; using the same (or copy) of the prod mxd ...&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;create the cache with the new_temp service&lt;/LI&gt;&lt;LI&gt;if I already had a cache for the prod service:&lt;OL&gt;&lt;LI&gt;STOP prod service and the new_temp service&lt;/LI&gt;&lt;LI&gt;rename the prod cache folder as a backup&lt;/LI&gt;&lt;LI&gt;rename the new_temp cache folder to the correct name for the prod service using File Exployer (not ArcCatalog)&lt;/LI&gt;&lt;LI&gt;START the prod service&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;If this cache is new:&lt;OL&gt;&lt;LI&gt;as you mentioned, create the folders for the cache by setting up the cache, but as manual&lt;/LI&gt;&lt;LI&gt;then follow the same steps as above.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you restart the prod server, it should see the information in the config.xml and automatically register the info.&amp;nbsp; It would not hurt to delete the status.gdb and then check the status again.&amp;nbsp; The status.gdb should rebuild itself.&lt;/P&gt;&lt;P&gt;see more help &lt;A class="link-titled" href="http://server.arcgis.com/en/server/10.3/publish-services/windows/a-quick-tour-of-map-caching.htm" title="http://server.arcgis.com/en/server/10.3/publish-services/windows/a-quick-tour-of-map-caching.htm"&gt;A quick tour of map caching—Documentation (10.3 and 10.3.1) | ArcGIS for Server&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw: I'll add that you can update a geographic extent of a cache while the service is running, but many times I need to replace the entire cache, and this seems to work best for that, in my opinion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Sep 2017 15:00:37 GMT</pubDate>
    <dc:creator>RebeccaStrauch__GISP</dc:creator>
    <dc:date>2017-09-19T15:00:37Z</dc:date>
    <item>
      <title>Rename a cache for a cached map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258047#M9942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have to understand what is correct time to rename a&amp;nbsp;map cache.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The task is to replace an old map service with cache (format 1 with *.bundlx files) with new map service (format 2) with the same name &amp;nbsp;of the service, same name of the cache. Environment - ArcGIS 10.3.1 (Desktop,Server)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Publishing a map service with an option of manual cache will create "folder"_"map-service-name" directory with "Layers" directory.&lt;/P&gt;&lt;P&gt;How is possible to rename the directory to "&lt;SPAN&gt;map-service-name&lt;/SPAN&gt;"?&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried to do it in ArcCatalog but after we cannot restart the map service.&lt;/P&gt;&lt;P&gt;We need to save "old" name of the cache for operational reasons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 06:04:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258047#M9942</guid>
      <dc:creator>MarkMindlin</dc:creator>
      <dc:date>2017-09-19T06:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a cache for a cached map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258048#M9943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How I update a complete cache, without interrupting the production version:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;create a new service &amp;lt;new_temp&amp;gt;&amp;nbsp; using the same (or copy) of the prod mxd ...&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;create the cache with the new_temp service&lt;/LI&gt;&lt;LI&gt;if I already had a cache for the prod service:&lt;OL&gt;&lt;LI&gt;STOP prod service and the new_temp service&lt;/LI&gt;&lt;LI&gt;rename the prod cache folder as a backup&lt;/LI&gt;&lt;LI&gt;rename the new_temp cache folder to the correct name for the prod service using File Exployer (not ArcCatalog)&lt;/LI&gt;&lt;LI&gt;START the prod service&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;If this cache is new:&lt;OL&gt;&lt;LI&gt;as you mentioned, create the folders for the cache by setting up the cache, but as manual&lt;/LI&gt;&lt;LI&gt;then follow the same steps as above.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you restart the prod server, it should see the information in the config.xml and automatically register the info.&amp;nbsp; It would not hurt to delete the status.gdb and then check the status again.&amp;nbsp; The status.gdb should rebuild itself.&lt;/P&gt;&lt;P&gt;see more help &lt;A class="link-titled" href="http://server.arcgis.com/en/server/10.3/publish-services/windows/a-quick-tour-of-map-caching.htm" title="http://server.arcgis.com/en/server/10.3/publish-services/windows/a-quick-tour-of-map-caching.htm"&gt;A quick tour of map caching—Documentation (10.3 and 10.3.1) | ArcGIS for Server&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw: I'll add that you can update a geographic extent of a cache while the service is running, but many times I need to replace the entire cache, and this seems to work best for that, in my opinion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 15:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258048#M9943</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-09-19T15:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a cache for a cached map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258049#M9944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rebecca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It really makes sense for maintenance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for our case (new cache):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;We stopped the service;&lt;/LI&gt;&lt;LI&gt;We renamed folder using File Explorer;&lt;/LI&gt;&lt;LI&gt;We started service (not crashed). But it does not work.&lt;/LI&gt;&lt;LI&gt;Checked the Service Properties. On the cache settings, it shows a "Dynamically ..." options - we changed to "Using tiles from a cache"&lt;/LI&gt;&lt;LI&gt;It shows the error:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/371818_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 00:12:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258049#M9944</guid>
      <dc:creator>MarkMindlin</dc:creator>
      <dc:date>2017-09-20T00:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a cache for a cached map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258050#M9945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So when you created the empty cache for the service with "manual", did it create the folder and structure in the arcgisserver folder?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you told it how you want the scales, etc. setup all ready...and do you know/expect it to be the same as the folder that contains the cache already?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, you should be able to compare the config.xml files from the new blank cache folder structure, and the one you will use the replace it.&amp;nbsp; They need to be exactly the same to do a replace by rename or by moving the L00...Lxx folders over.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are still on 10.2.2, but the structure should be about the same (our caches and other files are on our D drive)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;arcgisserver&lt;UL&gt;&lt;LI&gt;ImageServicesrFolder&amp;nbsp;&amp;nbsp; (our image services have another folder layer)&lt;UL&gt;&lt;LI&gt;ImagerServerName_ImageServer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ( the conf.cdi and conf.xml files are here)&lt;UL&gt;&lt;LI&gt;_alllayers&lt;UL&gt;&lt;LI&gt;L00 .... folders with the&amp;nbsp; bundle and bundlex files&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;status.gdb&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;MapServiceName1&lt;UL&gt;&lt;LI&gt;Layers&amp;nbsp; ( the conf.cdi and conf.xml files are here)&lt;UL&gt;&lt;LI&gt;&amp;nbsp;_alllayers&lt;UL&gt;&lt;LI&gt;L00 .... folders with the&amp;nbsp; bundle and bundlex files&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;status.gdb&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that makes sense.&amp;nbsp; I wanted to point out that Image Services themselves seem to put all those services in the Folder structure that we have on our server...and the actual service folders have _ImageServer in the name.&amp;nbsp; On the other hand, the Map Services seem to have the servicename folder right below the arcgisserver folder (and ignores the folder they are separate into).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This may be a 10.2.2 thing....just getting started on 10.5.x testing so things may be different in 10.3+&amp;nbsp;&amp;nbsp;&amp;nbsp; (??)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just&amp;nbsp; a thought....the cache folders....was the cache created on the same server, or on another and moved over?&amp;nbsp; It &lt;EM&gt;may&lt;/EM&gt; be a permission thing.&amp;nbsp; Make sure that the same permissions are assigned to all the folders/files in the renamed cache folder as are on and folders/files on a new service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, make sure the cache is a compatible version.&amp;nbsp; If it was created in an older or newer version you may need to try to &lt;EM&gt;Import&lt;/EM&gt; the cache (I seem to recall is a tool for this in 10.3) or possible expand the files from the bundleX and then convert them back into the 10.3. compatible format.&amp;nbsp; There was a bundlex format change between a couple of the versions, and it may have been 10.3. now that I think about it.&amp;nbsp; I had test 10.3, we just never implemented it (by choice do to hardware upgrades needed, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all else fails, but you know the cache is correct, I would remove the service giving the error, restart ArcGIS Server (reboot), make sure you have the folders setup correctly, and try is again.&amp;nbsp; Sometimes caches can be finicky, but I do this process all the time, so I know moving them around works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps and isn't too rambling.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 00:54:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258050#M9945</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-09-20T00:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a cache for a cached map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258051#M9946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rebecca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main point is that we need to upgrade from format1 (bundle+bundlx) to format 2 (only bundle). That means I probably not going to&amp;nbsp;compare the "old" config.xml to new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets ask a simple question (as per the topic) - rename the cache folder -&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;what is correct time/step to rename a&amp;nbsp;map cache/cache folder? We definitely see that it does not work with cache builded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your questions:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;So when you created the empty cache for the service with "manual", did it create the folder and structure in the arcgisserver folder?&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Yes, I see the folder "Layers". It is empty.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;Have you told it how you want the scales, etc. setup all ready...and do you know/expect it to be the same as the folder that contains the cache already?&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Just new service - I do not replace old with new - just try to rename the cache&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 01:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258051#M9946</guid>
      <dc:creator>MarkMindlin</dc:creator>
      <dc:date>2017-09-20T01:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a cache for a cached map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258052#M9947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at the upgrade tool yet?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/tools/server-toolbox/upgrade-map-server-cache-storage-format.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/server-toolbox/upgrade-map-server-cache-storage-format.htm"&gt;Upgrade Map Server Cache Storage Format—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Upgrades the compact cache storage format of a map or image service (created at 10.2.2 and earlier versions) to take advantage of performance improvements available at 10.3 and later versions.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Although the old format is supposed to work, I bet certain things in the config file and maybe file structure are a bit different.&amp;nbsp; I would test an upgrade with a small subset (maybe a few levels) to see if it works before upgrading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I have done it, so I know it is possible to get the 10.2.2 into the new format and folder structure, but it was a while ago.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 22:02:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258052#M9947</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-09-20T22:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a cache for a cached map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258053#M9948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas please&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;rename the cache folder -&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;what is correct time/step to rename a&amp;nbsp;map cache/cache folder? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;We definitely see that it does not work with cache built.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 01:30:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/rename-a-cache-for-a-cached-map-service/m-p/258053#M9948</guid>
      <dc:creator>MarkMindlin</dc:creator>
      <dc:date>2017-10-25T01:30:23Z</dc:date>
    </item>
  </channel>
</rss>

