Hi, I want to use AGSSOM to start and stop all Map services, How do I configure it and use it.

1117
1
09-13-2016 03:17 AM
AbhijitAnand
New Contributor

Is there any script to be used to enable agssom, where should it be placed ? Can anyone please provide me the steps to do this, Thanks

0 Kudos
1 Reply
RebeccaStrauch__GISP
MVP Emeritus

What version of ArcGIS Server are you using?  There  is a utility and scripts that us AGSSOM for I think 10.0 and earlier.  If 10.1+, you would want to use the AGS admin toolkit

Downloadable tools for ArcGIS Server administration | ArcGIS Blog 

http://www.arcgis.com/home/item.html?id=12dde73e0e784e47818162b4d41ee340#! 

This toolkit can easily be used with python scripts/tools.  For example, I am using parts of the toolkit samples to query only those services that are currently running, checking to see if they use the fgdb I need to update, shut those down, update the fgdb, and then start just those services back up.  So you can make it stop/start all, or you can do some filtering and stop/start from a list, etc.

edit:

Also look at the other threads on this same or similar subject (in no particular order):

Stopping/Starting ArcGIS services using Python 

AGSSOM 10.1 with ArcGIS Server 10.0? 

SOLUTION: Using AGSSOM in python to start/stop AGS 10.0 services 

https://community.esri.com/thread/56981 

0 Kudos