Modified: 
incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap7.html
URL: 
http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap7.html?rev=1454240&r1=1454239&r2=1454240&view=diff
==============================================================================
--- 
incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap7.html
 (original)
+++ 
incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap7.html
 Fri Mar  8 04:27:51 2013
@@ -34,10 +34,18 @@
                             </a></td><td><a accesskey="p" 
class="navLinkPrevious" onclick="_gaq.push(['_trackEvent', 'Header', 
'prevLink', 'click', 1]);" tabindex="5" href="ambari-chap7a.html">Prev</a> 
                                  |
                                     <a accesskey="n" class="navLinkNext" 
onclick="_gaq.push(['_trackEvent', 'Header', 'nextLink', 'click', 1]);" 
tabindex="5" 
href="ambari-chap8.html">Next</a></td></tr></table></div></div><div 
id="toolbar" class="ui-tabs-nav ui-helper-reset ui-helper-clearfix 
ui-widget-header ui-corner-all"><div id="toolbar-left"><p 
class="breadcrumbs"><a href="http://incubator.apache.org/ambari";>Ambari Project 
Website</a><a href="index.html">Ambari User Guide</a></p></div></div><div 
id="content"><div class="statustext"> </div><div class="chapter"><div xmlns="" 
class="titlepage"><div><div><h2 xmlns="http://www.w3.org/1999/xhtml"; 
class="title">
-  Chapter 7. Appendix: Upgrading Ambari Server from 1.2.0 to 
1.2.1</h2></div></div></div><p>Upgrading Ambari Server is an eight step manual 
process.</p><div class="orderedlist"><ol class="orderedlist" type="1"><li 
class="listitem"><p>Stop the Ambari Server and all Ambari Agents.  From the 
Ambari Server host:</p><pre class="screen">ambari-server stop</pre><p>From each 
Ambari Agent host:</p><pre class="screen">ambari-agent stop</pre></li><li 
class="listitem"><p>Get the new Ambari bits. There are two options:</p><div 
class="itemizedlist"><ul class="itemizedlist" type="disc"><li 
class="listitem"><p>Use <code class="literal">wget</code> to fetch the 
repository file and replace the old repo file with
-  the new repo file.</p><div class="orderedlist"><ol class="orderedlist" 
type="a"><li class="listitem"><p>Fetch the new repo file:</p><p>For RHEL/CentOS 
5</p><pre class="screen">wget 
http://public-repo-1.hortonworks.com/ambari/centos5/1.x/GA/ambari.repo</pre><p>For
 RHEL/CentOS 6</p><pre class="screen">wget 
http://public-repo-1.hortonworks.com/ambari/centos6/1.x/GA/ambari.repo</pre><p>For
 SLES 11</p><pre class="screen">wget 
http://public-repo-1.hortonworks.com/ambari/suse11/1.x/GA/ambari.repo</pre></li><li
 class="listitem"><p>Replace the old repo file with the new repo 
file:</p><p>For RHEL/CentOS 5</p><pre class="screen">cp ambari.repo 
/etc/yum.repos.d</pre><p>For RHEL/CentOS 6</p><pre class="screen">cp 
ambari.repo /etc/yum.repos.d</pre><p>For SLES 11</p><pre class="screen">cp 
ambari.repo /etc/zypp/repos.d</pre></li></ol></div></li></ul></div><div 
class="itemizedlist"><ul class="itemizedlist" type="disc"><li 
class="listitem"><p>Delete the old package and fetch the new one usi
 ng rpm.</p><div class="orderedlist"><ol class="orderedlist" type="a"><li 
class="listitem"><p>Delete the old package:</p><p>For RHEL/CentOS 5</p><pre 
class="screen">yum erase ambari-1.x-1.el5.noarch</pre><p>For RHEL/CentOS 
6</p><pre class="screen">yum erase ambari-1.x-1.el6.noarch</pre><p>For SLES 
11</p><pre class="screen">zypper remove ambari-1.2.0.1-1.noarch</pre></li><li 
class="listitem"><p>Use rpm to fetch the new package:</p><p>For RHEL/CentOS 
5</p><pre class="screen">rpm -Uvh 
http://public-repo-1.hortonworks.com/ambari/centos5/1.x/GA/ambari-1.2.0.1-1.el5.noarch.rpm</pre><p>For
 RHEL/CentOS 6</p><pre class="screen">rpm -Uvh 
http://public-repo-1.hortonworks.com/ambari/centos6/1.x/GA/ambari-1.2.0.1-1.el6.noarch.rpm</pre><p>For
 SLES 11</p><pre class="screen">rpm -Uvh 
