<?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 (Auto) Starting the controller in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Auto-Starting-the-controller/m-p/730656#M7219</link>
    <description>&lt;P&gt;First, off let me lead off that I am not a linux expert. So more details to any answers would be greatly appreciated.&lt;/P&gt;

&lt;P&gt;There are two parts to this question:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;What is the proper method to start up the controller?&lt;/LI&gt;
&lt;LI&gt;How do we use that method so that the controller shuts down / starts up properly on machine reboot?&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;What is the proper method to start up the controller?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;According to the documentation:&amp;nbsp;&lt;A href="https://docs.appdynamics.com/display/PRO44/Start+or+Stop+the+Controller" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Start+or+Stop+the+Controller&lt;/A&gt;&amp;nbsp;you should use:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;platform-admin.sh start-controller-appserver --with-db&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;to start the controller. however I have found&lt;/P&gt;
&lt;P&gt;:&lt;BR /&gt;&lt;EM&gt;controller/bin/startController.sh&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;So I am curious, which is the proper method. I am leaning towards the usage suggested in the documentation, but I am just looking for clarification between the two scripts and whether or not the startController.sh should be used or not.&lt;/P&gt;

&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;How do we use that method so that the controller shuts down / starts up properly on machine reboot?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;Once I know which script to use, I need to understand how to make the stop / start get called on machine reboot. I scanned the forums and the documentation, but I could not find a clear answer. Could someone please provide guidance?&lt;/P&gt;</description>
    <pubDate>Tue, 04 Sep 2018 16:15:01 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2018-09-04T16:15:01Z</dc:date>
    <item>
      <title>(Auto) Starting the controller</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Auto-Starting-the-controller/m-p/730656#M7219</link>
      <description>&lt;P&gt;First, off let me lead off that I am not a linux expert. So more details to any answers would be greatly appreciated.&lt;/P&gt;

&lt;P&gt;There are two parts to this question:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;What is the proper method to start up the controller?&lt;/LI&gt;
&lt;LI&gt;How do we use that method so that the controller shuts down / starts up properly on machine reboot?&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;What is the proper method to start up the controller?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;According to the documentation:&amp;nbsp;&lt;A href="https://docs.appdynamics.com/display/PRO44/Start+or+Stop+the+Controller" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Start+or+Stop+the+Controller&lt;/A&gt;&amp;nbsp;you should use:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;platform-admin.sh start-controller-appserver --with-db&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;to start the controller. however I have found&lt;/P&gt;
&lt;P&gt;:&lt;BR /&gt;&lt;EM&gt;controller/bin/startController.sh&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;So I am curious, which is the proper method. I am leaning towards the usage suggested in the documentation, but I am just looking for clarification between the two scripts and whether or not the startController.sh should be used or not.&lt;/P&gt;

&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;How do we use that method so that the controller shuts down / starts up properly on machine reboot?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;Once I know which script to use, I need to understand how to make the stop / start get called on machine reboot. I scanned the forums and the documentation, but I could not find a clear answer. Could someone please provide guidance?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 16:15:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Auto-Starting-the-controller/m-p/730656#M7219</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-09-04T16:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: (Auto) Starting the controller</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Auto-Starting-the-controller/m-p/730657#M7220</link>
      <description>&lt;P&gt;I found this documentation:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO44/Set+Up+a+High+Availability+Deployment#SetUpaHighAvailabilityDeployment-installserviceStep4:InstallasaService" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Set+Up+a+High+Availability+Deployment#SetUpaHighAvailabilityDeployment-installserviceStep4:InstallasaService&lt;/A&gt;&lt;/P&gt;

&lt;H3 id="SetUpaHighAvailabilityDeployment-installserviceStep4:InstallasaService" id="toc-hId-1156109300"&gt;Step 4: Install as a Service&lt;/H3&gt;
&lt;P&gt;The Enterprise Console does not install the Controller as a service on linux as it requires root user or sudo privileges. However, the Enterprise Console copies the init scripts on the Controller hosts in &amp;lt;controller&amp;gt;/init.&amp;nbsp;You can run the following script manually to complete the installation:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change directories into&amp;nbsp;&lt;CODE&gt;&amp;lt;controller_home&amp;gt;/init&lt;/CODE&gt;. &amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Run&amp;nbsp;&lt;CODE&gt;save_mysql_passwd.sh&lt;/CODE&gt;&amp;nbsp;as the user who owns the Controller folder, and enter the MySQL database root user password when prompted.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Run&amp;nbsp;&lt;CODE&gt;install-init.sh&lt;/CODE&gt;&amp;nbsp;as root user with one of the following options to choose how to elevate the user privilege:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;-c&lt;/CODE&gt;&amp;nbsp;#use setuid c wrapper&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;-s&lt;/CODE&gt;&amp;nbsp;#use sudo&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;-p&lt;/CODE&gt;&amp;nbsp;#use prune wrapper&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;-x&lt;/CODE&gt;&amp;nbsp;#use user privilege wrapper&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This script must be run on both Controller HA pair servers.&amp;nbsp;If you need to uninstall the service later, use the&amp;nbsp;&lt;CODE&gt;uninstall-init.sh&lt;/CODE&gt;&amp;nbsp;script.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The status and progress logs of the deployment's various components are written to the logs.&lt;/P&gt;

&lt;P&gt;However I am unsure what to passs into those parameters nor what those parameters mean. We are not using sudo, but pbrun.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 17:25:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Auto-Starting-the-controller/m-p/730657#M7220</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-09-04T17:25:59Z</dc:date>
    </item>
  </channel>
</rss>

