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

Last change on this file since 31161 was 31077, checked in by davidb, 5 years ago

Move up to JDK1.8. Tidy up of Vagrant machine names. Support for YARN. Some XML whitespace indenting

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 :master do |box|
21 box.vm.network "private_network", ip: "10.10.0.52"
22 box.vm.host_name = "master"
23 end
24
25# config.vm.define :resman do |box|
26# box.vm.network "private_network", ip: "10.10.0.50"
27# box.vm.host_name = "resman"
28# end
29
30 config.vm.define :backupmaster do |box|
31 box.vm.network "private_network", ip: "10.10.0.51"
32 box.vm.host_name = "backupmaster"
33 end
34
35 config.vm.define :hadoop1 do |box|
36 box.vm.network "private_network", ip: "10.10.0.53"
37 box.vm.host_name = "hadoop1"
38 end
39
40 config.vm.define :hadoop2 do |box|
41 box.vm.network "private_network", ip: "10.10.0.54"
42 box.vm.host_name = "hadoop2"
43 end
44
45 config.vm.define :hadoop3 do |box|
46 ip = "10.10.0.55"
47 box.vm.network "private_network", ip: ip
48 box.vm.host_name = "hadoop3"
49 end
50
51
52end
Note: See TracBrowser for help on using the repository browser.