<?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: Removing and preventing connections in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/removing-and-preventing-connections/m-p/16118#M819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Esri doesn't have any control over the permissions required to kill database jobs.&amp;nbsp; The application&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server processes are killable by the owning service, but Direct Connect sessions require what &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Microsoft says is necessary to get the job done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2011 13:44:18 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2011-09-06T13:44:18Z</dc:date>
    <item>
      <title>Removing and preventing connections</title>
      <link>https://community.esri.com/t5/data-management-questions/removing-and-preventing-connections/m-p/16115#M816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Background: Arc10, SQLServer, mix of both direct connect and sde service connected clients.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am updating our maintenance scripts developed previously for 9.3. I was wondering what the best method for killing all user connections and then preventing new user connections. We do this for compressions etc. My first thoughts were:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Option A: SDEMON -o KILL -t ALL, followed by SDEMON -o Pause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Optioni B: SDEMON -o shutdown -N&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sdemon documentation explicitly states that the pause command will block both direct connect and sde service connections. Will the shutdown command do the same? It seems as though this will just stop the service and not affect the direct connections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any other methods?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 17:33:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/removing-and-preventing-connections/m-p/16115#M816</guid>
      <dc:creator>ShaunConway</dc:creator>
      <dc:date>2011-08-30T17:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Removing and preventing connections</title>
      <link>https://community.esri.com/t5/data-management-questions/removing-and-preventing-connections/m-p/16116#M817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Option B could include a 'pause' before shutdown, but then it will still be paused at restart&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(at least, that's the way it worked when I last tried it - circa 9.1).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Similarly, if you pause before kill, you won't have a race condition window for (re)connect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 19:29:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/removing-and-preventing-connections/m-p/16116#M817</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-08-30T19:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Removing and preventing connections</title>
      <link>https://community.esri.com/t5/data-management-questions/removing-and-preventing-connections/m-p/16117#M818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think we are going to go with sdemon pause as it blocks any new user attempting to connect from both direct and sde services. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did have a follow up question: We would like to take advantage of the sdemon kill command,&amp;nbsp; but our DBA is a bit hesitant on adding the user account we use for system maintenance to the sysadmin group on sql server. The reason being that there are a few other databases on the server. Is there any other alternative method to the sdemon kill command that doesn't require the user to be a member of the sysadmin group?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shaun&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 13:05:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/removing-and-preventing-connections/m-p/16117#M818</guid>
      <dc:creator>ShaunConway</dc:creator>
      <dc:date>2011-09-06T13:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Removing and preventing connections</title>
      <link>https://community.esri.com/t5/data-management-questions/removing-and-preventing-connections/m-p/16118#M819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Esri doesn't have any control over the permissions required to kill database jobs.&amp;nbsp; The application&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server processes are killable by the owning service, but Direct Connect sessions require what &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Microsoft says is necessary to get the job done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 13:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/removing-and-preventing-connections/m-p/16118#M819</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-09-06T13:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Removing and preventing connections</title>
      <link>https://community.esri.com/t5/data-management-questions/removing-and-preventing-connections/m-p/16119#M820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The 'sdemon -o pause' command will block both application server connections (ASC) and direct-connections for all users with the exception of the 'SDE' or admin user account to enable maintenance.&amp;nbsp; This is true for all versions including the most recent 10 sp2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 11:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/removing-and-preventing-connections/m-p/16119#M820</guid>
      <dc:creator>JonDeRose</dc:creator>
      <dc:date>2011-09-09T11:16:04Z</dc:date>
    </item>
  </channel>
</rss>

