207 | | |
208 | | |
209 | | |
210 | | === 3.3. Modify the RSpec to automatically download scripts and execute commands === |
211 | | In the RSpec you have just downloaded there is a tarball with the necessary files and a script that will automatically run when the nodes boot-up.[[br]] |
212 | | For more information about scripts, refer to [http://groups.geni.net/geni/wiki/HowTo/WriteInstallScript Write Install Script] |
213 | | |
214 | | {{{ |
215 | | #!html |
216 | | <table style="width:100%"> |
217 | | <tr><td> |
218 | | <ol type='a'> |
219 | | <li>Click on <q>Experimenter</q> node and scroll down to add the link to the tarball (see figure).</li> |
220 | | <li>Go ahead and add the link to the tarball in the URL field and the installation path:<br> |
221 | | <i>http://192.1.242.151/files/install-script.tar.gz</i><br> |
222 | | <i>/local</i></li> |
223 | | <li>In the <q>Execute Command</q> box, type:<br> |
224 | | <i>sh /local/nfd_script.sh</li> |
225 | | </ol> |
226 | | </td> |
227 | | <td align="right"> |
228 | | <img src="http://192.1.242.151/images/ExecuteCommand.png?format=raw" width='200'/> |
229 | | <br/> |
230 | | <b>Figure 3-4</b> Automating your configuration. |
231 | | </td></tr> |
232 | | </table> |
233 | | |
234 | | <table><tr> |
235 | | <td> |
236 | | <ol type='a' start=2> |
237 | | <li>Use the <b>Download</b> button (in the lower left part of the screen next to Save RSpec) to |
238 | | make a local copy of your RSpec with the name <tt>rspec.xml</tt>. We'll use this in the next step to |
239 | | demonstrate how other client tools also use RSpec files to communicate |
240 | | requests to aggregate managers.</li> |
241 | | </ol> |
242 | | </td></tr> |
243 | | </table> |
244 | | }}} |
245 | | |
246 | | |
247 | | |
248 | | === 3.4. Export your RSpec === |
| 207 | === 3.3. Export your RSpec === |