Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Perform your Ambari Server install and setup.
    yum install ambari-server
    ambari-server setup

  2. Start your Ambari Server.
    ambari-server start

  3. Install Ambari Agents on the hosts you plan to include in your cluster.
    yum install ambari-agent

  4. Set the Ambari Server hostname on the Ambari Agents and start .
    vi /etc/ambari-agent/conf/ambari-agent.ini

  5. Set hostname= to the Fully Qualified Domain Name for the Ambari Server. Save and exit.
    hostname=c6401.ambari.apache.org

  6. Start the Agents to perform manual initiate registration to Server.
    ambari-agent start

  7. Confirm the Agent hosts are registered with the Server.
    http://your.ambari.server:8080/api/vi/hosts

  8. 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"
        }
      ]
    }
  ]
}

...