<?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: where to locate maintenance scripts in ambari cluster machines in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220444#M82121</link>
    <description>&lt;P&gt;so what are the other places that I can use ?&lt;/P&gt;</description>
    <pubDate>Wed, 15 Aug 2018 02:50:08 GMT</pubDate>
    <dc:creator>mike_bronson7</dc:creator>
    <dc:date>2018-08-15T02:50:08Z</dc:date>
    <item>
      <title>where to locate maintenance scripts in ambari cluster machines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220442#M82119</link>
      <description>&lt;P&gt;  hi all,&lt;/P&gt;&lt;P&gt;we developed recently couple of shell scripts for cluster maintenance ( as clean logs , collect info , API script etc )&lt;/P&gt;&lt;P&gt;and script must be located in every Linux machine as ( worker machine , data node machine , name node machine )&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my question&lt;/STRONG&gt; is - were to locate these scripts on each machine? , so it will be safe in case of HDP upgrade or to avoid conflict &lt;/P&gt;&lt;P&gt;for example , we check and we found that each machine have the following empty folder &lt;/P&gt;&lt;PRE&gt;/var/lib/ambari-agent/lib/&lt;/PRE&gt;&lt;PRE&gt;and we are thinking to put all our scripts under /var/lib/ambari-agent/lib&lt;/PRE&gt;&lt;P&gt;what hortonworks opinion about this , or where is the best location for our scripts that should be located ?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 02:37:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220442#M82119</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-08-15T02:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: where to locate maintenance scripts in ambari cluster machines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220443#M82120</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;Don't think /var/lib/ambari-agent/lib is good place to keep - As of now it seems Agent upgrade is not removing the files under that path but in future that may/not change - i would recommend to use any custom path outside of ambari-agent&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 02:47:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220443#M82120</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2018-08-15T02:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: where to locate maintenance scripts in ambari cluster machines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220444#M82121</link>
      <description>&lt;P&gt;so what are the other places that I can use ?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 02:50:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220444#M82121</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-08-15T02:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: where to locate maintenance scripts in ambari cluster machines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220445#M82122</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;Ambari agent has below folders&lt;/P&gt;&lt;P&gt;/etc/ambari-agent, /usr/lib/ambari-agent, /usr/sbin/ambari-agent, /var/lib/ambari-agent, /var/lib/ambari-agent/bin/ambari-agent
/var/log/ambari-agent, /var/run/ambari-agent&lt;/P&gt;&lt;P&gt;It is better to use some other custom path like /var/lib/ambari-scripts or /var/lib/ambari-custom-scripts &lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 03:04:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220445#M82122</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2018-08-15T03:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: where to locate maintenance scripts in ambari cluster machines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220446#M82123</link>
      <description>&lt;P&gt;in other words you recommended to create new folder on each machine &lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 04:40:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220446#M82123</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-08-15T04:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: where to locate maintenance scripts in ambari cluster machines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220447#M82124</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; yes that is correct.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 04:55:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220447#M82124</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2018-08-15T04:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: where to locate maintenance scripts in ambari cluster machines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220448#M82125</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;Can you please mark correct answer if you are satisfied with my answer?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 23:28:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/where-to-locate-maintenance-scripts-in-ambari-cluster/m-p/220448#M82125</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2018-08-15T23:28:24Z</dc:date>
    </item>
  </channel>
</rss>

