source: other-projects/hathitrust/wcsa/extracted-features-solr/trunk/vagrant-spark-hdfs-cluster/Vagrantfile@ 31019

Last change on this file since 31019 was 30917, checked in by davidb, 6 years ago

Changes resulting from a fresh run at provisioning, which yielded the first successful run of RUN.bash on the cluster over HDFS. OS=Trusty as Xenial box doesn't appear to have puppet installed. JDK=1.7 because Trusty by default doesn't have apt-get for OpenJDK8.

File size: 1.2 KB
Line 
1# -*- mode: ruby -*-
2# vi: set ft=ruby :
3
4Vagrant.configure("2") do |config|
5
6 config.vm.provider "virtualbox" do |v|
7 v.memory = 2048
8 v.cpus = 2
9 end
10
11 config.vm.box = "ubuntu/trusty64"
12# config.vm.box = "ubuntu/xenial64"
13
14 config.vm.provision :puppet do |puppet|
15 puppet.manifests_path = "manifests"
16 puppet.manifest_file = "base-hadoop.pp"
17 puppet.module_path = "modules"
18 end
19
20 config.vm.define :backup do |box|
21 box.vm.network "private_network", ip: "10.10.0.51"
22 box.vm.host_name = "backup"
23 end
24
25 config.vm.define :hadoop1 do |hadoop1_config|
26 hadoop1_config.vm.network "private_network", ip: "10.10.0.53"
27 hadoop1_config.vm.host_name = "hadoop1"
28 end
29
30 config.vm.define :hadoop2 do |hadoop2_config|
31 hadoop2_config.vm.network "private_network", ip: "10.10.0.54"
32 hadoop2_config.vm.host_name = "hadoop2"
33 end
34
35 config.vm.define :hadoop3 do |hadoop3_config|
36 hadoop3_config.vm.network "private_network", ip: "10.10.0.55"
37 hadoop3_config.vm.host_name = "hadoop3"
38 end
39
40 config.vm.define :master do |master_config|
41 master_config.vm.network "private_network", ip: "10.10.0.52"
42 master_config.vm.host_name = "master"
43 end
44
45end
Note: See TracBrowser for help on using the repository browser.