Use the instructions specific to the OS family running on your agent hosts.
RHEL/CentOS/Oracle Linux 6
Install the Ambari Agent on every host in your cluster.
yum install ambari-agent
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
Start the agent on every host in your cluster.
ambari-agent start
The agent registers with the Server on start.
SLES 11
Install the Ambari Agent on every host in your cluster.
zypper install ambari-agent
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
Start the agent on every host in your cluster.
ambari-agent start
The agent registers with the Server on start.
UBUNTU 12
Install the Ambari Agent on every host in your cluster.
apt-get install ambari-agent
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
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)
Install the Ambari Agent on every host in your cluster.
yum install ambari-agent
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
Start the agent on every host in your cluster.
ambari-agent start
The agent registers with the Server on start.