Ambari Managed HDF Upgrade for IBM Power Systems
Also available as:
PDF

Upgrade to Ambari 2.6.1

On the Ambari host where the Server and Agent are running

  1. Stop Ambari Server:

    [root@host ~]# ambari-server stop
  2. Stop Ambari Agents on all hosts:

    [root@host ~]# ambari-agent stop
  3. Update the Ambari repository. See the HDF Release Notes for the Ambari repository appropriate for your Operating System.

    For example:

    [root@host ~]#  wget -nv "http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.6.1.0/ambari.repo"
    -O /etc/yum.repos.d/ambari.repo
  4. Upgrade Ambari Server binaries:

    [root@host ~]# yum clean all
    [root@host ~]# yum info ambari-server
    [root@host ~]# yum upgrade ambari-server
    
  5. Upgrade the Ambari Agent binaries:

    [root@host ~]# yum upgrade ambari-agent
  6. Upgrade your HDF management pack. See the HDF Release Notes for the management pack location appropriate for your Operating System.

    For example:

    [root@host ~]# ambari-server upgrade-mpack
    --mpack=mpack=http://public-repo-1.hortonworks.com/HDF/centos7/3.x/updates/3.1.1.0/tars/hdf_ambari_mp/hdf-ambari-mpack-3.1.1.0-<build-number>.tar.gz
    --verbose
  7. Ensure that the HDF 3.1.x configurations are enabled for NiFi and NiFi Registry.

    See the HDF Release Notes for the management pack version and build number.

    python
    /var/lib/ambari-server/resources/mpacks/hdf-ambari-mpack-3.1.1.0-<build-no>/hooks/switch_addon_services.py
    /var/lib/ambari-server/resources/mpacks/hdf-ambari-mpack-3.1.1.0-<build-no>/hooks/HDF-3.1.json

    For CentOS 7

    cp /var/lib/ambari-server/resources/mpacks/hdf-ambari-mpack-3.1.1.0-<build-no>/hooks/switch_addon_services.py /usr/lib/python2.6/site-packages/.
    python /usr/lib/python2.6/site-packages/switch_addon_services.py /var/lib/ambari-server/resources/mpacks/hdf-ambari-mpack-3.1.1.0-<build-no>/hooks/HDF-3.1.json
  8. Run the Ambari Server upgrade wizard:

    [root@host ~]# ambari-server upgrade
  9. Restart the Ambari Server:

    [root@host ~]# ambari-server start
  10. Restart the Ambari Agent:

    [root@host ~]# ambari-agent start

On the Ambari hosts where only the Ambari Agent is running

  1. Download the Ambari repository and upgrade the Ambari Agent. See the HDF Release Notes for the Ambari repository appropriate for your Operating System.

    For example:

    [root@host ~]# wget -nv "http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.6.1.0/ambari.repo"
    -O /etc/yum.repos.d/ambari.repo
    [root@host ~]# yum clean all
    [root@host ~]# yum upgrade ambari-agent
    
  2. Restart the Ambari Agent.

    [root@host ~]# ambari-agent start