How To: Recycle Spatial Servers without causing ArcIMS services to be unavailable
This article is intended for ArcIMS 4.0 users only. Users with ArcIMS 4.0.1 should refer to the ArcIMS Help topic "Enabling server recycling" for information.
ArcIMS can be configured so that the Spatial Server periodically is stopped and restarted. However, this Spatial Server recycling feature may cause your ArcIMS services to be down or unavailable if it is not configured properly.
This document covers the procedure for configuring the Spatial Server recycling feature so that no down time occurs for the ArcIMS services.
In order to avoid down time, the Spatial and Virtual Server configuration of your system must be duplicated and an appropriate delay for recycling must be set.
Create a duplicate Spatial Server for each Spatial Server present in ArcIMS. For example, if spatialserver1 and spatialserver2 are present, create spatialserver3 (will be used to mimic spatialserver1) and spatialserver4 (will be used to mimic spatialserver2). <a href='http://support.esri.com/en/knowledgebase/techarticles/detail/22950' target='_blank'>How To: Add additional Spatial Servers</a>
Complete the duplication by associating the correct Virtual Servers to the new servers. For example, ImageServerArcMap1 Virtual Server is associated with spatialserver1 and ImageServer1 and FeatureServer1 Virtual Servers are associated with spatialserver2. To complete the duplication, associate ImageServerArcMap1 to spatialserver3 and ImageServer1 and FeatureServer1 to spatialserver4. <a href='http://support.esri.com/en/knowledgebase/techarticles/detail/22951' target='_blank'>How To: Associate Virtual Servers with new Spatial Servers: an ArcMap Server example</a>
Set the recycleSpatialServer.delay variable in the Monitor.properties file. Specify the time in minutes. The value used should be long enough to allow the Spatial Server to load all ArcIMS services completely; on some systems this may require some time. For example, if loading all services completely takes 10 minutes, set the delay to 15 minutes in order to allow some extra time. <a href='http://support.esri.com/en/knowledgebase/techarticles/detail/22949' target='_blank'>How To: Activate recycling for ArcIMS</a>
Save and close the file.
Stop and start the ArcIMS services.
There is a specific sequence to follow when stopping and restarting the ArcIMS services (Windows) or processes (UNIX).
Stop them in the following order: A) ArcIMS Tasker B) ArcIMS Monitor C) ArcIMS Application Server
Start them in the opposite order you stopped them: A) ArcIMS Application Server B) ArcIMS Monitor C) ArcIMS Tasker
For further information about the stop and start of ArcIMS services on Windows or Linux operating systems, see the articles listed in Related Information below.