Setup Ambari

Apache Ambari is a tool for provisioning, managing, and monitoring Apache Hadoop clusters. Ambari consists of a set of RESTful APIs and a browser-based management interface.

Step1: Download the Ambari repository on the Ambari Server host

# for Redhat/CentOS/Oracle
cd /etc/yum.repos.d/
for SUSE
cd /etc/zypp/repos.d

Choose an appropriate <ambari-repo-url> based on the platform used:

Step 2: Install, Setup, and Start Ambari Server

Install Ambari Server from the public Ambari repository:

yum install ambari-server

Run the setup command to configure your Ambari Server, Database, JDK, LDAP, and other options:

ambari-server setup

Start Ambari Server:

ambari-server start

Step 3: Install, Configure , and Start Ambari Agent on Each Node in The Cluster

Install Ambari Agent:

yum install ambari-agent

Configure the Ambari Agent ini file with the FQDN of the Ambari Server:

sed -i 's/hostname=localhost/hostname=AmbariServerFQDN/g' /etc/ambari-agent/conf/ambari-agent.ini

Start Ambari Agent:

ambari-agent start

Step 4: Deploy Cluster using Ambari Web UI

Use web browser and go to http://<ambari-server-host>:8080

Log in with username admin and password admin and follow on-screen instructions.


Popular posts from this blog