http://public-repo-1.hortonworks.com/ambari/suse11/1.x/GA/ambari-1.2.0.1-1.noarch.rpm</pre></li></ol></div></li></ul></div><div
 class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table 
border="0" sum
 mary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img 
alt="[Note]" src="../common/images/admon/note.png"/></td><th 
align="left">Note</th></tr><tr><td align="left" valign="top"><p>If your cluster 
does not have access to the Internet, you need to set up a local repository
-  with this data before you continue. See <a class="link" 
href="ambari-chap1-6.html" title="6. Optional: Configure the Local 
Repositories">Configure
-    the Local Repositories</a> for more 
information.</p></td></tr></table></div></li><li class="listitem"><p>Upgrade 
Ambari Server.  From the Ambari Server host:</p><div class="itemizedlist"><ul 
class="itemizedlist" type="disc"><li class="listitem"><p>RHEL/CentOS</p><pre 
class="screen">yum upgrade ambari-server</pre></li><li 
class="listitem"><p>SLES</p><pre class="screen">zypper clean --all
+  Chapter 7. Appendix: Upgrading Ambari Server from 1.2.0 to 
1.2.1</h2></div></div></div><p>Upgrading Ambari Server is an eight step manual 
process.</p><div class="orderedlist">
+  <ol class="orderedlist" type="1">
+      <li class="listitem"><p>Stop the Ambari Server and all Ambari Agents.  
From the Ambari Server host:</p><pre class="screen">ambari-server 
stop</pre><p>From each Ambari Agent host:</p><pre class="screen">ambari-agent 
stop</pre></li>
+      
+ 
+ <li><p>Get the new Ambari bits. Use <code class="literal">wget</code> to 
fetch the repository file and replace
+                the old repo file with the new repo file.</p><div 
class="itemizedlist"><ul class="itemizedlist" type="disc"><li 
class="listitem"><p>Fetch the new repo file:</p><p>For RHEL/CentOS 5</p><pre 
class="screen">wget 
http://public-repo-1.hortonworks.com/ambari/centos5/1.x/GA/ambari.repo</pre><p>For
 RHEL/CentOS 6</p><pre class="screen">wget 
http://public-repo-1.hortonworks.com/ambari/centos6/1.x/GA/ambari.repo</pre><p>For
 SLES 11</p><pre class="screen">wget 
http://public-repo-1.hortonworks.com/ambari/suse11/1.x/GA/ambari.repo</pre></li><li
 class="listitem"><p>Replace the old repo file with the new repo 
file:</p><p>For RHEL/CentOS 5</p><pre class="screen">cp ambari.repo 
/etc/yum.repos.d</pre><p>For RHEL/CentOS 6</p><pre class="screen">cp 
ambari.repo /etc/yum.repos.d</pre><p>For SLES 11</p><pre class="screen">cp 
ambari.repo /etc/zypp/repos.d</pre></li></ul></div><div class="note" 
style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" 
summary="Note"><tr><td r
 owspan="2" align="center" valign="top" width="25"><img alt="[Note]" 
src="../common/images/admon/note.png"/></td><th 
align="left">Note</th></tr><tr><td align="left" valign="top"><p>If your cluster 
does not have access to the Internet, you need to set up a local repository
+                    with this data before you continue. See <a class="link" 
href="ambari-chap1-6.html" title="6. Optional: Configure the Local 
Repositories">Configure
+                        the Local Repositories</a> for more 
information.</p></td></tr></table></div></li> 
+  
+    
+    <li class="listitem"><p>Upgrade Ambari Server.  From the Ambari Server 
host:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li 
class="listitem"><p>RHEL/CentOS</p><pre class="screen">yum upgrade 
ambari-server</pre></li><li class="listitem"><p>SLES</p><pre 
class="screen">zypper clean --all
 zypper up ambari-server
 </pre></li></ul></div></li><li class="listitem"><p>Upgrade the Ambari Server 
schema. From the Ambari Server host:</p><pre class="screen">ambari-server 
upgrade</pre></li><li class="listitem"><p>Upgrade the Ambari Agent on all 
hosts. From each Ambari Agent host:</p><div class="itemizedlist"><ul 
class="itemizedlist" type="disc"><li class="listitem"><p>RHEL/CentOS</p><pre 
class="screen">yum upgrade ambari-agent</pre></li><li 
class="listitem"><p>SLES</p><pre class="screen">zypper up 
ambari-agent</pre></li></ul></div></li><li class="listitem"><p>Update Ambari 
Server hostname in Agent configuration file. On each Agent host, open
   <code class="filename">/etc/ambari-agent/conf/ambari-agent.ini</code> and 
edit this


Reply via email to