<?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: Automate administration of ArcGIS Server &amp;quot;search service&amp;quot; in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/automate-administration-of-arcgis-server-quot/m-p/61105#M4897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to use the urllib or urllib2 and the JSON module within Python to stop or start any service published to ArcGIS Server.&amp;nbsp; You'll need to generate a token first using the arcgis/tokens/ URL, create an administrative or publisher token, and then append the token to stop or start a service through the Admin API for Server, ex arcgis/admin/services/Utilities/Search.SearchServer/stop or arcgis/admin/services/Utilities/Search.SearchServer/start.&amp;nbsp; To create them, you can follow the instructions &lt;A href="http://server.arcgis.com/en/server/latest/administer/windows/creating-a-search-service.htm"&gt;here&lt;/A&gt; and recreate that request using Python following the instructions above in appending a token creating through the arcgis/tokens URL to the recreate to create the search service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 20:24:40 GMT</pubDate>
    <dc:creator>JonathanQuinn</dc:creator>
    <dc:date>2015-08-04T20:24:40Z</dc:date>
    <item>
      <title>Automate administration of ArcGIS Server "search service"</title>
      <link>https://community.esri.com/t5/python-questions/automate-administration-of-arcgis-server-quot/m-p/61104#M4896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to automate the adminstration of ArcGIS Server search services using Python?&amp;nbsp; I know you can for map and image services, etc., but are there capabilities in ArcPy, etc. to create/stop/restart search services as well?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 20:14:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automate-administration-of-arcgis-server-quot/m-p/61104#M4896</guid>
      <dc:creator>Will</dc:creator>
      <dc:date>2015-08-04T20:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Automate administration of ArcGIS Server "search service"</title>
      <link>https://community.esri.com/t5/python-questions/automate-administration-of-arcgis-server-quot/m-p/61105#M4897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to use the urllib or urllib2 and the JSON module within Python to stop or start any service published to ArcGIS Server.&amp;nbsp; You'll need to generate a token first using the arcgis/tokens/ URL, create an administrative or publisher token, and then append the token to stop or start a service through the Admin API for Server, ex arcgis/admin/services/Utilities/Search.SearchServer/stop or arcgis/admin/services/Utilities/Search.SearchServer/start.&amp;nbsp; To create them, you can follow the instructions &lt;A href="http://server.arcgis.com/en/server/latest/administer/windows/creating-a-search-service.htm"&gt;here&lt;/A&gt; and recreate that request using Python following the instructions above in appending a token creating through the arcgis/tokens URL to the recreate to create the search service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 20:24:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automate-administration-of-arcgis-server-quot/m-p/61105#M4897</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2015-08-04T20:24:40Z</dc:date>
    </item>
  </channel>
</rss>

