Skip to main content
Version 3.0

Install Apache Ambari.

Set up the service that manages the installation and administration of the TDP Datacenter cluster.

Ambari Server is installed with the installation script, or with tdpctl, configured with ambari-server setup, and started with ambari-server start. Once installed, Apache Ambari creates the Big Data Cluster through its web page or through the REST API. The metadata databases that many TDP services need are created beforehand in PostgreSQL.

Your environment

If you fill in your environment details here, the examples and commands on the page use what you provided. Repository and database usernames and passwords do not go here: they stay as placeholders in the commands.

Before you start

Check that the minimum requirements are met, that all machines in the environment are prepared, and that the installation packages are available.

Scenarios​

The installation script, with the Tecnisys Public Package Repository or with a local repository.

Ambari Server is installed with the installation script, on a utility or edge machine. The script receives the base URL of the component packages and, when the repository requires it, the access credentials. The example changes depending on whether the packages come from the Tecnisys Public Package Repository or from a local repository.

Where to install

On a utility or edge machine. Utility machines usually serve auxiliary tasks, such as cluster management, while Edge machines are dedicated to graphical interfaces or components used by users at the "edge" of the environment.

Credentials

The username (-u) and password (-p) parameters are optional. Provide them only when the package repository requires access credentials, as is the case with the Tecnisys Public Package Repository.

Component

Without the -c option, the script installs Ambari Server.

Installation script options

Available options of the ambari-tdp-installer-el-9.sh script:

OptionWhat it setsDefault
-b, --baseurlBase URL for the component packages.https://repo.tecnisys.com.br/yum/tdp/ambari/3.0/el-9-x86_64
-u, --usernameUsername to access the package repository. Provide it when using the Tecnisys Package Repository URL.—
-p, --passwordPassword to access the package repository. Provide it when using the Tecnisys Package Repository URL.—
-c, --ambari-component (agent | server | all)Apache Ambari component to install.server

Have the script on the Ambari Server machine

The installation script available on the utility or edge machine.

Download the installation script to the machine that will host Ambari Server, as described in Installation Packages.

Run the script with your environment's repository

Ambari Server installed from the packages of the chosen repository.

Choose the example that matches your scenario:

Where the packages come from

Your choice changes the commands and passages below.

The command below changes with your choice.

Installation using the Tecnisys Public Package Repository:

Terminal input
sh /repo/yum/tdp/installer/3.0/el-9-x86_64/ambari-tdp-installer-el-9.sh --username "<REPO_USERNAME>" --password "<REPO_PASSWORD>"

You define the access credentials (username and password) when you register for free on the Tecnisys Website. Replace the placeholders with your username and password. They stay only in the command.

Installation using a local package repository:

Terminal input
sh /repo/yum/tdp/installer/3.0/el-9-x86_64/ambari-tdp-installer-el-9.sh --baseurl "file:///opt/repo/tdp/ambari/3.0/el-9-x86_64"

Installation using a local package repository on the <LOCAL_REPO_HOST> machine, accessible through HTTP:

Terminal input
sh /repo/yum/tdp/installer/3.0/el-9-x86_64/ambari-tdp-installer-el-9.sh --baseurl "http://<LOCAL_REPO_HOST>/tdp/ambari/3.0/el-9-x86_64"

How to create the local repository: Creating a Local Package Repository.

It worked when

The script ends with Complete!. Only then go on to scenario 3.
Complete!

When something goes wrong​

Troubleshooting

Paste the message or pick the symptom.

  1. SELinux alert in ambari-server setup. Cause: SELinux is active. What to do: Confirm (default y) whether SELinux can be changed to permissive mode and temporarily disabled.
  2. Firewall (iptables) alert in ambari-server setup. Cause: The Firewall (iptables) is active. What to do: Confirm (default y) that the ports used by Ambari are accessible.
  3. Port conflict error; the configuration was aborted. Cause: There is a conflict with a port used by Ambari, with the Firewall (iptables) active. What to do: Check that the ports used by Ambari are accessible and run ambari-server setup again.
  4. Problems displaying, comparing, or sorting data. Cause: The collation (locale and encoding settings) of the metadata databases is not configured correctly. What to do: Check the collation of the metadata databases, for example en_US.UTF-8 and pt_BR.UTF-8.

Next steps​