159 | | <li> Add an install service to install following script in /tmp <br> |
160 | | http://geni-images.renci.org/images/GENIWinterCamp/worker.sh </li> |
161 | | <li> Add an execute service to execute the script at boot time. For each VM, substitute |
| 162 | |
| 163 | <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" /> |
| 164 | |
| 165 | <li> Add an Install Script: <br>URL: <code> http://geni-images.renci.org/images/GENIWinterCamp/worker.sh <code> <br> Path: <code> /tmp <code></li> |
| 166 | |
| 167 | <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" /> |
| 168 | |
| 169 | |
| 170 | <li> Add an execute service to execute the script at boot time. For each VM, substitute |
163 | | should be placed on one line) <br> |
164 | | <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> |
165 | | |
166 | | |
167 | | |
| 172 | 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> |
| 173 | |
| 174 | <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" /> |
| 175 | |
| 176 | <li> Repeat for worker 1 </li> |
| 177 | |
| 178 | <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" /> |