Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Cluster Installation

avatar
New Contributor

Hi

I am beginner in hadoop , I installed two HortonWorks sandbox in 2 differents servers in default mode ( as-is standalone mode). Every thing seems working. My next step is to join these two servers under ( a cluster) onde NameNode. with two data Node.

Can I do that just with ambari interface ( the admin accompt is working in both servers) ?

which service Can I keep running in two servers ?

Please any tutorial ou documentation to help me ?

Thanks in advance.

1 ACCEPTED SOLUTION

avatar

Two Sandbox VM's have two separate instances Ambari Server, as well as two separate instances of each of the master services. To add hosts to a Sandbox VM, I would recommend taking only one Sandbox VM, and then provisioning a clean, new VM with only Centos 6.7 (the current OS shipped under the Sandbox VM) on it.

After provisioning the new VM, you will want to follow the steps under Prepare the Environment with the new VM. Personally, I prefer to skip the first two steps of this (setting up password-less SSH and setting up service user accounts) and follow the steps for enabling NTP on the cluster, checking DNS and NSCD, configuring iptables, disabling SELinux and PackageKit, and checking the Umask value. Because I normally skip the step on setting up password-less SSH, if you do the same, you'll need to follow the steps to install the ambari agent manually on the new VM. When configuring the new Ambari agent on the new VM, be sure to set the ambari server hostname to be the hostname of the Sandbox VM.

Since networking can often be a challenge when doing this on your own laptop, I find installing the ambari agent manually on the new VM to be a great way to validate that I've correctly prepared the environment. Once you've done that, from your Sandbox VM, you can follow the steps for Adding Hosts to a Cluster to add the new VM as an additional slave and/or client node to your cluster using Ambari.

View solution in original post

2 REPLIES 2

avatar

Two Sandbox VM's have two separate instances Ambari Server, as well as two separate instances of each of the master services. To add hosts to a Sandbox VM, I would recommend taking only one Sandbox VM, and then provisioning a clean, new VM with only Centos 6.7 (the current OS shipped under the Sandbox VM) on it.

After provisioning the new VM, you will want to follow the steps under Prepare the Environment with the new VM. Personally, I prefer to skip the first two steps of this (setting up password-less SSH and setting up service user accounts) and follow the steps for enabling NTP on the cluster, checking DNS and NSCD, configuring iptables, disabling SELinux and PackageKit, and checking the Umask value. Because I normally skip the step on setting up password-less SSH, if you do the same, you'll need to follow the steps to install the ambari agent manually on the new VM. When configuring the new Ambari agent on the new VM, be sure to set the ambari server hostname to be the hostname of the Sandbox VM.

Since networking can often be a challenge when doing this on your own laptop, I find installing the ambari agent manually on the new VM to be a great way to validate that I've correctly prepared the environment. Once you've done that, from your Sandbox VM, you can follow the steps for Adding Hosts to a Cluster to add the new VM as an additional slave and/or client node to your cluster using Ambari.

avatar
New Contributor

Thanks Tom.