Upgrade to Ambari 7.1.x.0
After reviewing the information related to Ambari UI and the Quick Links, and backing up the Ambari Server configuration file, perform the recommended steps for upgrading Ambari.
Upgrading Ambari
Loading Filters ...
Upgrade to Ambari 7.1.8
After reviewing the information related to Ambari UI and the Quick Links, and backing up the Ambari Server configuration file, perform the recommended steps for upgrading Ambari.
- If you are running Ambari Metrics in your cluster, stop the service and put it in Maintenance Mode. From Ambari Web, browse to Services > Ambari Metrics and select Stop from the Service Actions menu.
-
Stop the Ambari Server. On the host running Ambari Server:
ambari-server stop
-
Stop all Ambari Agents. On each host in your cluster running an
Ambari Agent:
ambari-agent stop
. -
Fetch the new Ambari repo and replace the old repository file with the new
repository file on all hosts in your cluster.
Select the repository appropriate for your environment from the following list:
- For RHEL/CentOS/Oracle Linux 7:
wget -nv https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8/centos7/ambari.repo -O /etc/yum.repos.d/ambari.repo
- For Ubuntu
18:
wget -nv https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8/ubuntu18/ambari.list -O /etc/apt/sources.list.d/ambari.list
- For Sles
12:
wget -nv https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8/sles12/ambari.repo -O /etc/zypp/repos.d/ambari.repo
- For RHEL/CentOS/Oracle Linux 7:
-
Upgrade Ambari Server. On the host running Ambari Server:
For RHEL/CentOS/Oracle Linux:
Before upgrading Ambari Server, you must update the username and password of baseurl and gpgkey in theyum clean all
ambari.repo
file. Run the following command:
For example, the output displays the following:vi /etc/yum.repos.d/ambari.repo
#VERSION_NUMBER=7.1.8.0-21 [ambari-7.1.8.0 #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.8.0 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8.0/centos7 gpgcheck=1 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8.0/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
In the information output, visually validate that there is an available version containing "7.1.8.0"yum info ambari-server
yum upgrade ambari-server
For Ubuntu 18:
Before upgrading Ambari Server, you must update the username and password in the ambari.list file. Run the following command:apt-get clean all
For example, the output displays the following:vi /etc/apt/sources.list.d/ambari.list
In the information output, visually validate that there is an available version containing "7.1.8.0"#VERSION_NUMBER=7.1.8.0-21 #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json deb https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8.0/ubuntu18 Ambari main apt-get update apt-cache show ambari-server | grep Version
apt-get upgrade ambari-server
For SLES 12:
Before upgrading Ambari Server, you must update the username and password in the ambari.repo file. Run the following command:zypper clean
For example, the output displays the following:vi /etc/zypp/repos.d/ambari.repo
Create the following file with your paywall credentials (replace <username> with your paywall username and <password> accordingly): /etc/zypp/credentials.d/ambari.cat#VERSION_NUMBER=7.1.8.0-21 [ambari-7.1.8.0] #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.8.0 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8.0/sles12 gpgcheck=0 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8.0/sles12/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
In the information output, visually validate that there is an available version containing "7.1.8.0"username=<username> password=<password>
Zypper up ambari-server
-
After the upgrade process completes, check Ambari host to make sure the new
files have been installed:
For RHEL/CentOS/Oracle Linux 7:
rpm -qa | grep ambari-server
For SLES 12:
rpm -qa | grep ambari-server
For Ubuntu 18:dpkg -l ambari-server
-
Check for upgrade success by noting progress during the Ambari Server
installation process you started in Step 5.
-
As the process runs, the console displays output similar to the following:
Setting up Upgrade Process Resolving Dependencies > Running transaction check
-
If the upgrade fails, the console displays output similar to the following:
Setting up Upgrade Process No Packages marked for Update
-
A successful upgrade displays output similar to the following:
Updated: ambari-server.noarch 0:7.1.8.0. Complete!
-
-
Upgrade all Ambari Agents. On each host in your cluster running an
Ambari Agent:
- For RHEL/CentOS/Oracle Linux: Before
upgrading Ambari Agent, you must update the username and password in
the
ambari.repo
file. Run the following command:
For example, the output displays the following:vi /etc/yum.repos.d/ambari.repo
#VERSION_NUMBER=7.1.8.0-21 [ambari-7.1.8.0 #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.8.0 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8.0/centos7 gpgcheck=1 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8.0/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
yum upgrade ambari-agent
- For Ubuntu: Before upgrading Ambari
Agent, you must update the username and password in the ambari.list
file. Run the following command:
For example, the output displays the following:vi /etc/apt/sources.list.d/ambari.list
#VERSION_NUMBER=7.1.8.0-21 #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json deb https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8.0/ubuntu18 Ambari main
apt-get update apt-get install ambari-agent
- For SLES: Before upgrading Ambari
Agent, you must update the username and password in the
ambaridc.repo file. Run the following command:
For example, the output displays the following:vi /etc/zypp/repos.d/ambari.repo
Perform ambari-agent upgrade#VERSION_NUMBER=7.1.8.0-21 [ambari-7.1.8.0] #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.8.0 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8.0/sles12 gpgcheck=0 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.8.0/sles12/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
zypper up ambari-agent
- For RHEL/CentOS/Oracle Linux: Before
upgrading Ambari Agent, you must update the username and password in
the
-
After the upgrade process completes, check Ambari host to make sure the
new files have been installed:
For RHEL/CentOS/Oracle Linux 7:
For SLES 12:rpm -qa | grep ambari-agent
rpm -qa | grep ambari-agent
For Ubuntu 18:dpkg -l ambari-agent
-
Upgrade Ambari Server database schema. On the host running Ambari Server:
. When the Ambari Server database schema has been upgraded, you should see command output like this:ambari-server upgrade
Ambari Server ‘upgrade’ completed successfully
. - Start the Ambari Server. On the host running Ambari Server: ambari-server start
- Start all Ambari Agents. On each host in your cluster running an Ambari Agent: ambari-agent start
-
Open Ambari Web UI. Point your browser to the Ambari Web UI:
-
When Ambari Server is configured for
HTTPS: https://<your.ambari.server>:8443
-
When Ambari Server is configured for
HTTP: http://<your.ambari.server>:8080
where <your.ambari.server> is the name of your ambari server host. For example, c7401.ambari.apache.org.
-
-
Log in using the Ambari administrator credentials that you have set up. For
example, the default name/password is
admin/admin
. You will see a Restart indicator next to each service after upgrading. Ambari upgrade has modified the configuration properties of your cluster based on the new configuration types and properties being made available for each service with this release of Ambari. Review these changes by comparing the previous configuration with the latest version created by "ambari-upgrade".
Upgrade to Ambari 7.1.7.1
After reviewing the information related to Ambari UI and the Quick Links, and backing up the Ambari Server configuration file, perform the recommended steps for upgrading Ambari.
- If you are running Ambari Metrics in your cluster, stop the service and put it in Maintenance Mode. From Ambari Web, browse to Services > Ambari Metrics and select Stop from the Service Actions menu.
-
Stop the Ambari Server. On the host running Ambari Server:
ambari-server stop
-
Stop all Ambari Agents. On each host in your cluster running an
Ambari Agent:
ambari-agent stop
. -
Fetch the new Ambari repo and replace the old repository file with the new
repository file on all hosts in your cluster.
Select the repository appropriate for your environment from the following list:
- For RHEL/CentOS/Oracle Linux 7:
wget -nv https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/centos7/ambari.repo -O /etc/yum.repos.d/ambari.repo
- For Ubuntu
18:
wget -nv https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/ubuntu18/ambari.list -O /etc/apt/sources.list.d/ambari.list
- For Sles
12:
wget -nv https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/sles12/ambari.repo -O /etc/zypp/repos.d/ambari.repo
- For RHEL/CentOS/Oracle Linux 7:
-
Upgrade Ambari Server. On the host running Ambari Server:
For RHEL/CentOS/Oracle Linux:
Before upgrading Ambari Server, you must update the username and password of baseurl and gpgkey in theyum clean all
ambari.repo
file. Run the following command:
For example, the output displays the following:vi /etc/yum.repos.d/ambari.repo
#VERSION_NUMBER=7.1.7.1-14 [ambari-7.1.7.1] #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.7.1 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/centos7 gpgcheck=1 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
In the information output, visually validate that there is an available version containing "7.1.7.1"yum info ambari-server
yum upgrade ambari-server
For Ubuntu 18:
Before upgrading Ambari Server, you must update the username and password in the ambari.list file. Run the following command:apt-get clean all
For example, the output displays the following:vi /etc/apt/sources.list.d/ambari.list
In the information output, visually validate that there is an available version containing "7.1.7.1"#VERSION_NUMBER=7.1.7.1-14 #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json deb https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/ubuntu18 Ambari main apt-get update apt-cache show ambari-server | grep Version
apt-get upgrade ambari-server
For SLES 12:
Before upgrading Ambari Server, you must update the username and password in the ambari.repo file. Run the following command:zypper clean
For example, the output displays the following:vi /etc/zypp/repos.d/ambari.repo
Create the following file with your paywall credentials (replace <username> with your paywall username and <password> accordingly): /etc/zypp/credentials.d/ambari.cat#VERSION_NUMBER=7.1.7.1-14 [ambari-7.1.7.1] #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.7.1 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/sles12 gpgcheck=0 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/sles12/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
In the information output, visually validate that there is an available version containing "7.1.7.1"username=<username> password=<password>
Zypper up ambari-server
-
After the upgrade process completes, check Ambari host to make sure the new
files have been installed:
For RHEL/CentOS/Oracle Linux 7:
rpm -qa | grep ambari-server
For SLES 12:
rpm -qa | grep ambari-server
For Ubuntu 18:dpkg -l ambari-server
-
Check for upgrade success by noting progress during the Ambari Server
installation process you started in Step 5.
-
As the process runs, the console displays output similar to the following:
Setting up Upgrade Process Resolving Dependencies > Running transaction check
-
If the upgrade fails, the console displays output similar to the following:
Setting up Upgrade Process No Packages marked for Update
-
A successful upgrade displays output similar to the following:
Updated: ambari-server.noarch 0:7.1.7.1. Complete!
-
-
Upgrade all Ambari Agents. On each host in your cluster running an
Ambari Agent:
- For RHEL/CentOS/Oracle Linux:
Before upgrading Ambari Agent, you must update the username and
password in the
ambari.repo
file. Run the following command:
For example, the output displays the following:vi /etc/yum.repos.d/ambari.repo
#VERSION_NUMBER=7.1.7.1-14 [ambari-7.1.7.1] #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.7.1 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/centos7 gpgcheck=1 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
yum upgrade ambari-agent
- For Ubuntu: Before upgrading
Ambari Agent, you must update the username and password in the
ambari.list file. Run the following command:
For example, the output displays the following:vi /etc/apt/sources.list.d/ambari.list
#VERSION_NUMBER=7.1.7.1-14 #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json deb https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/ubuntu18 Ambari main
apt-get update apt-get install ambari-agent
- For SLES: Before upgrading Ambari
Agent, you must update the username and password in the
ambaridc.repo file. Run the following command:
For example, the output displays the following:vi /etc/zypp/repos.d/ambari.repo
Perform ambari-agent upgrade#VERSION_NUMBER=7.1.7.1-14 [ambari-7.1.7.1] #json.url = https://archive.cloudera.com/p/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.7.1 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/sles12 gpgcheck=0 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.7.1/sles12/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
zypper up ambari-agent
- For RHEL/CentOS/Oracle Linux:
Before upgrading Ambari Agent, you must update the username and
password in the
-
After the upgrade process completes, check Ambari host to make sure the
new files have been installed:
For RHEL/CentOS/Oracle Linux 7:
For SLES 12:rpm -qa | grep ambari-agent
rpm -qa | grep ambari-agent
For Ubuntu 18:dpkg -l ambari-agent
-
Upgrade Ambari Server database schema. On the host running Ambari Server:
. When the Ambari Server database schema has been upgraded, you should see command output like this:ambari-server upgrade
Ambari Server ‘upgrade’ completed successfully
. - Start the Ambari Server. On the host running Ambari Server: ambari-server start
- Start all Ambari Agents. On each host in your cluster running an Ambari Agent: ambari-agent start
-
Open Ambari Web UI. Point your browser to the Ambari Web UI:
-
When Ambari Server is configured for
HTTPS: https://<your.ambari.server>:8443
-
When Ambari Server is configured for
HTTP: http://<your.ambari.server>:8080
where <your.ambari.server> is the name of your ambari server host. For example, c7401.ambari.apache.org.
-
-
Log in using the Ambari administrator credentials that you have set up. For
example, the default name/password is
admin/admin
. You will see a Restart indicator next to each service after upgrading. Ambari upgrade has modified the configuration properties of your cluster based on the new configuration types and properties being made available for each service with this release of Ambari. Review these changes by comparing the previous configuration with the latest version created by "ambari-upgrade".
Upgrade to Ambari 7.1.6.0
After reviewing the information related to Ambari UI and the Quick Links, and backing up the Ambari Server configuration file, perform the recommended steps for upgrading Ambari.
- If you are running Ambari Metrics in your cluster, stop the service and put it in Maintenance Mode. From Ambari Web, browse to Services > Ambari Metrics and select Stop from the Service Actions menu.
-
Stop the Ambari Server. On the host running Ambari Server:
ambari-server stop
-
Stop all Ambari Agents. On each host in your cluster running an
Ambari Agent:
ambari-agent stop
. -
Fetch the new Ambari repo and replace the old repository file with the new
repository file on all hosts in your cluster.
Select the repository appropriate for your environment from the following list:
- For RHEL/CentOS/Oracle Linux 7:
wget -nv https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/centos7/ambaridc.repo -O /etc/yum.repos.d/ambaridc.repo
- For Ubuntu
18:
wget -nv https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/ubuntu18/ambaridc.list -O /etc/apt/sources.list.d/ambaridc.list
- For Sles
12:
wget -nv https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/sles12/ambaridc.repo -O /etc/zypp/repos.d/ambari.repo
- For RHEL/CentOS/Oracle Linux 7:
-
Upgrade Ambari Server. On the host running Ambari Server:
For RHEL/CentOS/Oracle Linux:
Before upgrading Ambari Server, you must update the username and password of baseurl and gpgkey in theyum clean all
ambaridc.repo
file. Run the following command:
For example, the output displays the following:vi /etc/yum.repos.d/ambaridc.repo
#VERSION_NUMBER=7.1.6.0-38 [ambari-7.1.6.0] #json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.6.0 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/centos7/ gpgcheck=1 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
In the information output, visually validate that there is an available version containing "7.1.6.0"yum info ambari-server
yum upgrade ambari-server
For Ubuntu 18:
Before upgrading Ambari Server, you must update the username and password in the ambaridc.list file. Run the following command:apt-get clean all
For example, the output displays the following:vi /etc/apt/sources.list.d/ambaridc.list
In the information output, visually validate that there is an available version containing "7.1.6.0"#VERSION_NUMBER=7.1.6.0-38 #json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json deb https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/ubuntu18/ Ambari main apt-get update apt-cache show ambari-server | grep Version
apt-get upgrade ambari-server
For SLES 12:
Before upgrading Ambari Server, you must update the username and password in the ambari.repo file. Run the following command:zypper clean
For example, the output displays the following:vi /etc/zypp/repos.d/ambaridc.repo
Create the following file with your paywall credentials (replace <username> with your paywall username and <password> accordingly): /etc/zypp/credentials.d/ambari.cat#VERSION_NUMBER=7.1.6.0-38 [ambari-7.1.6.0] #json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.6.0 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/sles12/ gpgcheck=0 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/sles12/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
In the information output, visually validate that there is an available version containing "7.1.6.0"username=<username> password=<password>
Zypper up ambari-server
-
After the upgrade process completes, check Ambari host to make sure the new
files have been installed:
For RHEL/CentOS/Oracle Linux 7:
rpm -qa | grep ambari-server
For SLES 12:
rpm -qa | grep ambari-server
For Ubuntu 18:dpkg -l ambari-server
-
Check for upgrade success by noting progress during the Ambari Server
installation process you started in Step 5.
-
As the process runs, the console displays output similar to the following:
Setting up Upgrade Process Resolving Dependencies > Running transaction check
-
If the upgrade fails, the console displays output similar to the following:
Setting up Upgrade Process No Packages marked for Update
-
A successful upgrade displays output similar to the following:
Updated: ambari-server.noarch 0:7.1.6.0. Complete!
-
-
Upgrade all Ambari Agents. On each host in your cluster running an
Ambari Agent:
- For RHEL/CentOS/Oracle Linux: Before
upgrading Ambari Agent, you must update the username and password in
the
ambaridc.repo
file. Run the following command:
For example, the output displays the following:vi /etc/yum.repos.d/ambaridc.repo
#VERSION_NUMBER=7.1.6.0-38 [ambari-7.1.6.0] #json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.6.0 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/centos7/ gpgcheck=1 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
yum upgrade ambari-agent
- For Ubuntu: Before upgrading Ambari
Agent, you must update the username and password in the ambari.list
file. Run the following command:
For example, the output displays the following:vi /etc/apt/sources.list.d/ambaridc.list
#VERSION_NUMBER=7.1.6.0-38 #json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json deb https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/ubuntu18/ Ambari main
apt-get update apt-get install ambari-agent
- For SLES: Before upgrading Ambari Agent,
you must update the username and password in the ambaridc.repo file.
Run the following command:
For example, the output displays the following:vi /etc/zypp/repos.d/ambaridc.repo
Perform ambari-agent upgrade#VERSION_NUMBER=7.1.6.0-38 [ambari-7.1.6.0] #json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json name=ambari Version - ambari-7.1.6.0 baseurl=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/sles12/ gpgcheck=0 gpgkey=https://[***USERNAME***]:[***PASSWORD***]@archive.cloudera.com/p/ambaridc/7.x/7.1.6.0/sles12/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
zypper up ambari-agent
- For RHEL/CentOS/Oracle Linux: Before
upgrading Ambari Agent, you must update the username and password in
the
-
After the upgrade process completes, check Ambari host to make sure the
new files have been installed:
For RHEL/CentOS/Oracle Linux 7:
For SLES 12:rpm -qa | grep ambari-agent
rpm -qa | grep ambari-agent
For Ubuntu 18:dpkg -l ambari-agent
-
Upgrade Ambari Server database schema. On the host running Ambari Server:
. When the Ambari Server database schema has been upgraded, you should see command output like this:ambari-server upgrade
Ambari Server ‘upgrade’ completed successfully
. - Start the Ambari Server. On the host running Ambari Server: ambari-server start
- Start all Ambari Agents. On each host in your cluster running an Ambari Agent: ambari-agent start
-
Open Ambari Web UI. Point your browser to the Ambari Web UI:
-
When Ambari Server is configured for
HTTPS: https://<your.ambari.server>:8443
-
When Ambari Server is configured for
HTTP: http://<your.ambari.server>:8080
where <your.ambari.server> is the name of your ambari server host. For example, c7401.ambari.apache.org.
-
-
Log in using the Ambari administrator credentials that you have set up. For
example, the default name/password is
admin/admin
. You will see a Restart indicator next to each service after upgrading. Ambari upgrade has modified the configuration properties of your cluster based on the new configuration types and properties being made available for each service with this release of Ambari. Review these changes by comparing the previous configuration with the latest version created by "ambari-upgrade".