Apache Ambari Reference
Also available as:
PDF
loading table of contents...

Install the Ambari Agents Manually

Use the instructions specific to the OS family running on your agent hosts.

RHEL/CentOS/Oracle Linux

  1. Install the Ambari Agent on every host in your cluster.

    yum install ambari-agent

  2. Using a text editor, configure the Ambari Agent by editing the ambari-agent.ini file as shown in the following example:

    vi /etc/ambari-agent/conf/ambari-agent.ini

    [server]

    hostname=<your.ambari.server.hostname>

    url_port=8440

    secured_url_port=8441

  3. Start the agent on every host in your cluster.

    ambari-agent start

    The agent registers with the Server on start.

SLES

  1. Install the Ambari Agent on every host in your cluster.

    zypper install ambari-agent

  2. Configure the Ambari Agent by editing the ambari-agent.ini file as shown in the following example:

    vi /etc/ambari-agent/conf/ambari-agent.ini

    [server]

    hostname=<your.ambari.server.hostname>

    url_port=8440

    secured_url_port=8441

  3. Start the agent on every host in your cluster.

    ambari-agent start

    The agent registers with the Server on start.

Debian/Ubuntu

  1. Install the Ambari Agent on every host in your cluster.

    apt-get install ambari-agent

  2. Configure the Ambari Agent by editing the ambari-agent.ini file as shown in the following example:

    vi /etc/ambari-agent/conf/ambari-agent.ini

    [server]

    hostname=<your.ambari.server.hostname>

    url_port=8440

    secured_url_port=8441

  3. Start the agent on every host in your cluster.

    ambari-agent start

    The agent registers with the Server on start.