Installing Ambari

You must complete the following steps in the following sub-sections to install Ambari. The ambari repositories can be accessed via the URLs from Accessing Acceldata Repositories. For any doubts, reach out to Acceldata Support team.

Follow the instructions in the section for the operating system that runs your installation host.

  • RHEL/CentOS 7
  • RHEL 8/RL 8
  • Ubuntu 20/22

Use a command line editor to perform each instruction.

RHEL/CentOS 7/RHEL 8/RL 8

On a server host that has Internet access, use a command line editor to perform the following

Steps

  1. Log in to your host as root.
  2. Add ambari.repo file with following content on all your cluster nodes.

File name:vi /etc/yum.repos.d/ambari.rep

Bash
Copy

Important Do not modify the ambari.repo file name. This file is expected to be available on the Ambari Server host during Agent registration.

  1. Confirm that the repository is configured by checking the repo list.
Bash
Copy
  1. You should see values similar to the following for Ambari repositories in the list. (Version values vary, depending on the installation)
Bash
Copy
  1. Next, install the Ambari bits using yum install ambari-server on your server node.
  2. Enter y when prompted to confirm transaction and dependency checks.

Note

  • When deploying a cluster having limited or no Internet access, you should provide access to the bits using an alternative method.

Ambari Server by default uses an embedded PostgreSQL database. When you install the Ambari Server, the PostgreSQL packages and dependencies must be available for installation. These packages are typically available as part of your Operating System repositories. Confirm you have the appropriate repositories available for the postgresql-server packages.

Ubuntu 20/22

On a server host that has Internet access, use a command line editor to perform the following:

Steps

  1. Add ambari.list file with following content on all your cluster nodes.

File name: sudo vi /etc/apt/sources.list.d/ambari.list

Bash
Copy

Example for Ubuntu 18:

Bash
Copy

Example for Ubuntu 20:

Bash
Copy
  1. After adding ambari.list, add the key.

The public GPG key must be added to all hosts in the cluster, including the Ambari Server and any new nodes that are added. This ensures the authenticity of Debian packages during installation or updates. This step ensures that all hosts in the cluster can verify the integrity and authenticity of the packages being installed, preventing tampered or unauthorized software from being used.

Bash
Copy

For example:

Bash
Copy

You can get this my_public.key from ODP Repositories and Ambari Repositories.

  1. Next, install the Ambari bits on node that you want to make as Ambari-server.
Bash
Copy
  1. Confirm that Ambari packages downloaded successfully by checking the package name list.
Bash
Copy

Note When deploying a cluster having limited or no Internet access, you should provide access to the bits using an alternative method.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated