<?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: Controller Shutdown Fails Due to Running Job - Controller Update ES URL in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-Shutdown-Fails-Due-to-Running-Job-Controller-Update/m-p/727683#M5887</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;It looks like you have started two jobs simultaneously. Run one job at a time.&amp;nbsp;&lt;/SPAN&gt;Can you please use the below command to check for the running jobs and let us know if that helps.&lt;/P&gt;


&lt;PRE&gt;./platform-admin.sh list-jobs --service &amp;lt;controller or events-service&amp;gt;&lt;/PRE&gt;

&lt;P&gt;For more information,&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO44/Enterprise+Console+Command+Line" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Enterprise+Console+Command+Line&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Yogesh&lt;/P&gt;</description>
    <pubDate>Mon, 02 Apr 2018 04:17:50 GMT</pubDate>
    <dc:creator>Yogesh_Chouk</dc:creator>
    <dc:date>2018-04-02T04:17:50Z</dc:date>
    <item>
      <title>Controller Shutdown Fails Due to Running Job - Controller Update ES URL</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-Shutdown-Fails-Due-to-Running-Job-Controller-Update/m-p/727682#M5886</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Experts,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I am experiencing an&amp;nbsp;issue&amp;nbsp;stopping the &lt;STRONG&gt;AppDynamics Controller 4.4.2&lt;/STRONG&gt; after a &lt;U&gt;successful&lt;/U&gt; CLI installation using '&lt;STRONG&gt;platform-admin.sh&lt;/STRONG&gt;'. During an&amp;nbsp;automated install of the &lt;STRONG&gt;AppDynamics&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;Enterprise Console&lt;/STRONG&gt;, &lt;STRONG&gt;Controller&lt;/STRONG&gt;, and the &lt;STRONG&gt;Events Service&lt;/STRONG&gt; (version 4.4.2)&lt;STRONG&gt;,&lt;/STRONG&gt; the script fails with the following error:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;Controller failed to stop.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;Command failed due to an error: Error running job stop: Another controller operation is in progress. Only one operation can be run on platform 1. To view the running jobs, please log in to Enterprise Console web interface.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;It seems the Events Service install submits a long-running job named, '&lt;STRONG&gt;Controller Update ES URL Job&lt;/STRONG&gt;', that is still running in the background when I try to gracefully shutdown the Controller.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="3" color="#000000"&gt;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;Question: Using the CLI, is there a way to determine if there are running jobs?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Here is a script fragment:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;# create an appdynamics platform.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;cd /opt/appdynamics/platform/platform-admin/bin&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;./platform-admin.sh create-platform&lt;/STRONG&gt; --name "Spring Demo" --description "This is a demo of a simple Spring Boot application." --installation-dir /opt/appdynamics/platform/product&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;# add local host ('platformadmin') to platform.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;./platform-admin.sh add-hosts&lt;/STRONG&gt; --hosts "platformadmin"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;# install appdynamics controller.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;./platform-admin.sh submit-job --service controller --job install&lt;/STRONG&gt; --args controllerPrimaryHost="platformadmin" controllerAdminUsername="admin" controllerAdminPassword="welcome1" controllerRootUserPassword="welcome1" mysqlRootPassword="welcome1"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;# install appdynamics events service.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;./platform-admin.sh install-events-service&lt;/STRONG&gt; --profile "dev" --hosts "platformadmin"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;# install appdynamics events service.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;# shutdown the appdynamics platform components.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;./platform-admin.sh stop-controller-appserver --with-db&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Stopping the Controller.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;Controller failed to stop.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;Command failed due to an error: Error running job stop: Another controller operation is in progress. Only one operation can be run on platform 1. To view the running jobs, please log in to Enterprise Console web interface.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 18:47:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-Shutdown-Fails-Due-to-Running-Job-Controller-Update/m-p/727682#M5886</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-03-29T18:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Controller Shutdown Fails Due to Running Job - Controller Update ES URL</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-Shutdown-Fails-Due-to-Running-Job-Controller-Update/m-p/727683#M5887</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;It looks like you have started two jobs simultaneously. Run one job at a time.&amp;nbsp;&lt;/SPAN&gt;Can you please use the below command to check for the running jobs and let us know if that helps.&lt;/P&gt;


&lt;PRE&gt;./platform-admin.sh list-jobs --service &amp;lt;controller or events-service&amp;gt;&lt;/PRE&gt;

