This process upgrades Ambari Server, Ambari Agents, Ganglia, and Nagios.
Note | |
---|---|
Ambari Server no longer automatically turns |
Upgrade Ambari Server. From the Ambari Server host:
RHEL/CentOS/Oracle Linux
yum clean all yum upgrade ambari-server ambari-log4j
SLES
zypper clean zypper up ambari-server ambari-log4j
Check for upgrade success:
As the process runs, the console should produce output similar, although not identical, to this:
Setting up Upgrade Process Resolving Dependencies --> Running transaction check ---> Package ambari-agent.x86_64 0:1.2.2.3-1 will be updated ---> Package ambari-agent.x86_64 0:1.2.2.4-1 will be updated ... ---> Package ambari-agent.x86_64 0:1.2.2.5-1 will be an update ...
After the process is complete, check each host to make sure the new 1.4.4 files have been installed:
rpm -qa | grep ambari
If the upgrade fails, the console should produce output similar to this:
Setting up Upgrade Process No Packages marked for Update
Check to see if you have a folder named
/etc/ambari-server/conf.save
. If you do, rename it back:mv /etc/ambari-server/conf.save /etc/ambari-server/conf
Upgrade the Ambari Server schema. From the Ambari Server host:
ambari-server upgrade
Upgrade the Ambari Agent on all hosts. From each Ambari Agent host:
RHEL/CentOS/Oracle Linux
yum upgrade ambari-agent ambari-log4j
SLES
zypper up ambari-agent ambari-log4j
Note If you get a warning that begins "There are some running programs that use files deleted by recent upgrade" you can ignore it.
Check to see if you have a folder named
/etc/ambari-agent/conf.save
on each Agent host. If you do, rename it back. On each Agent host:mv /etc/ambari-agent/conf.save /etc/ambari-agent/conf
Upgrade the Nagios addons:
RHEL/CentOS/Oracle Linux
yum upgrade hdp_mon_nagios_addons
SLES
zypper up hdp_mon_nagios_addons