Changes between Version 10 and Version 11 of GENIExperimenter/Tutorials/HadoopInASlice/ObtainResources


Ignore:
Timestamp:
01/07/14 21:03:45 (5 years ago)
Author:
pruth@renci.org
Comment:

--

Legend:

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

    v10 v11  
    2828<tr>
    2929       <td >
    30          <ol start="1">
     30         <ol type="A">
    3131        <li> Login to https://portal.geni.net  </li>
    3232        <li> Create a new slice in one of your projects </li>
    3333        <li> Launch flack </li>
     34</td>
     35</tr>
     36</table>
     37}}}
     38
     39
     40
     41
     42
     43== 2. Create the Hadoop Master ==
     44
     45{{{
     46#!html
     47<table border="0">
     48<tr>
     49       <td >
     50         <ol type="A">
     51
     52
    3453        <li> Add a VM to your slice. The VM should be placed on the rack assigned to you.</li>
    3554        </ol>   
     
    4463      <td >
    4564             
    46              <ol start="5">
     65             <ol type="A" start="2">
    4766             <li> Click the i button on the VM to set its properties: </li>
    48                     <ol type="a">
    49                          <li>  Name: hadoop-master </li>
    50                    
    51  <li>  Sliver Type: XOLarge</li>
    52  <li>  Disk Image Name: http://geni-images.renci.org/images/GENIWinterCamp/images/gwc-hadoop.v0.4a.xml</li>
    53  <li>   Disk Image Version: 16ff128df4cf10f2472a8d20796146bcd5a5ddc3</li>
    54  <li>   Add an install service to install following script in \tmp:  <br> http://geni-images.renci.org/images/GENIWinterCamp/master.sh</li>
    55  <li>  Add an execute service to execute the script at boot time<br>
    56 chmod +x /tmp/master.sh; /tmp/master.sh</li>
    57 
    58 </ol>
     67<ol type="i">
     68
     69 <li>                   Name: hadoop-master </li>
     70 <li>                     Sliver Type: XOLarge </li>
     71  <li>                   Disk Image Name: http://geni-images.renci.org/images/GENIWinterCamp/images/gwc-hadoop.v0.4a.xml </li>
     72   <li>                  Disk Image Version: 16ff128df4cf10f2472a8d20796146bcd5a5ddc3  </li>
     73  <li>                  Add an install service to install following script in \tmp:  <br><code> http://geni-images.renci.org/images/GENIWinterCamp/master.sh  <code></li>
     74  <li>                 Add an execute service to execute the script at boot time:  <br> <code> chmod +x /tmp/master.sh; /tmp/master.sh </code></li>
     75</ol>
     76
    5977             </pl>
    6078           
     
    7189    </tr>
    7290
     91</table>
     92}}}
     93
     94== 3. Create the Hadoop Workers ==
     95{{{
     96#!html
     97<table border="0">
    7398
    7499 <tr>
    75100      <td >
    76101             
    77              <ol start="6">
     102             <ol type="A">
    78103             <li> Add a 2 more VMs to your assigned rack </li>
    79104                 
     
    93118
    94119
    95 
    96 
    97 
    98 <tr>
    99       <td >
    100              
    101              <ol start="5">
     120<tr>
     121      <td >
     122             
     123             <ol type="A" start="2">
    102124             <li> Edit each worker’s attributes</li>
    103                     <ol type="a">
     125                    <ol type="i">
    104126
    105127<li>  Names: hadoop-worker-0 and hadoop-worker-1 </li>
     
    112134<li>  Add an execute service to execute the script at boot time. For each VM substitute
    113135the VM’s name for where the following uses “hadoop-master”. (Note: the following
    114 should be placed on one line)
    115 chmod +x /tmp/worker.sh; /tmp/worker.sh \
    116 $hadoop-master.Name() $hadoop-master.IP("link0") \
    117 $hadoop-worker-0.Name() $hadoop-worker-0.IP("link0")    </li>
     136should be placed on one line) <br>
     137<code> chmod +x /tmp/worker.sh; /tmp/worker.sh $hadoop-master.Name() $hadoop-master.IP("link0")  $hadoop-worker-0.Name() $hadoop-worker-0.IP("link0")  </code>  </li>
    118138
    119139
     
    134154       </td>
    135155    </tr>
    136 
    137 
    138 
    139 <tr>
    140       <td >
    141              
    142              <ol start="6">
     156</table>
     157}}}
     158
     159== 4. Create the Network ==
     160
     161{{{
     162#!html
     163<table border="0">
     164<tr>
     165      <td >
     166             
     167             <ol type="A">
    143168             <li>Link all three VMs with a broadcast network </li>
    144169                 
     
    162187      <td >
    163188             
    164              <ol start="5">
     189             <ol type="A" start="2">
    165190             <li> Click the i button on the link to edit its properties.</li>
    166                     <ol type="a">
     191                    <ol type="i">
    167192
    168193<li> Ensure the link is named link0</li>
     
    192217             
    193218              <ol>
    194                     <ol type="a" start="3">
     219                    <ol type="A" start="3">
    195220
    196221<li> Switch to the properties tab and set the link’s bandwidth 100Mb/s
     
    214239
    215240
    216 <tr>
    217       <td >
    218              
    219              <ol start="6">
     241</table>
     242}}}
     243
     244== 5. Instantiate the Slice  ==
     245
     246{{{
     247#!html
     248<table border="0">
     249
     250<tr>
     251      <td >
     252             
     253             <ol type="A">
    220254             <li>Submit the request</li>
    221255<li> Wait until the slice is up </li>