THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Perform your Ambari Server install and setup.
yum install ambari-server
ambari-server setup
- Start your Ambari Server.
ambari-server start
- Install Ambari Agents on the hosts you plan to include in your cluster.
yum install ambari-agent
- Set the Ambari Server hostname on the Ambari Agents and start .
vi /etc/ambari-agent/conf/ambari-agent.ini
- Set hostname= to the Fully Qualified Domain Name for the Ambari Server. Save and exit.
hostname=c6401.ambari.apache.org
- Start the Agents to perform manual initiate registration to Server.
ambari-agent start
- Confirm the Agent hosts are registered with the Server.
http://your.ambari.server:8080/api/vi/hosts
- Proceed with defining your blueprint and creating a cluster instance from that blueprint.
Example: Single-Node Cluster
...
Code Block |
---|
{ "blueprint" : "single-node-hdfs-yarn", "host-_groups" :[ { "name" : "host_group_1", "hosts" : [ { "fqdn" : "c6401.ambari.apache.org" } ] } ] } |
...
Code Block |
---|
{ "blueprint" : "multi-node-hdfs-yarn", "host-_groups" :[ { "name" : "master", "hosts" : [ { "fqdn" : "c6401.ambari.apache.org" } ] }, { "name" : "slaves", "hosts" : [ { "fqdn" : "c6402.ambari.apache.org" }, { "fqdn" : "c6403.ambari.apache.org" } ] } ] } |
...