Acceldata

Ambari Agents Upgrade

Before proceeding with the Ambari Agent Upgrade on all nodes where Ambari Agents are installed, ensure that you have stopped both the Ambari Server and Agents during the Ambari Server Upgrade. Prior to the upgrade, make sure to back up the file located at /etc/ambari-agent/conf/ambari-agent.ini.

  • Erase Ambari Agent:

For RHEL:

Bash

yum erase ambari-agent -y

For Ubuntu:

Bash

apt remove ambari-agent -y

  • Update Repository Files: Update ambari.repo (RedHat) or ambari.list (Ubuntu). For repositories, refer Ambari Repositories.
  • Install Updated Agents:

For RHEL:

Bash

yum clean all

yum install ambari-agent -y

For Ubuntu:

Bash

apt clean

apt install ambari-agent -y

  • Restore Configuration Files: Backup /etc/ambari-agent/conf/ambari-agent.ini and restore /etc/ambari-agent/conf/ambari-agent.ini
  • Start Ambari Agents:

Bash

ambari-agent start