source: trunk/wikifiles/Tutorials/HadoopInASlice/hadoop_rspec.xml @ 3392

Last change on this file since 3392 was 3392, checked in by nriga@bbn.com, 7 years ago

Files for automated tutorial testing

File size: 4.4 KB
Line 
1<rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:tour="http://www.protogeni.net/resources/rspec/ext/apt-tour/1" xmlns:jacks="http://www.protogeni.net/resources/rspec/ext/jacks/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3    http://www.geni.net/resources/rspec/3/request.xsd" type="request">
2<node xmlns="http://www.geni.net/resources/rspec/3" client_id="hadoop-master">
3<icon xmlns="http://www.protogeni.net/resources/rspec/ext/jacks/1" url="https://portal.geni.net/images/EG-VM-noTxt-centered.svg"/>
4<site xmlns="http://www.protogeni.net/resources/rspec/ext/jacks/1" id="Site 2"/>
5<sliver_type xmlns="http://www.geni.net/resources/rspec/3" name="XOMedium">
6<disk_image xmlns="http://www.geni.net/resources/rspec/3" name="http://geni-images.renci.org/images/GENIWinterCamp/images/gwc-hadoop.v0.4a.xml"/>
7</sliver_type>
8<hardware_type xmlns="http://www.geni.net/resources/rspec/3" name="orca-vm-cloud"/>
9<services xmlns="http://www.geni.net/resources/rspec/3">
10
11
12<execute xmlns="http://www.geni.net/resources/rspec/3" command="chmod +x /tmp/master.sh; /tmp/master.sh" shell="/bin/sh"/>
13<install xmlns="http://www.geni.net/resources/rspec/3" url="http://geni-images.renci.org/images/GENIWinterCamp/master.sh " install_path="/tmp"/>
14</services>
15<interface xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-1">
16<ip xmlns="http://www.geni.net/resources/rspec/3" address="172.16.1.1" type="ipv4" netmask="255.255.255.0"/>
17</interface>
18</node>
19<node xmlns="http://www.geni.net/resources/rspec/3" client_id="hadoop-worker-0">
20<icon xmlns="http://www.protogeni.net/resources/rspec/ext/jacks/1" url="https://portal.geni.net/images/EG-VM-noTxt-centered.svg"/>
21<site xmlns="http://www.protogeni.net/resources/rspec/ext/jacks/1" id="Site 2"/>
22<sliver_type xmlns="http://www.geni.net/resources/rspec/3" name="XOMedium">
23<disk_image xmlns="http://www.geni.net/resources/rspec/3" name="http://geni-images.renci.org/images/GENIWinterCamp/images/gwc-hadoop.v0.4a.xml"/>
24</sliver_type>
25<hardware_type xmlns="http://www.geni.net/resources/rspec/3" name="orca-vm-cloud"/>
26<services xmlns="http://www.geni.net/resources/rspec/3">
27
28
29<execute xmlns="http://www.geni.net/resources/rspec/3" command="chmod +x /tmp/worker.sh; /tmp/worker.sh $hadoop-master.Name() $hadoop-master.IP(&quot;link-0&quot;) $hadoop-worker-0.Name() $hadoop-worker-0.IP(&quot;link-0&quot;)" shell="/bin/sh"/>
30<install xmlns="http://www.geni.net/resources/rspec/3" url="http://geni-images.renci.org/images/GENIWinterCamp/worker.sh " install_path="/tmp"/>
31</services>
32<interface xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-2">
33<ip xmlns="http://www.geni.net/resources/rspec/3" address="172.16.1.10" type="ipv4" netmask="255.255.255.0"/>
34</interface>
35</node>
36<node xmlns="http://www.geni.net/resources/rspec/3" client_id="hadoop-worker-1">
37<icon xmlns="http://www.protogeni.net/resources/rspec/ext/jacks/1" url="https://portal.geni.net/images/EG-VM-noTxt-centered.svg"/>
38<site xmlns="http://www.protogeni.net/resources/rspec/ext/jacks/1" id="Site 2"/>
39<sliver_type xmlns="http://www.geni.net/resources/rspec/3" name="XOMedium">
40<disk_image xmlns="http://www.geni.net/resources/rspec/3" name="http://geni-images.renci.org/images/GENIWinterCamp/images/gwc-hadoop.v0.4a.xml"/>
41</sliver_type>
42<hardware_type xmlns="http://www.geni.net/resources/rspec/3" name="orca-vm-cloud"/>
43<services xmlns="http://www.geni.net/resources/rspec/3">
44
45
46<execute xmlns="http://www.geni.net/resources/rspec/3" command="chmod +x /tmp/worker.sh; /tmp/worker.sh $hadoop-master.Name() $hadoop-master.IP(&quot;link-0&quot;) $hadoop-worker-1.Name() $hadoop-worker-1.IP(&quot;link-0&quot;)" shell="/bin/sh"/>
47<install xmlns="http://www.geni.net/resources/rspec/3" url="http://geni-images.renci.org/images/GENIWinterCamp/worker.sh " install_path="/tmp"/>
48</services>
49<interface xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-0">
50<ip xmlns="http://www.geni.net/resources/rspec/3" address="172.16.1.11" type="ipv4" netmask="255.255.255.0"/>
51</interface>
52</node>
53<link xmlns="http://www.geni.net/resources/rspec/3" client_id="link-0">
54<interface_ref xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-0"/>
55<interface_ref xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-1"/>
56<interface_ref xmlns="http://www.geni.net/resources/rspec/3" client_id="interface-2"/>
57</link>
58</rspec>
Note: See TracBrowser for help on using the repository browser.