Sunday, August 23, 2009

Why upgrading to ArcGIS 9.3.1 could take so long.

Well I decided I could afford a couple hours in my maintenance window to upgrade my ArcGIS Server version 9.3.1, and 8 hours later ...... I finished.

Installing the upgrade patch didn't take to long, but during the post install, it seemed that the post install screen would hang there for a long time. I mean I even waited about an hour and a half, but still no cigar. ArcGIS Server 9.3.1 just simply would not complete.

It wasn't before I opened a trouble ticket with ESRI, and even then it was a couple of hours before we were able to get the 9.3.1 upgrade completed, and keep in mind that during this process, none of the map services are running.

What it boiled down to, was that because my map cache folder was so large, it was holding up the ArcGIS Server 9.3.1 post install progress. This is because during the post install, the folder and file permissions are set for the arcgisserver folder, and thanks to the changes in security for each of the cache image files, you may have to wait for this process to complete setting the permissions of each file. For me, this was hundreds of thousands of cache files, and according to the the ESRI Tech support folks, this process could of taken several days to complete.

If you found this artcile, then you are in luck, because there is a workaround.

That is, in order to avoid this issue when upgrading ArcGIS Server, rename your arcgisserver folder to arcgisserver.old, and the post install will take seconds vs hours. Then, simply stop the ArcSOC windows service and rename the the new arcgisserver folder to arcgisserver.delete, rename the arcgisserver.old folder back to arcgisserver, and start the ArcSOC service and you should be golden. This process works because since you are upgrading, and the ArcGIS map services were working previously, the file permissions do not need to be changed as they should already be correct.

Don't forget however, that if you are using a shared folder for your arcgisserver folder, you will have to recreate those shares.

Happy upgrading!

No comments:

Post a Comment