2. Install the Ambari Agents Manually

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

RHEL/CentOS/Oracle Linux 6

  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 11

  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.

UBUNTU 12

  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.

RHEL/CentOS/Oracle Linux 5 (DEPRECATED)

  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.


loading table of contents...