Changes between Version 31 and Version 32 of GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources


Ignore:
Timestamp:
09/17/15 06:48:02 (9 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

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

    v31 v32  
    119119    </li>
    120120    <li> <b> Inspect </b> your topology to ensure that all the configurations are correct and <b> Download </b> your rspec. <br>
    121      <b> NOTE: </b> The rspec will be saved in your default dowload folder (usually ~/Downloads) under a name similar to <slicename>_request_rspec.xml
     121     <b> NOTE: </b> The rspec will be saved in your default dowload folder (usually ~/Downloads) under a name similar to <code>slicename_request_rspec.xml </code>
    122122    </li>
    123123  </ol>
     
    153153}}}
    154154
    155 {{{
    156 #!html
    157 <table border="0">
    158 <tr>
    159        <td >
    160          <ol type="A">
    161         <li> Click "Site 0" in the Jacks window </li>
    162         <li> Select an ExoGENI site (If you are participating in an organized tutorial, please bind the VMs to the rack assigned to you) </li>
    163 </td>
    164 </tr>
    165 
    166 <tr>  <td>   
    167 
    168        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Bind-Slice.png?format=raw" alt="Bind the Slice"  height="500" title="Bind the Slice" />
    169 <br /> 
    170 </td> </tr>
    171 
    172 </table>
    173 }}}
    174 
    175 == 3. Create the Hadoop Master ==
    176 
    177 {{{
    178 #!html
    179 <table border="0">
    180 <tr>
    181        <td >
    182          <ol type="A">
    183 
    184 
    185 
    186         <li> Add an ExoGENI VM to your slice. </li>
    187 
    188 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Add-Master.png?format=raw" alt="Add the Hadoop Master"  height="500" title="Add the Hadoop Master" />
    189 
    190         </ol>   
    191        </td>
    192 </tr>
    193 
    194  
    195 
    196  
    197 
    198 
    199       <td >
    200              
    201              <ol type="A" start="2">
    202              <li> Select the VM to set its properties: </li>
    203 <ol type="i">
    204 
    205  <li>                   Name: hadoop-master </li>
    206  <li>                     Node Type: ExoGENI Medium </li>
    207 
    208 
    209 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Set-Master-Name.png?format=raw" alt="Set the Master Name"  height="500" title="Add the Hadoop Master" />
    210 
    211 
    212   <li>                   Custom Disk Image Name: http://geni-images.renci.org/images/standard/hadoop/hadoop_debian6.v1.0/hadoop_debian6.v1.0.xml</li>
    213    <li>                  Disk Image Version: 54ddc5ed7d4a22331651d7b78dc5d39138f8a165  </li>
    214 
    215 
    216 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Set-Master-Disk-Image.png?format=raw" alt="Set the Master Image"  height="500" title="Add the Hadoop Master" />
    217 
    218 
    219   <li>                  Add an Install Script:   <br>URL: <code>http://geni-images.renci.org/images/tutorials/GENI-hadoop/master.sh  <code> <br> Path: <code> /tmp  <code></li>
    220 
    221  
    222 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Set-Master-Install-Script.png?format=raw" alt="Set the Master Install Script"  height="500" title="Add the Hadoop Master" />
    223 
    224 
    225 
    226   <li>                  Add an execute service to execute the script at boot time:  <br> <code> chmod +x /tmp/master.sh; /tmp/master.sh </code></li>
    227 
    228 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Set-Master-Execute-Script.png?format=raw" alt="Set the Master Execute Scripts"  height="500" title="Add the Hadoop Master" />
    229 
    230 </ol>
    231 
    232              </pl>
    233            
    234        </td>
    235 </tr>
    236 
    237 </table>
    238 }}}
    239 
    240 == 3. Create the Hadoop Workers ==
    241 {{{
    242 #!html
    243 <table border="0">
    244 
    245  <tr>
    246       <td >
    247              
    248              <ol type="A">
    249              <li> Add a 2 more VMs to the same rack as the first VM. </li>
    250                  
    251              </pl>
    252            
    253        </td>
    254 </tr>
    255 <tr>
    256 
    257        <td>
    258 
    259        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Add-Workers.png?format=raw" alt="Set the Master Execute Scripts"  height="500" title="Add the Hadoop Master" />
    260 <br />
    261          
    262        </td>
    263   </tr>
    264 
    265 
    266 <tr>
    267       <td >
    268              
    269              <ol type="A" start="2">
    270              <li> Edit each worker’s attributes</li>
    271                     <ol type="i">
    272 
    273 <li>  Names: hadoop-worker-0 and hadoop-worker-1 </li>
    274 <li>  Node Type: ExoGENI Medium </li>
    275 
    276 
    277 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Set-Worker-Name.png?format=raw" alt="Set the Master Execute Scripts"  height="500" title="Add the Hadoop Master" />
    278 
    279 
    280 <li>  Disk Image Name:
    281 http://geni-images.renci.org/images/standard/hadoop/hadoop_debian6.v1.0/hadoop_debian6.v1.0.xml </li>
    282 <li>  Disk Image Version: 54ddc5ed7d4a22331651d7b78dc5d39138f8a165  </li>
    283 
    284 
    285 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Set-Worker-Disk-Image.png?format=raw" alt="Set the Master Execute Scripts"  height="500" title="Add the Hadoop Master" />
    286 
    287 
    288 <li>                  Add an Install Script:   <br>URL: <code> http://geni-images.renci.org/images/tutorials/GENI-hadoop/worker.sh  <code> <br> Path: <code> /tmp  <code></li>
    289 
    290 
    291 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Set-Worker-Install-Script.png?format=raw" alt="Set the Master Execute Scripts"  height="500" title="Add the Hadoop Master" />
    292 
    293 
    294  <li>                   Add an execute service to execute the script at boot time. For each VM, substitute
    295 the VM’s name for where the following uses “hadoop-worker-0”. (Note: the following
    296 should be placed on one line) <br> <code>chmod +x /tmp/worker.sh; /tmp/worker.sh $hadoop-master.Name() $hadoop-master.IP("link-0")  $hadoop-worker-0.Name() $hadoop-worker-0.IP("link-0") </li>
    297 
    298 
    299 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Set-Worker-Execute-Script.png?format=raw" alt="Set the Master Execute Scripts"  height="500" title="Add the Hadoop Master" />
    300 
    301 
    302 <li>  Repeat for worker 1 </li>
    303 
    304 
    305   <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Setup-Worker2.png?format=raw" alt="Set the Master Execute Scripts"  height="500" title="Add the Hadoop Master" />
    306 
    307 
    308 </ol>
    309              </pl>
    310            
    311    
    312      
    313 
    314 </table>
    315 }}}
    316 
    317 == 4. Create the Network ==
    318 
    319 {{{
    320 #!html
    321 <table border="0">
    322 <tr>
    323       <td >
    324              
    325              <ol type="A">
    326              <li>Link all three VMs with a broadcast network </li>
    327                  
    328 
    329 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Add-Link.png?format=raw" alt="Set the Master Execute Scripts"  height="500" title="Add the Hadoop Master" />
    330 
    331            
    332 
    333 
    334 
    335              
    336              <ol type="i">
    337              <li> Set the master's IP to 172.16.1.1</li>
    338 <li> Set the master's netmask to 255.255.255.0</li>
    339                
    340 
    341 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources/Set-Master-IP.png?format=raw" alt="Set the Master Execute Scripts"  height="500" title="Add the Hadoop Master" />
    342 
    343 <li> Set the worker0's IP to 172.16.1.10</li>
    344 <li> Set the worker0's netmask to 255.255.255.0</li>
    345                    
    346 
    347 <li> Set the worker1's IP to172.16.1.11</li>
    348 <li> Set the worker1's netmask to 255.255.255.0</li>
    349                    
    350 
    351 
    352 
    353  </td>
    354 </tr>
    355 
    356 </table>
    357 }}}
    358 
    359155
    360156