Changes between Version 30 and Version 31 of GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources
- Timestamp:
- 09/17/15 06:07:16 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/jacks/HadoopInASlice/ObtainResources
v30 v31 78 78 79 79 80 === 2.2.2 Create the topology for the experiment ===80 === 2.2.2 Create the topology(RSpec) for the experiment === 81 81 82 82 … … 86 86 * all the nodes need to be on the same Layer 2 Domain and IP Subnet (172.16.1.0/24) 87 87 88 So let's go ahead and draw our topology:89 88 {{{ 90 89 #!html 90 So let's go ahead and draw our topology: 91 91 <table> 92 92 <tr><td> … … 118 118 </ul> 119 119 </li> 120 120 <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 122 </li> 121 123 </ol> 122 124 </td> … … 124 126 </table> 125 127 }}} 126 Now based on the loaded node types we will create our Hadoop cluster. For the cluster we need 127 * 1 hadoop master 128 * 2 or more workers 129 * all the nodes need to be on the same Layer 2 Domain 130 131 Let's design our topology. 132 {{{ 133 #!html 134 <table> 135 <tr><td> 136 <ol type='a' start='6' > 137 <li>Select the worker node </li> 138 <li>Press the <b>Add Resources</b> button to launch Jacks for this slice.</li> 139 <li>From the <b>Choose RSpec</b> menu (see figure), select the <b>URL</b> button.</li> 140 <li>Enter the URL for the RSpec: <br> 141 <tt> http://geni-images.renci.org/images/tutorials/GENI-hadoop/hadoop_dynamic_request_rspec.xml </tt> <br> 142 then click <b>Select</b>.<br/> 143 </li> 144 <li>After you click <b>Select</b>, a couple of nodes will appear. </li> 145 </ol> 146 </td> 147 </tr> 148 </table> 128 129 == 2.3. Reserve your resources == 130 You can use any tool to reserve this topology, today we are going to use Omni. To do that you will need to: 131 {{{ 132 #!html 133 <table border="0"> 134 135 <tr> 136 <td > 137 138 <ol type="a"> 139 <li>Submit the request by running this omni command in a command line window: <br/> 140 <code>omni createsliver slicename rspec_filename -a AM_NICKNAME </code> 141 </li> 142 <li> Wait until the slice is up </li> 143 144 </ol> 145 146 </td> 147 </tr> 148 149 </table> 150 151 152 153 }}} 149 154 150 155 {{{ … … 352 357 }}} 353 358 354 == 5. Instantiate the Slice ==355 You can use any tool to reserve this topology, today we are going to use Omni. To do that you will need to:356 {{{357 #!html358 <table border="0">359 360 <tr>361 <td >362 363 <ol type="A">364 <li>Download the rspec and save it to your local disk by clicking the download button </li>365 <li>Submit the request by running this omni command in a command line window: <br/>366 <code>omni createsliver slicename rspec_filename -a AM_NICKNAME </code>367 </li>368 <li> Wait until the slice is up </li>369 <li> Log into the master node </li>370 371 </pl>372 373 </td>374 </tr>375 376 377 378 379 380 381 </table>382 383 384 385 }}}386 359 387 360