<?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: REST API disable / enable service auto start by API in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-disable-enable-service-auto-start-by-API/m-p/177345#M75692</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do you mean something similar to the one which is mentioned here: &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/136769/auto-start-services-from-disable-to-enable.html" target="_blank"&gt;https://community.hortonworks.com/questions/136769/auto-start-services-from-disable-to-enable.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Mar 2018 12:39:39 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-03-12T12:39:39Z</dc:date>
    <item>
      <title>REST API disable / enable service auto start by API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-disable-enable-service-auto-start-by-API/m-p/177344#M75691</link>
      <description>&lt;P&gt;how to disable service auto start by API as the following&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="64569-capture.png" style="width: 1230px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19584i1B1BA405CB76F2C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="64569-capture.png" alt="64569-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;how to enable service auto start by API as the following&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="64570-capture1.png" style="width: 1267px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19585iFA25CCF2B04F4765/image-size/medium?v=v2&amp;amp;px=400" role="button" title="64570-capture1.png" alt="64570-capture1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:44:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-disable-enable-service-auto-start-by-API/m-p/177344#M75691</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-18T09:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: REST API disable / enable service auto start by API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-disable-enable-service-auto-start-by-API/m-p/177345#M75692</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do you mean something similar to the one which is mentioned here: &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/136769/auto-start-services-from-disable-to-enable.html" target="_blank"&gt;https://community.hortonworks.com/questions/136769/auto-start-services-from-disable-to-enable.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 12:39:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-disable-enable-service-auto-start-by-API/m-p/177345#M75692</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-03-12T12:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: REST API disable / enable service auto start by API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-disable-enable-service-auto-start-by-API/m-p/177346#M75693</link>
      <description>&lt;P&gt;the api from from this link answer about to enable all services , but what we need is only to enable / disable the auto start services , as described in the pictures ( like click on button to disable (pic1) ,and click on the button to enable (pic2) )&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 12:47:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-disable-enable-service-auto-start-by-API/m-p/177346#M75693</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-03-12T12:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: REST API disable / enable service auto start by API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-disable-enable-service-auto-start-by-API/m-p/177347#M75694</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Through API call it will be bit complex because ambari client needs to send a very huge Payload to make that change.&lt;/P&gt;&lt;P&gt;However the easiest option will be to use the following approach from ambari server host:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To Enable Auto start Services&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# /var/lib/ambari-server/resources/scripts/configs.py --user=admin --password=admin --port=8080 --action=set --host=localhost --cluster=TestCluster --config-type=cluster-env -k "recovery_enabled" -v "true"
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To Disable Auto start Services&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# /var/lib/ambari-server/resources/scripts/configs.py --user=admin --password=admin --port=8080 --action=set --host=localhost --cluster=TestCluster --config-type=cluster-env -k "recovery_enabled" -v "false"&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please change the Cluster name "TestCluster" and ambari credentials in the above script .&lt;/P&gt;&lt;P&gt;Above script needs to be executed from ambari server host as it has the "config.py" file.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 12:59:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-disable-enable-service-auto-start-by-API/m-p/177347#M75694</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-03-12T12:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: REST API disable / enable service auto start by API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-disable-enable-service-auto-start-by-API/m-p/177348#M75695</link>
      <description>&lt;P&gt;@Jay thank you so much , regrading the cluster size ( &lt;A href="https://community.hortonworks.com/questions/177371/cant-start-ambari-collector.html" target="_blank"&gt;https://community.hortonworks.com/questions/177371/cant-start-ambari-collector.html&lt;/A&gt; ) , dose cluster size mean - Number of workers machines ?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 13:06:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/REST-API-disable-enable-service-auto-start-by-API/m-p/177348#M75695</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-03-12T13:06:41Z</dc:date>
    </item>
  </channel>
</rss>

