<?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: ambari cluster +  auto process to start all services that are down in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222598#M66909</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Following API call will check the services that are down and will start them in the correct order if any of the service is down.&lt;/P&gt;&lt;PRE&gt;# curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"_PARSE_.START.ALL_SERVICES","operation_level":{"level":"CLUSTER","cluster_name":"plain_ambari"}},"Body":{"ServiceInfo":{"state":"STARTED"}}}' &lt;A href="http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/services" target="_blank"&gt;http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/services&lt;/A&gt;?&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Please replace the following:&lt;/P&gt;&lt;P&gt;- "amb25101.example.com"  with your Ambari Server Hostname&lt;/P&gt;&lt;P&gt;- "plain_ambari" with your ambari cluster name&lt;/P&gt;&lt;P&gt;- "8080" with the port of your ambari server.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"_PARSE_.START.ALL_SERVICES","operation_level":{"level":"CLUSTER","cluster_name":"plain_ambari"}},"Body":{"ServiceInfo":{"state":"STARTED"}}}' &lt;A href="http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/services" target="_blank"&gt;http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/services&lt;/A&gt;?
{
  "href" : "http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/requests/134",
  "Requests" : {
    "id" : 134,
    "status" : "Accepted"
  }
}&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Later the progress can be tracked by looking at the API response (requestID)&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/requests/134" target="_blank"&gt;http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/requests/134&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2017 17:32:08 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-08-18T17:32:08Z</dc:date>
    <item>
      <title>ambari cluster +  auto process to start all services that are down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222597#M66908</link>
      <description>&lt;P&gt;after we install new ambari cluster some of the ambari services are down&lt;/P&gt;&lt;P&gt;I know how to start the service by API &lt;/P&gt;&lt;P&gt;but in case there more services that are down or all them , then need to start according to start priority&lt;/P&gt;&lt;P&gt;is it possible to start  all services that are down by API and according to priority , without manual startup?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 17:26:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222597#M66908</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-18T17:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster +  auto process to start all services that are down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222598#M66909</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Following API call will check the services that are down and will start them in the correct order if any of the service is down.&lt;/P&gt;&lt;PRE&gt;# curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"_PARSE_.START.ALL_SERVICES","operation_level":{"level":"CLUSTER","cluster_name":"plain_ambari"}},"Body":{"ServiceInfo":{"state":"STARTED"}}}' &lt;A href="http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/services" target="_blank"&gt;http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/services&lt;/A&gt;?&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Please replace the following:&lt;/P&gt;&lt;P&gt;- "amb25101.example.com"  with your Ambari Server Hostname&lt;/P&gt;&lt;P&gt;- "plain_ambari" with your ambari cluster name&lt;/P&gt;&lt;P&gt;- "8080" with the port of your ambari server.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"_PARSE_.START.ALL_SERVICES","operation_level":{"level":"CLUSTER","cluster_name":"plain_ambari"}},"Body":{"ServiceInfo":{"state":"STARTED"}}}' &lt;A href="http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/services" target="_blank"&gt;http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/services&lt;/A&gt;?
{
  "href" : "http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/requests/134",
  "Requests" : {
    "id" : 134,
    "status" : "Accepted"
  }
}&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Later the progress can be tracked by looking at the API response (requestID)&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/requests/134" target="_blank"&gt;http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/requests/134&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 17:32:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222598#M66909</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-18T17:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster +  auto process to start all services that are down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222599#M66910</link>
      <description>&lt;P&gt;this is great answer , I will test the syntax above , thank you so much for your  fast response and your professional knowledge , &lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 17:36:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222599#M66910</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-18T17:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster +  auto process to start all services that are down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222600#M66911</link>
      <description>&lt;P&gt;can you please defined all the syntax with - &lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;&lt;A href="http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/requests/134" target="_blank"&gt;http://amb25101.example.com:8080/api/v1/clusters/plain_ambari/requests/134&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 18 Aug 2017 17:46:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222600#M66911</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-18T17:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster +  auto process to start all services that are down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222601#M66912</link>
      <description>&lt;P&gt;do you mean to see the progress like this - curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"_PARSE_.START.ALL_SERVICES","operation_level":{"level":"CLUSTER","cluster_name":"plain_ambari"}},"Body":{"ServiceInfo":{"state":"STARTED"}}}' &lt;A href="http://198.23.45.23:8080/api/v1/clusters/HDP01/requests/134" target="_blank"&gt;http://198.23.45.23:8080/api/v1/clusters/HDP01/requests/134&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 17:49:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222601#M66912</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-18T17:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster +  auto process to start all services that are down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222602#M66913</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;curl -u admin:admin -H "X-Requested-By: ambari" -X GET  &lt;A href="http://198.23.45.23:8080/api/v1/clusters/HDP01/requests/134" target="_blank"&gt;http://198.23.45.23:8080/api/v1/clusters/HDP01/requests/134&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Here 134  will be the request ID that you got from the previous command output.&lt;/P&gt;&lt;P&gt;The output contain the request status as following: (Or IN_PROGRESS   is the start is going on)&lt;/P&gt;&lt;PRE&gt;"request_status" : "COMPLETED",&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 17:51:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222602#M66913</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-18T17:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster +  auto process to start all services that are down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222603#M66914</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;uri ben-ari &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the request ID correct?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 18:05:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222603#M66914</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-08-18T18:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: ambari cluster +  auto process to start all services that are down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222604#M66915</link>
      <description>&lt;P&gt;now I see the req ID , all is right now &lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 18:06:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ambari-cluster-auto-process-to-start-all-services-that-are/m-p/222604#M66915</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-08-18T18:06:03Z</dc:date>
    </item>
  </channel>
</rss>

