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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s