<?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>question Re: Auto restart ambari 2.2x in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115946#M78740</link>
    <description>&lt;P&gt;Thanks for the quick response.  How does the sandbox actually start all the services?  Is there an easier way vs having to keep track of all the services added/removed etc. ?  I read somewhere there is some option in ambari.properties (but i can't seem to find anything) ?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2017 06:57:15 GMT</pubDate>
    <dc:creator>sonnyheer</dc:creator>
    <dc:date>2017-02-21T06:57:15Z</dc:date>
    <item>
      <title>Auto restart ambari 2.2x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115944#M78738</link>
      <description>&lt;P&gt;I have a VM with docker containers running HDP.  If I shutdown the VM and restart - the containers come up along with ambar-server and agent, but I have to manally start each component.  Is there an easy way to make all components start up in order?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 06:46:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115944#M78738</guid>
      <dc:creator>sonnyheer</dc:creator>
      <dc:date>2017-02-21T06:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Auto restart ambari 2.2x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115945#M78739</link>
      <description>&lt;P&gt;I recommend doing this via ambari rest api and start each service in the order you wish&lt;/P&gt;&lt;P&gt;API docs&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.hortonworks.com/articles/47170/automate-hdp-installation-using-ambari-blueprints.html"&gt;https://community.hortonworks.com/articles/47170/automate-hdp-installation-using-ambari-blueprints.html&lt;/A&gt;
&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.hortonworks.com/articles/47171/automate-hdp-installation-using-ambari-blueprints-2.html"&gt;https://community.hortonworks.com/articles/47171/automate-hdp-installation-using-ambari-blueprints-1.html&lt;/A&gt;
&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.hortonworks.com/articles/61358/automate-hdp-installation-using-ambari-blueprints-2.html"&gt;https://community.hortonworks.com/articles/61358/automate-hdp-installation-using-ambari-blueprints-2.html&lt;/A&gt;
&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.hortonworks.com/articles/70189/automate-hdp-installation-using-ambari-blueprints-3.html"&gt;https://community.hortonworks.com/articles/70189/automate-hdp-installation-using-ambari-blueprints-3.html&lt;/A&gt;
&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Blueprints"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Blueprints&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Start/Stop all host components&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517" target="_blank"&gt;https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 06:47:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115945#M78739</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2017-02-21T06:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Auto restart ambari 2.2x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115946#M78740</link>
      <description>&lt;P&gt;Thanks for the quick response.  How does the sandbox actually start all the services?  Is there an easier way vs having to keep track of all the services added/removed etc. ?  I read somewhere there is some option in ambari.properties (but i can't seem to find anything) ?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 06:57:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115946#M78740</guid>
      <dc:creator>sonnyheer</dc:creator>
      <dc:date>2017-02-21T06:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Auto restart ambari 2.2x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115947#M78741</link>
      <description>&lt;P&gt;yes you can do it very ambari.properties.  for full info go here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Recovery%3A+auto+start+components#Recovery:autostartcomponents-Pre240"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Recovery%3A+auto+start+components#Recovery:autostartcomponents-Pre240&lt;/A&gt;&lt;/P&gt;&lt;P&gt;IE&lt;/P&gt;&lt;H2&gt;How auto start works in Ambari versions 2.3.x/2.2.x&lt;/H2&gt;&lt;P&gt;When an ambari agent starts, it bootstraps with the ambari server via registration. The server sends information to the agent about the components that have been enabled for auto start along with the other auto start properties in ambari.properties. The agent compares the current state of these components against the desired state, to determine if these components are to be installed, started, restarted or stopped.&lt;/P&gt;Ambari.properties&lt;P&gt;To enable components for auto start, specify them using recover.enabled_components=A,B,C&lt;/P&gt;&lt;P&gt;# Enable Metrics Collector auto-restart&lt;/P&gt;&lt;P&gt;recovery.type=AUTO_START&lt;/P&gt;&lt;P&gt;recovery.enabled_components=METRICS_COLLECTOR&lt;/P&gt;&lt;P&gt;recovery.lifetime_max_count=1024&lt;/P&gt;&lt;P&gt;Here’s a sample snippet of the auto start configuration that is sent to the agent by the server during agent registration:&lt;/P&gt;&lt;P&gt;"recoveryConfig": {&lt;/P&gt;&lt;P&gt;"type" : "AUTO_START",&lt;/P&gt;&lt;P&gt;"maxCount" : 10,&lt;/P&gt;&lt;P&gt;"windowInMinutes" : 60,&lt;/P&gt;&lt;P&gt;"retryGap" : 0,&lt;/P&gt;&lt;P&gt;"enabledComponents" : "a,b",&lt;/P&gt;&lt;P&gt;“disabledComponents”: “c,d”&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;For example, if the current state of METRICS_COLLECTOR component on a host is INSTALLED but it is enabled for auto start, the desired state is STARTED. The recovery manager generates a start command for METRICS_COLLECTOR which is executed by the controller.&lt;/P&gt;&lt;P&gt;More on link provided&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 07:46:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115947#M78741</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2017-02-21T07:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Auto restart ambari 2.2x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115948#M78742</link>
      <description>&lt;P&gt;Great.  I'll try that out here shortly and report back.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 09:07:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115948#M78742</guid>
      <dc:creator>sonnyheer</dc:creator>
      <dc:date>2017-02-21T09:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Auto restart ambari 2.2x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115949#M78743</link>
      <description>&lt;P&gt;Is that on all the agents or on ambari server machine?  I'm assuming _CLIENT components aren't needed.  Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 12:13:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115949#M78743</guid>
      <dc:creator>sonnyheer</dc:creator>
      <dc:date>2017-02-21T12:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Auto restart ambari 2.2x</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115950#M78744</link>
      <description>&lt;P&gt;Nevermind...its only on server &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  it does seem to work, but doesn't show it in "op"&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 12:48:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Auto-restart-ambari-2-2x/m-p/115950#M78744</guid>
      <dc:creator>sonnyheer</dc:creator>
      <dc:date>2017-02-21T12:48:31Z</dc:date>
    </item>
  </channel>
</rss>