&lt;P&gt;For more information,&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO44/Enterprise+Console+Command+Line" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Enterprise+Console+Command+Line&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Yogesh&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 04:17:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-Shutdown-Fails-Due-to-Running-Job-Controller-Update/m-p/727683#M5887</guid>
      <dc:creator>Yogesh_Chouk</dc:creator>
      <dc:date>2018-04-02T04:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Controller Shutdown Fails Due to Running Job - Controller Update ES URL</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-Shutdown-Fails-Due-to-Running-Job-Controller-Update/m-p/727684#M5888</link>
      <description>&lt;P&gt;Yogesh,&lt;/P&gt;

&lt;P&gt;After a &lt;FONT size="3"&gt;successfull&lt;/FONT&gt; install of the Enterprise Console and the Controller, I&amp;nbsp;invoke the Events Service install:&lt;/P&gt;

&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="3"&gt;&lt;SPAN class="s1"&gt;$ &lt;STRONG&gt;./platform-admin.sh install-events-service --profile dev --hosts platformadmin&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="3"&gt;&lt;SPAN class="s1"&gt;$&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;./platform-admin.sh show-events-service-health&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;This takes about 30 seconds&amp;nbsp;to complete and&amp;nbsp;then the script exits. The "Show Events Service Health" script also completes successfully. The result is shown in the following "Jobs"&amp;nbsp;dashboard&amp;nbsp;screenshot:&lt;/P&gt;

&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="appd-enterprise-console-running-jobs.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35095i3D3BABD7CCA0EE5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Notice the "&lt;STRONG&gt;Controller Update ES URL Job&lt;/STRONG&gt;" that was created and is currently "In Progress". Running your suggested commands only shows the available Actions, not the currently running Jobs:&lt;/P&gt;

&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s1"&gt;apm&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;[&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;root&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;]&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;# &lt;STRONG&gt;./platform-admin.sh list-jobs --service controller&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt;Actions available for service:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Add Secondary Controller &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("add_secondary", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Start Controller &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("start", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Stop Controller&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("stop", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Upgrade Controller &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("upgrade", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Upgrade MySQL&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("mysql_upgrade", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Remove Controller&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("remove", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Retrieve Log &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("retrieve_log", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Start MySQL&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("mysql_start", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Stop MySQL &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("mysql_stop", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Diagnosis&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("diagnosis", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt;Actions available for "Controller" node on host "platformadmin":&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; None&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt;Actions available for "MySQL" node on host "platformadmin":&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; None&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s1"&gt;apm&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;[&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;root&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;]&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;# &lt;STRONG&gt;./platform-admin.sh list-jobs --service events-service&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt;Actions available for service:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Start Events Service &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("start", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Stop Events Service&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("stop", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Uninstall&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("uninstall", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Upgrade Events Service &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("upgrade", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Restart&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("restart_cluster", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Add Node &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("add_nodes", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Retrieve Log &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("retrieve_logs", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Scale Up Events Service&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("install", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt;Actions available for "api-store" node on host "platformadmin":&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Uninstall Node &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("uninstall_node", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;SPAN class="s4"&gt; Restart Node &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;("restart_node", enabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;Since this is an automated provisioning script, I would like to know how can I query the Platform to know when the&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;STRONG&gt;Controller Update ES URL Job&lt;/STRONG&gt;&lt;SPAN&gt;" is finished&amp;nbsp;so I can safely shutdown the Platform? Is there a private SQL statement I could create to give me the same information contained in the "Jobs" dashboard above? Also, what is the purpose of the ES URL job?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;-Ed&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 19:40:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-Shutdown-Fails-Due-to-Running-Job-Controller-Update/m-p/727684#M5888</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-04-02T19:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Controller Shutdown Fails Due to Running Job - Controller Update ES URL</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-Shutdown-Fails-Due-to-Running-Job-Controller-Update/m-p/727685#M5889</link>
      <description>&lt;P&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I have found an acceptable solution. It seems that if I reverse the order in the installation of the platform services--installing the events service first and then followed by the controller--everything works as expected.&lt;/P&gt;

&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# install appdynamics events service (first).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;./platform-admin.sh install-events-service --profile "dev" --hosts "platformadmin"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# install appdynamics controller (second).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;./platform-admin.sh submit-job --service controller --job install --args controllerPrimaryHost="platformadmin" controllerAdminUsername="admin" controllerAdminPassword="welcome1" controllerRootUserPassword="welcome1" mysqlRootPassword="welcome1"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;-Ed&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 13:35:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Controller-Shutdown-Fails-Due-to-Running-Job-Controller-Update/m-p/727685#M5889</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-05-23T13:35:34Z</dc:date>
    </item>
  </channel>
</rss>

