Upgrading Ambari 2.4 to 2.5

Upgrade Ambari Metrics, Ambari Collector and Grafana

Stop the service from Ambari Web UI

On every host in your cluster running a Metrics Monitor, run the following commands

sudo apt-get clean all
sudo apt-get update -y
sudo apt-get install ambari-metrics-assembly

Output (last lines)

Preparing to unpack .../ambari-metrics-assembly_2.5.0.3-7_amd64.deb ...
Unpacking ambari-metrics-assembly (2.5.0.3-7) over (2.4.1.0-22) ...
Setting up ambari-metrics-assembly (2.5.0.3-7) ...

Execute the following command on all hosts running the Metrics Collector

sudo apt-get clean all
sudo apt-get update -y
sudo apt-get install ambari-metrics-collector

On the instance where Grafana is installed, run the following command

sudo apt-get clean all
sudo apt-get update -y
sudo apt-get install ambari-metrics-grafana

Ambari with all its services is now upgraded. Next step is to upgrade HDP to 2.6.

Leave a comment