Ask Your Question

Sahara installation on virtual instance

asked 2014-06-13 05:39:37 -0500

Wayn3 gravatar image

Is it possible to install Sahara on a virtual instance?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-13 12:07:52 -0500

alazarev gravatar image

Yes, it is possible. Sahara doesn't have requirements to be installed on controller. Just make sure that all openstack services (keystone, nova, etc.) are accessible from machine with Sahara installed. Also make sure that Sahara can SSH to VMs created by openstack (floating IPs may be used as Sahara management network).

To use external Sahara in horizon you should either register it in keystone or set SAHARA_URL config (note, it will be removed after merging sahara-dashboard to horizon).

edit flag offensive delete link more


Does it mean that if i install it on the controller node, it will be installed on all the virtual instances that controller node provisions or should i install it on all the virtual instance that has been created?

Wayn3 gravatar imageWayn3 ( 2014-06-16 01:04:48 -0500 )edit

After you install Sahara on Controller, you should be able to provision virtual instances with Hadoop cluster installed on them. Watch the following video on youtube to see how you can use Sahara after it is installed.

dmitrymex gravatar imagedmitrymex ( 2014-06-16 10:05:00 -0500 )edit

How will sahara know wat vms to provision for the hadoop cluster? And will it be able to access them through ssh or any other means?

Wayn3 gravatar imageWayn3 ( 2014-06-17 02:50:12 -0500 )edit

You actually just tell Sahara: run one 'master' node (JobTracker + NameNode) + N 'worker' nodes (TaskTracker + DataNode). Sahara then itself starts up N+1 VMs using the Nova REST APIs for the cluster.

As for VM characteristics, you set this as a flavor on Node Group level. Say, you can use m1.medium (2 cpu, 4 Gig RAM) for master node group (1 VM) and m1.small (1 cpu, 2 Gig RAM) for worker node group (N VMs)

dmitrymex gravatar imagedmitrymex ( 2014-06-17 05:43:09 -0500 )edit

When spawning VMs, Sahara injects SSH keypair on them which will be later used to provision Hadoop onto VMs. You should make sure that Sahara can access the port 22 of the VMs it spawned.

dmitrymex gravatar imagedmitrymex ( 2014-06-17 05:45:59 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-06-13 05:39:37 -0500

Seen: 168 times

Last updated: Jun 13 '14