Changes between Version 6 and Version 7 of GENIExperimenter/Tutorials/HadoopInASlice/ObtainResources


Ignore:
Timestamp:
01/07/14 19:01:26 (6 years ago)
Author:
pruth@renci.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/HadoopInASlice/ObtainResources

    v6 v7  
    9898
    9999
     100 <tr>
     101      <td >
     102             
     103             <ol start="6">
     104             <li> Add a 2 more VMs to your assigned rack </li>
     105                 
     106             </pl>
     107           
     108       </td>
     109</tr>
     110<tr>
     111
     112       <td>
     113
     114        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/HadoopInASlice/ObtainResources/add-master.png?format=raw" alt="Add the Hadoop Master"  height="800" title="Add the Hadoop Master" />
     115<br />
     116         
     117       </td>
     118  </tr>
     119
     120
     121
     122
     123
     124<tr>
     125      <td >
     126             
     127             <ol start="5">
     128             <li> Edit each worker’s attributes</li>
     129                    <ol type="a">
     130
     131<li>  Names: hadoop-worker-0 and hadoop-worker-1 </li>
     132<li>  Sliver Type: XOMedium </li>
     133<li>  Disk Image Name:
     134http://geni-images.renci.org/images/GENIWinterCamp/images/gwc-hadoop.v0.4a.xml  </li>
     135<li>  Disk Image Version: 16ff128df4cf10f2472a8d20796146bcd5a5ddc3  </li>
     136<li>  Add an install service to install following script in \tmp
     137http://geni-images.renci.org/images/GENIWinterCamp/master.sh   </li>
     138<li>  Add an execute service to execute the script at boot time. For each VM substitute
     139the VM’s name for where the following uses “hadoop-master”. (Note: the following
     140should be placed on one line)
     141chmod +x /tmp/worker.sh; /tmp/worker.sh \
     142$hadoop-master.Name() $hadoop-master.IP("link0") \
     143$hadoop-worker-0.Name() $hadoop-worker-0.IP("link0")    </li>
     144
     145
     146                 
     147
     148</ol>
     149             </pl>
     150           
     151       </td>
     152</tr>
     153<tr>
     154
     155       <td>
     156
     157        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/HadoopInASlice/ObtainResources/add-master.png?format=raw" alt="Add the Hadoop Master"  height="800" title="Add the Hadoop Master" />
     158<br />
     159         
     160       </td>
     161    </tr>
     162
     163
     164
     165<tr>
     166      <td >
     167             
     168             <ol start="6">
     169             <li>Link all three VMs with a broadcast network </li>
     170                 
     171             </pl>
     172           
     173       </td>
     174</tr>
     175<tr>
     176
     177       <td>
     178
     179        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/HadoopInASlice/ObtainResources/add-master.png?format=raw" alt="Add the Hadoop Master"  height="800" title="Add the Hadoop Master" />
     180<br />
     181       </td>
     182  </tr>
     183
     184
     185
     186
     187<tr>
     188      <td >
     189             
     190             <ol start="5">
     191             <li> Click the i button on the link to edit its properties.</li>
     192                    <ol type="a">
     193
     194<li> Ensure the link is named link0</li>
     195<li>  Under the interfaces tab add IP addresses and subnets to each VM’s interface.
     196hadoop-master: 172.16.1.1 and 255.255.255.0
     197hadoop-worker-0: 172.16.1.10 and 255.255.255.0
     198hadoop-worker-1: 172.16.1.11 and 255.255.255.0</li>
     199</ol>
     200             </ol>
     201           
     202       </td>
     203</tr>
     204<tr>
     205
     206       <td>
     207
     208        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/HadoopInASlice/ObtainResources/add-master.png?format=raw" alt="Add the Hadoop Master"  height="800" title="Add the Hadoop Master" />
     209<br />
     210         
     211       </td>
     212    </tr>
     213
     214
     215
     216<tr>
     217      <td >
     218             
     219              <ol>
     220                    <ol type="a" start="3">
     221
     222<li> Switch to the properties tab and set the link’s bandwidth 100Mb/s
     223Set capacity: 100000000 (note: Flack will report that this is 100Gb/s but it is actually
     224100Mb/s)</li>
     225
     226</ol>
     227             </ol>
     228           
     229       </td>
     230</tr>
     231<tr>
     232
     233       <td>
     234
     235        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/HadoopInASlice/ObtainResources/add-master.png?format=raw" alt="Add the Hadoop Master"  height="800" title="Add the Hadoop Master" />
     236<br />
     237         
     238       </td>
     239    </tr>
     240
     241
     242<tr>
     243      <td >
     244             
     245             <ol start="6">
     246             <li>Submit the request</li>
     247<li> Wait until the slice is up </li>
     248                 
     249             </pl>
     250           
     251       </td>
     252</tr>
     253<tr>
     254
     255       <td>
     256
     257        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/HadoopInASlice/ObtainResources/add-master.png?format=raw" alt="Add the Hadoop Master"  height="800" title="Add the Hadoop Master" />
     258<br />
     259       </td>
     260  </tr>
     261
    100262
    101263