Ambari Managed HDF Upgrade
Also available as:
PDF

Upgrade Ambari Server

You can perform the Ambari Server upgrade on the host running Ambari Server. The upgrade process consists of running the upgrade commands appropriate for your operating system, and verifying the successful upgrade.

  1. Upgrade Ambari Server. On the host running Ambari Server:
    • For RHEL/CentOS/Oracle Linux:

      yum clean all
      yum info ambari-server 

      In the info output, visually validate that there is an available version containing "2.7"

      yum upgrade ambari-server
    • For SLES:

      zypper clean
      zypper info ambari-server 

      In the info output, visually validate that there is an available version containing "2.7"

      zypper up ambari-server
      Important
      Important

      When performing upgrade on SLES, you will see a message similar to "There is an update candidate for 'ambari-server', but it is from different vendor. Use 'zypper install ambari-server-<version>-<build>.noarch' to install this candidate". You will need to use yast to update the package, as follows:

      1. Display the command line UI for YaST, by entering:
        > yast
      2. Choose Software > Software Management, then click the Enter button.
      3. In the Search Phrase field, enter ambari-server, then click the Enter button.
      4. On the right side you will see the search result ambari-server 2.7. Click Actions, choose Update, then click the Enter button.
      5. Go to Accept, and click enter.
    • For Ubuntu/Debian:

      apt-get clean all
      apt-get update
      apt-cache show ambari-server | grep Version 

      In the info output, visually validate that there is an available version containing "2.7".

      apt-get install ambari-server 
  2. Check for upgrade success by noting progress during the Ambari Server installation process.

    As the process runs, the console displays output similar, although not identical, to the following:

    Setting up Upgrade Process Resolving Dependencies --> Running transaction check

    If the upgrade fails, the console displays output similar to the following:

    Setting up Upgrade Process No Packages marked for Update

    A successful upgrade displays output similar to the following:

    Updated: ambari-server.noarch 0:<version>-<build> Complete!