Changes between Version 10 and Version 11 of GENIExperimenter/Tutorials/HadoopInASlice/ObtainResources
- Timestamp:
- 01/07/14 21:03:45 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/HadoopInASlice/ObtainResources
v10 v11 28 28 <tr> 29 29 <td > 30 <ol start="1">30 <ol type="A"> 31 31 <li> Login to https://portal.geni.net </li> 32 32 <li> Create a new slice in one of your projects </li> 33 33 <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 34 53 <li> Add a VM to your slice. The VM should be placed on the rack assigned to you.</li> 35 54 </ol> … … 44 63 <td > 45 64 46 <ol start="5">65 <ol type="A" start="2"> 47 66 <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 59 77 </pl> 60 78 … … 71 89 </tr> 72 90 91 </table> 92 }}} 93 94 == 3. Create the Hadoop Workers == 95 {{{ 96 #!html 97 <table border="0"> 73 98 74 99 <tr> 75 100 <td > 76 101 77 <ol start="6">102 <ol type="A"> 78 103 <li> Add a 2 more VMs to your assigned rack </li> 79 104 … … 93 118 94 119 95 96 97 98 <tr> 99 <td > 100 101 <ol start="5"> 120 <tr> 121 <td > 122 123 <ol type="A" start="2"> 102 124 <li> Edit each worker’s attributes</li> 103 <ol type=" a">125 <ol type="i"> 104 126 105 127 <li> Names: hadoop-worker-0 and hadoop-worker-1 </li> … … 112 134 <li> Add an execute service to execute the script at boot time. For each VM substitute 113 135 the 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> 136 should 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> 118 138 119 139 … … 134 154 </td> 135 155 </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"> 143 168 <li>Link all three VMs with a broadcast network </li> 144 169 … … 162 187 <td > 163 188 164 <ol start="5">189 <ol type="A" start="2"> 165 190 <li> Click the i button on the link to edit its properties.</li> 166 <ol type=" a">191 <ol type="i"> 167 192 168 193 <li> Ensure the link is named link0</li> … … 192 217 193 218 <ol> 194 <ol type=" a" start="3">219 <ol type="A" start="3"> 195 220 196 221 <li> Switch to the properties tab and set the link’s bandwidth 100Mb/s … … 214 239 215 240 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"> 220 254 <li>Submit the request</li> 221 255 <li> Wait until the slice is up </li>