Changes between Version 12 and Version 13 of GENIExperimenter/Tutorials/RunHelloOmni
- Timestamp:
- 02/15/19 12:21:18 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/RunHelloOmni
v12 v13 10 10 <h3 align="left"> <u>Overview: </u> </h3> 11 11 Welcome to GENI. This page will guide you through your first GENI experiment. <br>This is a very simple tutorial with one server and one client that are connected with a Layer 2 link. <br> 12 <img border="0" src="http ://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Graphics/HelloGENIOverviewDiag.png?format=raw" alt="Hello GENI topology" align="center" height="65" title="Hello GENI topology" />12 <img border="0" src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Graphics/HelloGENIOverviewDiag.png?format=raw" alt="Hello GENI topology" align="center" height="65" title="Hello GENI topology" /> 13 13 </td> 14 14 <td> <pre> </pre> </td> 15 15 <td width="350" valign="top"> 16 16 <h3 align="left"> <u>Prerequisites: </u></h3> 17 For this tutorial you need an active GENI account. If you don't have an account yet <a href="http ://groups.geni.net/geni/wiki/SignMeUp"> sign up! </a>17 For this tutorial you need an active GENI account. If you don't have an account yet <a href="https://groups.geni.net/geni/wiki/SignMeUp"> sign up! </a> 18 18 19 19 </td> … … 45 45 <tr> 46 46 <td valign="top" align="left"> 47 <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/design.png?format=raw" width="150" alt="Design/Setup"></a>47 <img src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/design.png?format=raw" width="150" alt="Design/Setup"></a> 48 48 </td> 49 49 <td> … … 157 157 <br> 158 158 159 In the last line of the output Omni will tell you the name of the file that output is saved at. In the example above this would be <code>rspec-instageni-nysernet-org.xml</code>. This file is a <a href="http ://groups.geni.net/geni/wiki/GENIExperimenter/RSpecs" target="_blank"> SPECification document(RSpec) </a>, and in particular an advertisement RSpec. Open the file that Omni saved and just take a look to see how an advertisement RSpec looks like. In order to see only available resources type:<br>159 In the last line of the output Omni will tell you the name of the file that output is saved at. In the example above this would be <code>rspec-instageni-nysernet-org.xml</code>. This file is a <a href="https://groups.geni.net/geni/wiki/GENIExperimenter/RSpecs" target="_blank"> SPECification document(RSpec) </a>, and in particular an advertisement RSpec. Open the file that Omni saved and just take a look to see how an advertisement RSpec looks like. In order to see only available resources type:<br> 160 160 <code> 161 161 omni listresources -a nysernet-ig --available -o 162 162 </code></li> 163 <li><b>Reserve resources</b> To be able to reserve resources you will need to craft a <a href="http ://groups.geni.net/geni/wiki/GENIExperimenter/RSpecs" target="_blank"> request rspec</a>. For this example we have created the rspec and posted it on the web for you to use. If you want you can view this Rspec <a href="https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/HelloGENI/hellogeni.rspec" target="_blank"> here </a>. Type:<br>163 <li><b>Reserve resources</b> To be able to reserve resources you will need to craft a <a href="https://groups.geni.net/geni/wiki/GENIExperimenter/RSpecs" target="_blank"> request rspec</a>. For this example we have created the rspec and posted it on the web for you to use. If you want you can view this Rspec <a href="https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/HelloGENI/hellogeni.rspec" target="_blank"> here </a>. Type:<br> 164 164 <code> 165 165 omni createsliver -a nysernet-ig < slicename > https://raw.githubusercontent.com/GENI-NSF/geni-tutorials/master/HelloGENI/hellogeni.rspec … … 194 194 <tr> 195 195 <td valign="top" align="left"> 196 <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/execute.png?format=raw" height="150" alt="Execute"></a>196 <img src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/execute.png?format=raw" height="150" alt="Execute"></a> 197 197 </td> 198 198 <td> … … 204 204 <td > 205 205 <ol type="a"> 206 <li> Follow <a href="http ://groups.geni.net/geni/wiki/HowTo/LoginToNodes" target="_blank"> these instructions</a> and log in to the server node. Get the control interface IP address by typing <b> ifconfig</b>. This IP address should be accessible from the internet. In a web browser, type the IP address found from <b>ifconfig</b>.</li>206 <li> Follow <a href="https://groups.geni.net/geni/wiki/HowTo/LoginToNodes" target="_blank"> these instructions</a> and log in to the server node. Get the control interface IP address by typing <b> ifconfig</b>. This IP address should be accessible from the internet. In a web browser, type the IP address found from <b>ifconfig</b>.</li> 207 207 <li> Click the <b>Web Server Statistics</b> link to look at statistics. Refresh the page a couple of times to see how the statistics change as the client requests documents.</li> 208 208 <li> Click the <b>Logs from the iperf Server</b> link to see the statistics from the iperf transfers.</li> … … 215 215 While conducting experiments in GENI, you will often want to run commands directly on the nodes. In this optional step, you will log in to a node and issue commands directly to it. 216 216 <ol type="a"> 217 <li> Follow <a href="http ://groups.geni.net/geni/wiki/HowTo/LoginToNodes" target="_blank"> these instructions</a> and log in to the client node </li>217 <li> Follow <a href="https://groups.geni.net/geni/wiki/HowTo/LoginToNodes" target="_blank"> these instructions</a> and log in to the client node </li> 218 218 <li> When you have successfully logged in, run this command:<br> 219 219 <code> … … 235 235 <tr> 236 236 <td valign="top" align="left"> 237 <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/finish.png?format=raw" width="150" alt="Execute"></a>237 <img src="https://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/finish.png?format=raw" width="150" alt="Execute"></a> 238 238 </td> 239 239 <td> … … 242 242 the resources. In order to cleanup your slice, type :<br> 243 243 <code>omni deletesliver -a nysernet-ig < slicename > </code><br> 244 Wait and after a few moments all the resources will have been released. Notice that your slice is still there. There is no way to delete a slice, it will be removed automatically after its expiration date, but remember that a slice is just an empty container so it doesn't take up any resources.244 Wait and after a few moments, all the resources will have been released. Notice that your slice is still there. There is no way to delete a slice, it will be removed automatically after its expiration date, but remember that a slice is just an empty container so it doesn't take up any resources. 245 245 246 246 … … 253 253 Congratulations! You have finished your first GENI Experiment. Now that you are more familiar with GENI concepts you can: 254 254 * continue with more [wiki:GENIExperimenter/Tutorials advanced tutorials] 255 * learn more about how to use Jacks by following the [http ://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/jacks/GettingStarted_PartI/Procedure A First Experiment Using GENI and Jacks Tool]256 * start with your own experiment. This tutorial showed you the basic steps for running an experiment. Use Jacks to create your own topology, take a look at the [wiki:HowTo/WriteInstallScript instructions about how to write your own install scripts] to automate your exp riment.255 * learn more about how to use Jacks by following the [https://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/jacks/GettingStarted_PartI/Procedure A First Experiment Using GENI and Jacks Tool] 256 * start with your own experiment. This tutorial showed you the basic steps for running an experiment. Use Jacks to create your own topology, take a look at the [wiki:HowTo/WriteInstallScript instructions about how to write your own install scripts] to automate your experiment.